summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-01-14 12:03:01 +0100
committerache <ache@ache.one>2018-01-14 12:03:01 +0100
commit0f7a9ed1d6b812ade65454fc87062a870cb971fe (patch)
treeb05b904e61850862c7a4681184141679d2b48a98
parentMimify of the SVG files (diff)
CSS optimisation
-rwxr-xr-xdesign/contenu.css11
-rwxr-xr-xdesign/design.css1
-rwxr-xr-xdesign/sommaire.css3
3 files changed, 5 insertions, 10 deletions
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;