From e4e266b29f59e3847207eaa51e095f807e11877d Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 7 Feb 2018 16:39:28 +0100 Subject: New design --- design/contenu.css | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) (limited to 'design/contenu.css') diff --git a/design/contenu.css b/design/contenu.css index dd6c0a8..a20633d 100755 --- a/design/contenu.css +++ b/design/contenu.css @@ -1,21 +1,28 @@ -section p { - text-indent: 10%; -} -section p:nth-of-type(2) { +section > p:nth-of-type(2) { margin-top: 2.5%; padding-left: 6%; - text-indent: 5%; - font-size: 0.65em; - color: #944040; + font-size:0.85em; + color: #A55; +} +article h1 { + font-size:2em; + color: #A5B; +} +article h2 { + font-size:1.5em; + color: #BB8; } -section p:nth-of-type(1) > img { +article h3 { + font-size:1.25em; + color: #AC4; +} +section > p:nth-of-type(1) > img { height:100px; } article { margin-right: 2%; margin-left: 3%; - text-indent: 3%; float: left; width: 83%; background: #FFF; @@ -23,6 +30,7 @@ article padding-right:0%; padding-left:0%; padding: 1.6em 1.6em; + font-family: Merriweather, "Liberation Serif", "Segoe UI"; } article img { float: right; @@ -32,10 +40,10 @@ article img { article { float: none; margin-right: 7%; - margin-left: 390px; + margin-left: 300px; width: auto; - font-size:1.3em; + font-size:1em; padding-right:5%; padding-left:5%; @@ -48,11 +56,10 @@ article img { } @media only screen and (min-width: 768px) { - section p:first-of-type { + section > p:first-of-type { margin-top: 2.5%; margin-bottom: 2.5%; padding-left: 6%; - text-indent: 5%; font-size: 0.65em; color: #944040; } @@ -64,4 +71,3 @@ article img { width:100px; height:100px; } - -- cgit v1.2.3-54-g00ecf