commit b285de20254d2b83164ef3e99e796e2edb1055cf parent c8e6c084440c21c3ec8d498cba23876d0feb9783 Author: cipher <haris@2f30.org> Date: Wed, 25 Dec 2013 20:33:19 +0200 fixed menu for mobile devices Diffstat:
M | output/style.css | | | 19 | +++++++++++++++++++ |
M | output/style.css.light | | | 19 | +++++++++++++++++++ |
2 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/output/style.css b/output/style.css @@ -125,3 +125,22 @@ footer { margin: 0 auto; color: #e8e8e8; } + +@media screen and (max-width: 480px) { + .menu li { + display: list-item; + margin-left: -40px; + list-style: none; + text-align: center; + padding-top: 10px; + text-transform: uppercase; + } + + .menu li a { + border: none; + } + + .menu li a:hover { + border: none; + } +} diff --git a/output/style.css.light b/output/style.css.light @@ -125,3 +125,22 @@ footer { margin: 0 auto; color: #e8e8e8; } + +@media screen and (max-width: 480px) { + .menu li { + display: list-item; + margin-left: -40px; + list-style: none; + text-align: center; + padding-top: 10px; + text-transform: uppercase; + } + + .menu li a { + border: none; + } + + .menu li a:hover { + border: none; + } +}