Skip to content

Commit 1034bf5

Browse files
committed
fix caption size
1 parent cb9f9e5 commit 1034bf5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

83-full screen image slider/style.css

+9-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ body {
1010
font-family: "Lexend", sans-serif;
1111
background-color: #362a2b;
1212
color: #e5ebf3;
13-
line-height: 1.6;
1413
}
1514

1615
.slider {
@@ -42,12 +41,14 @@ body {
4241
opacity: 0;
4342
background-color: rgba(229, 235, 243, 0.8);
4443
color: #495b73;
45-
padding: 35px;
44+
padding: 1rem;
45+
line-height: 1.3;
4646
}
4747

4848
.slide .content h1 {
4949
margin-bottom: 0.625rem;
5050
color: #362a2b;
51+
font-size: 1.5rem;
5152
}
5253

5354
.slide.current .content {
@@ -118,6 +119,12 @@ body {
118119
bottom: 70px;
119120
left: -600px;
120121
width: 600px;
122+
padding: 2rem;
123+
line-height: 1.6;
124+
}
125+
126+
.slide .content h1 {
127+
font-size: 2rem;
121128
}
122129

123130
.slide.current .content {

0 commit comments

Comments
 (0)