From 12e832698d4d27aef791061f9d9e0d6860da6749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 10 Nov 2014 09:57:00 +0100 Subject: [PATCH] wcs: add mobile css (#5911) --- wcs/montpellier2/mobile.css | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 wcs/montpellier2/mobile.css diff --git a/wcs/montpellier2/mobile.css b/wcs/montpellier2/mobile.css new file mode 100644 index 0000000..fa5ac71 --- /dev/null +++ b/wcs/montpellier2/mobile.css @@ -0,0 +1,39 @@ +div#top { + background: url(logo-agglo-50p.png) no-repeat 5px 0; +} + +a#menu { + display: none; +} + +div#top h1 a { + color: #E87B1C; +} + + +ul#categories li a { + font-weight: bold; + color: white; + text-decoration: none; + border: 1px solid white; +} + +div#services > ul > li:nth-child(5n), +ul#categories li:nth-child(5n) { background-color: #F68423; } +div#services > ul > li:nth-child(5n+1), +ul#categories li:nth-child(5n+1) { background-color: #D90024; } +div#services > ul > li:nth-child(5n+2), +ul#categories li:nth-child(5n+2) { background-color: #1F4791; } +div#services > ul > li:nth-child(5n+3), +ul#categories li:nth-child(5n+3) { background-color: #A3D117; } +div#services > ul > li:nth-child(5n+4), +ul#categories li:nth-child(5n+4) { background-color: #A8599F; } + +#content > h2, +div.category h3 { + background: #F68423; +} + +div#services > ul strong a { + color: white; +}