Added support for small landscape screens
This commit is contained in:
parent
7f24ed8362
commit
c62f080665
1 changed files with 14 additions and 2 deletions
|
@ -68,7 +68,7 @@ footer a:active {
|
|||
color: #ffffffde;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
@media screen and ((min-width: 1024px) or (orientation: landscape)) {
|
||||
.left, .right {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
|
@ -83,8 +83,20 @@ footer a:active {
|
|||
}
|
||||
|
||||
.left h1 {
|
||||
font-size: 4rem;
|
||||
text-align: right;
|
||||
padding-right: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
.left h1 {
|
||||
font-size: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ((max-width: 700px) and (orientation: landscape)) {
|
||||
.left h1 {
|
||||
font-size: 2rem;
|
||||
padding-right: .5em;
|
||||
}
|
||||
}
|
Reference in a new issue