Verified Commit b601608f authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Make the slider responsive to hold a steady aspect ratio of 2.5

parent 394ac9c8
...@@ -150,7 +150,35 @@ body { ...@@ -150,7 +150,35 @@ body {
.home { .home {
#page-header { #page-header {
height: 360px; height: 0;
padding-bottom: 21.5%;
position: relative;
#announcements-slider {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
}
}
@media(max-width: 991px) {
.home {
#page-header {
height: 0;
padding-bottom: 40%;
position: relative;
#announcements-slider {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
}
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment