From 0f7a9ed1d6b812ade65454fc87062a870cb971fe Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 14 Jan 2018 12:03:01 +0100 Subject: CSS optimisation --- design/contenu.css | 11 +++++------ design/design.css | 1 - design/sommaire.css | 3 --- 3 files changed, 5 insertions(+), 10 deletions(-) (limited to 'design') diff --git a/design/contenu.css b/design/contenu.css index 9f5777e..dd6c0a8 100755 --- a/design/contenu.css +++ b/design/contenu.css @@ -8,12 +8,8 @@ section p:nth-of-type(2) { font-size: 0.65em; color: #944040; } -section p:first-of-type { - margin-top: 2.5%; - padding-left: 6%; - text-indent: 5%; - font-size: 0.65em; - color: #944040; +section p:nth-of-type(1) > img { + height:100px; } article { @@ -28,6 +24,9 @@ article padding-left:0%; padding: 1.6em 1.6em; } +article img { + float: right; +} @media only screen and (min-width: 768px) { article { diff --git a/design/design.css b/design/design.css index edd2f3f..196891d 100755 --- a/design/design.css +++ b/design/design.css @@ -19,7 +19,6 @@ body } .fr { - float: right; } .fl { diff --git a/design/sommaire.css b/design/sommaire.css index 50fbdfe..6dea09c 100755 --- a/design/sommaire.css +++ b/design/sommaire.css @@ -1,11 +1,9 @@ - #sommaire { height: 40px; width: auto; text-align: center; } - @media only screen and (min-width: 768px) { #sommaire { padding-left: 290px; @@ -42,7 +40,6 @@ text-align:center; display: block; /*background: none repeat scroll 0% 0% #F5F6F5;*/ - position:relative; width:100%; height:auto; text-rendering: optimizelegibility; -- cgit v1.2.3-54-g00ecf