Skip to content

Commit 9834c05

Browse files
spoonrefrickr
authored andcommitted
Add responsive font sizing for the index page caption box (OperationCode#528)
Add responsive font sizing for the index page caption box
1 parent 8266c9f commit 9834c05

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

app/assets/stylesheets/application.css.scss

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,24 @@ nav ul li a {
2222
// Fix vertical alignment in main page slider
2323
.slider .slides li .caption {
2424
color: #fff;
25-
left: 15%;
25+
left: 10%;
2626
opacity: 0;
2727
position: absolute;
2828
top: 40% !important;
29-
width: 65%;
29+
width: 80%;
3030
text-shadow: 1px 1px 7px #000000;
31+
@media only screen and (min-width: 992px){
32+
left: 15%;
33+
width: 65%;
34+
}
35+
h3{
36+
font-size: 2.2rem;
37+
line-height:120%;
38+
@media only screen and (min-width: 992px){
39+
font-size: 2.92rem;
40+
line-height:110%;
41+
}
42+
}
3143
}
3244

3345
// Hacks to use fa icons with materialize

0 commit comments

Comments
 (0)