Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
b601608f
Verified
Commit
b601608f
authored
Dec 16, 2018
by
Sébastiaan Versteeg
Browse files
Make the slider responsive to hold a steady aspect ratio of 2.5
parent
394ac9c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/thaliawebsite/static/css/base.scss
View file @
b601608f
...
...
@@ -150,7 +150,35 @@ body {
.home
{
#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
;
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment