FIX: banner topic's max-width & max-height on both mobile & desktop

This commit is contained in:
Régis Hanol 2014-08-28 16:15:48 +02:00
parent a1244043d3
commit 38f52f0f8e
3 changed files with 12 additions and 10 deletions

View File

@ -8,6 +8,7 @@
background: scale-color($tertiary, $lightness: 90%);
@include box-shadow(0 1px 2px scale-color($tertiary, $lightness: 70%));
z-index: 501;
overflow: auto;
&.overlay {
position: fixed;

View File

@ -4,14 +4,6 @@
#banner {
margin-bottom: 10px;
}
@media all
and (min-width: 1090px) {
width: 1090px;
}
@media all
and (max-width: 1090px) {
width: 100%;
max-width: 1090px;
max-height: 250px;
}

View File

@ -4,4 +4,13 @@
#banner {
margin: 10px;
@media all and (max-height: 499px) {
max-height: 100px;
}
@media all and (min-height: 500px) {
max-height: 180px;
}
}