Mercurial > hg > mgallery
comparison basic.css @ 228:a0a1fe8d2fe0
Commonize some CSS settings for mobile landscape/portrait.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 26 Mar 2018 15:01:11 +0300 |
parents | a57b5fa51e07 |
children | 9dcfd808c092 |
comparison
equal
deleted
inserted
replaced
227:a57b5fa51e07 | 228:a0a1fe8d2fe0 |
---|---|
427 */ | 427 */ |
428 @media (orientation: landscape) { | 428 @media (orientation: landscape) { |
429 body { | 429 body { |
430 font-size: 18px; | 430 font-size: 18px; |
431 } | 431 } |
432 | |
433 #pageInfoButton, #pageUpNaviButton { | |
434 font-size: 1.5em; | |
435 bottom: 3em; | |
436 } | |
437 } | 432 } |
438 | 433 |
439 | 434 |
440 @media (orientation: portrait) { | 435 @media (orientation: portrait) { |
441 body { | 436 body { |
448 | 443 |
449 #pageInfoHeader, h1 { | 444 #pageInfoHeader, h1 { |
450 font-size: 1.25em; | 445 font-size: 1.25em; |
451 } | 446 } |
452 | 447 |
453 #pageInfoButton, #pageUpNaviButton { | 448 } |
454 font-size: 2em; | 449 |
455 bottom: 2.5em; | 450 #pageInfoButton, #pageUpNaviButton { |
456 } | 451 font-size: 1.5em; |
452 bottom: 3em; | |
457 } | 453 } |
458 | 454 |
459 /* | 455 /* |
460 * Common rules | 456 * Common rules |
461 */ | 457 */ |