X-Git-Url: https://nos-oignons.net/gitweb/website.git/blobdiff_plain/3ab477456949864ea8005ee4d6963fa117ec17ae..dfbd3f10db06aa20d96e5ea6159a3dfb8ee27bec:/assets/home.css diff --git a/assets/home.css b/assets/home.css index 8f339bb..7255268 100644 --- a/assets/home.css +++ b/assets/home.css @@ -1,10 +1,16 @@ - -#logo { - width: auto; - height: 200px; - background: url(home-logo.png) no-repeat -490px center; +@media screen and (min-width: 45em) { + #logo { + width: auto; + height: 200px; + background: url(home-logo.png) no-repeat -490px center; + } + .body-wrapper > header {background: none;} +} +@media screen and (min-width: 45em) and (max-width: 900px) { + #logo { + background-position: right center; + } } -.body-wrapper > header {background: none;} h1.title {display: none;} @@ -15,6 +21,14 @@ h1.title {display: none;} text-align: right; margin-top: 1em; } +@media screen and (max-width: 45em) { + #logo-home-subtext-fr, + #logo-home-subtext-en { + font-size: 1.3em; + text-align: center; + } +} + #logo-home-subtext-fr { } #logo-home-subtext-en {