Skip to content

Commit 0ef446e

Browse files
Modified font size and line height for image titles in passion / dedication section not to cover too much of the photo on mobiles.
1 parent 7ef15ec commit 0ef446e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

_sass/about.scss

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,17 @@
135135

136136
.about__img-top-title {
137137
@extend .about__paragraph-title-light;
138-
font-size: 2em;
138+
font-size: 1.25em;
139139
text-align: center;
140140
margin-bottom: 0;
141-
line-height: 2em;
141+
line-height: 1.25em;
142+
}
143+
144+
@media (min-width: 567px){
145+
.about__img-top-title {
146+
font-size: 1.5em;
147+
line-height: 1.5em;
148+
}
142149
}
143150

144151
.about__img-bot-container {

0 commit comments

Comments
 (0)