Browse Source

added wysiwyg styles

Bachir Soussi Chiadmi 7 years ago
parent
commit
4d13316919

+ 54 - 1
sites/all/themes/figureslibres/clameurs/css/dist/styles.css

@@ -1,3 +1,4 @@
+@charset "UTF-8";
 /**
  * Primary Drupal Styles
  * Author: Bachir Soussi Chiadmi
@@ -552,7 +553,7 @@ input {
 
 body.node-type-page h2 {
   font-size: 1.5em;
-  font-size: 400; }
+  font-weight: 400; }
 
 body.node-type-page h3 {
   font-size: 2em;
@@ -595,6 +596,58 @@ body.node-type-page a {
 #content {
   padding: 1em; }
 
+.mceContentBody div {
+  border: 1px dashed #D4D4D4; }
+
+.mceContentBody p:after, .mceContentBody ul:after {
+  content: "¬";
+  color: red; }
+
+.mceContentBody h1:before, .mceContentBody h2:before, .mceContentBody h3:before, .mceContentBody h4:before, .mceContentBody h5:before, .mceContentBody h6:before {
+  color: blue;
+  font-weight: normal;
+  font-size: 10px;
+  vertical-align: super; }
+
+.mceContentBody h1:before {
+  content: "h1 "; }
+
+.mceContentBody h2:before {
+  content: "h2 "; }
+
+.mceContentBody h3:before {
+  content: "h3 "; }
+
+.mceContentBody h4:before {
+  content: "h4 "; }
+
+.mceContentBody h5:before {
+  content: "h5 "; }
+
+.mceContentBody h6:before {
+  content: "h6 "; }
+
+.mceContentBody p {
+  border: 1px dashed #848484; }
+
+.mceContentBody div {
+  border: 1px solid #1A1A1A; }
+
+.mceContentBody h2 {
+  font-size: 1.5em;
+  font-weight: 400; }
+
+.mceContentBody h3 {
+  font-size: 2em;
+  font-weight: 300;
+  margin: 1em 0 0; }
+
+.mceContentBody p {
+  line-height: 1.3; }
+
+.mceContentBody a {
+  color: #20c498; }
+
 /** Messages. */
 div.messages {
   padding: 9px;

+ 15 - 1
sites/all/themes/figureslibres/clameurs/css/dist/wysiwyg.css

@@ -1,7 +1,7 @@
 @charset "UTF-8";
 /* LISIBILITY */
 * {
-  font-size: 14px; }
+  font-size: 16px; }
 
 div {
   border: 1px dashed #D4D4D4; }
@@ -159,3 +159,17 @@ img, p, div {
     img.quart-center:before, p.quart-center:before, div.quart-center:before {
       content: " quart-center ";
       right: 0; }
+
+h2 {
+  font-size: 1.5em;
+  font-size: 400; }
+
+h3 {
+  font-size: 2em;
+  font-weight: 300; }
+
+p {
+  line-height: 1.3; }
+
+a {
+  color: #20c498; }

+ 42 - 2
sites/all/themes/figureslibres/clameurs/css/styles.scss

@@ -72,7 +72,7 @@ input{font-family: Arial, "MS Trebuchet", sans-serif; font-size:0.8em;}
 // / /__/ /_/ / / /_/ / /  (__  )
 // \___/\____/_/\____/_/  /____/
 $vert 	: #20c498;
-// $bleu 	: #1f04a1;
+$bleu 	: #1f04a1;
 // $rouge	: #fb3f08;
 
 $coul0	: #2f82ff;
@@ -746,7 +746,7 @@ $header_height_large:400px;
 body.node-type-page{
   h2{
     font-size: 1.5em;
-    font-size: 400;
+    font-weight: 400;
   }
   h3{
     font-size: 2em;
@@ -799,7 +799,47 @@ body.node-type-page{
 
 #content{padding:1em;}
 
+//  _       __           _
+// | |     / /_  _______(_)      ____  ______ _
+// | | /| / / / / / ___/ / | /| / / / / / __ `/
+// | |/ |/ / /_/ (__  ) /| |/ |/ / /_/ / /_/ /
+// |__/|__/\__, /____/_/ |__/|__/\__, /\__, /
+//        /____/                /____//____/
+.mceContentBody{
+
+  div{border: 1px dashed #D4D4D4;}
+  p:after, ul:after{content:"¬"; color:red;}
+
+  h1:before, h2:before, h3:before, h4:before, h5:before, h6:before{
+  	 color:blue; font-weight: normal; font-size:10px; vertical-align: super;
+  }
+
+  h1:before{content:"h1 ";}
+  h2:before{content:"h2 ";}
+  h3:before{content:"h3 ";}
+  h4:before{content:"h4 ";}
+  h5:before{content:"h5 ";}
+  h6:before{content:"h6 ";}
+
+  p{  border: 1px dashed #848484; }
+  div{border: 1px solid #1A1A1A;}
 
+  h2{
+    font-size: 1.5em;
+    font-weight: 400;
+  }
+  h3{
+    font-size: 2em;
+    font-weight: 300;
+    margin:1em 0 0;
+  }
+  p{
+    line-height: 1.3;
+  }
+  a{
+    color: $vert;
+  }
+}
 
 /** Messages. */
 

+ 21 - 1
sites/all/themes/figureslibres/clameurs/css/wysiwyg.scss

@@ -1,6 +1,9 @@
 /* LISIBILITY */
+$vert 	: #20c498;
+$bleu 	: #1f04a1;
 
-*{font-size:14px;}
+
+*{font-size:16px;}
 div{border: 1px dashed #D4D4D4;}
 p:after, ul:after{content:"¬"; color:red;}
 
@@ -65,3 +68,20 @@ img,p,div{ position:relative;
 
 
 }
+
+
+h2{
+	font-size: 1.5em;
+	font-size: 400;
+}
+h3{
+	font-size: 2em;
+	font-weight: 300;
+	// margin:1em 0 0;
+}
+p{
+	line-height: 1.3;
+}
+a{
+	color: $vert;
+}

+ 7 - 4
sites/all/themes/figureslibres/clameurs/images/fond-0.svg

@@ -16,7 +16,10 @@
    version="1.1"
    id="svg7293"
    inkscape:version="0.92.1 r"
-   sodipodi:docname="fond-0.svg">
+   sodipodi:docname="fond-0.svg"
+   inkscape:export-filename="/home/bach/Sites/clameurs.org/sites/all/themes/figureslibres/clameurs/images/fond-theme-0.png"
+   inkscape:export-xdpi="150"
+   inkscape:export-ydpi="150">
   <defs
      id="defs7287">
     <pattern
@@ -353,9 +356,9 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="4.060994"
-     inkscape:cx="207.91259"
-     inkscape:cy="456.97608"
+     inkscape:zoom="0.7178891"
+     inkscape:cx="562.21467"
+     inkscape:cy="343.72171"
      inkscape:document-units="mm"
      inkscape:current-layer="layer1"
      showgrid="false"

BIN
sites/all/themes/figureslibres/clameurs/images/fond-trame-logo.xcf