chohj06ms commited on
Commit
31a4e36
โ€ข
1 Parent(s): df36b5b

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +48 -16
index.html CHANGED
@@ -41,23 +41,55 @@
41
  }
42
 
43
  .slide {
44
- width: 70vw;
45
- height: 60vh;
46
- margin: 0 15px;
47
- background-color: #000; /* Tailwind gray-800 */
48
- color: #FFFFFF;
49
- display: flex;
50
- flex-direction: column;
51
- align-items: center;
52
- justify-content: center;
53
- border-radius: 16px;
54
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
55
- }
 
56
 
57
- .slide img {
58
- max-width: 200px; /* Placeholder image width */
59
- max-height: 200px; /* Placeholder image height */
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
  .slide button {
63
  background-color: #7C3AED; /* Tailwind purple-600 */
 
41
  }
42
 
43
  .slide {
44
+ width: 70vw;
45
+ height: 60vh;
46
+ margin: 0 15px;
47
+ background-color: #000; /* Tailwind gray-800 */
48
+ color: #FFFFFF;
49
+ display: flex;
50
+ flex-direction: column;
51
+ align-items: center;
52
+ justify-content: center;
53
+ border-radius: 16px;
54
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
55
+ overflow: hidden; /* ์ถ”๊ฐ€๋œ ์†์„ฑ */
56
+ }
57
 
58
+ .slide img {
59
+ max-width: 100%; /* ์ˆ˜์ •๋œ ์†์„ฑ */
60
+ max-height: 30vh; /* ์ˆ˜์ •๋œ ์†์„ฑ, ํ™”๋ฉด ๋†’์ด์— ๋งž์ถฐ ์กฐ์ • */
61
+ }
62
+
63
+ /* ๋ฐ˜์‘ํ˜• ๋””์ž์ธ์„ ์œ„ํ•œ ๋ฏธ๋””์–ด ์ฟผ๋ฆฌ */
64
+ @media (max-height: 500px) {
65
+ .slide {
66
+ height: 50vh;
67
+ }
68
+
69
+ .slide img {
70
+ max-height: 20vh;
71
+ }
72
+
73
+ .slide button {
74
+ padding: 8px 16px; /* ๋ฒ„ํŠผ ํฌ๊ธฐ ์กฐ์ • */
75
+ font-size: 0.8em; /* ํ…์ŠคํŠธ ํฌ๊ธฐ ์กฐ์ • */
76
+ }
77
+ }
78
+
79
+ @media (max-height: 400px) {
80
+ .slide {
81
+ height: 40vh;
82
+ }
83
+
84
+ .slide img {
85
+ max-height: 15vh;
86
+ }
87
+
88
+ .slide button {
89
+ padding: 6px 12px;
90
+ font-size: 0.7em;
91
+ }
92
+ }
93
 
94
  .slide button {
95
  background-color: #7C3AED; /* Tailwind purple-600 */