[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / prive / themes / spip / typo.css.html
index 25cf164..554d116 100644 (file)
        ATTENTION: il faut absolument le charset sinon Firefox croit que
        c'est du text/html !
        <style>
-]
-#CACHE{3600*100,cache-client}
-#HTTP_HEADER{Content-Type: text/css; charset=iso-8859-15}
-#HTTP_HEADER{Vary: Accept-Encoding}
-
-#SET{claire,##ENV{couleur_claire,edf3fe}}
-#SET{foncee,##ENV{couleur_foncee,3874b0}}
-#SET{left,#ENV{ltr}|choixsiegal{left,left,right}}
-#SET{right,#ENV{ltr}|choixsiegal{left,right,left}}
-#SET{rtl,#ENV{ltr}|choixsiegal{left,'',_rtl}}
 
-[(#REM)<style>
 /* --------------------------------------------------------------
 
    typo.css.html
@@ -67,27 +56,27 @@ h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
 h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
 h6 { font-size: 1em; font-weight: bold; }*/
 
-#SET{coeff,#GET{line-height}|plus{2}|div{2}|div{#GET{line-height}}}
-#SET{coeffinv,#VAL{1}|div{#GET{coeff}}}
-h1,.h1 {[ font-size: (#GET{line-height}|mult{#GET{coeff}})em];[ line-height: (#GET{coeffinv}|mult{2})em];[ margin-bottom: (#GET{coeffinv})em;]}
-h2,.h2 {[ font-size: (#GET{line-height}|mult{1})em]; line-height: 1; margin-bottom: 1em; font-weight: bold;}
-#SET{coeff,#GET{line-height}|plus{1}|div{2}|div{#GET{line-height}}}
-#SET{coeffinv,#VAL{1}|div{#GET{coeff}}}
-h3,.h3 {[ font-size: (#GET{line-height}|mult{#GET{coeff}})em];[ line-height: (#GET{coeffinv})em];[ margin-bottom: (#GET{coeffinv})em;]font-weight: bold; }
-#SET{coeff,#GET{line-height}|plus{3}|div{4}|div{#GET{line-height}}}
-#SET{coeffinv,#VAL{1}|div{#GET{coeff}}}
-h4,.h4,caption,.caption-wrap {[ font-size: (#GET{line-height}|mult{#GET{coeff}})em];[ line-height: (#GET{coeffinv})em];[ margin-bottom: (#GET{coeffinv})em;]font-weight: bold; }
+#SET{coeff,#GET{line-height}|strplus{2}|strdiv{2}|strdiv{#GET{line-height}}}
+#SET{coeffinv,#VAL{1}|strdiv{#GET{coeff}}}
+h1,.h1 {[ font-size: (#GET{line-height}|strmult{#GET{coeff}})em];[ line-height: (#GET{coeffinv}|strmult{2})em];[ margin-bottom: (#GET{coeffinv})em;]}
+h2,.h2 {[ font-size: (#GET{line-height}|strmult{1})em]; line-height: 1; margin-bottom: 1em; font-weight: bold;}
+#SET{coeff,#GET{line-height}|strplus{1}|strdiv{2}|strdiv{#GET{line-height}}}
+#SET{coeffinv,#VAL{1}|strdiv{#GET{coeff}}}
+h3,.h3 {[ font-size: (#GET{line-height}|strmult{#GET{coeff}})em];[ line-height: (#GET{coeffinv})em];[ margin-bottom: (#GET{coeffinv})em;]font-weight: bold; }
+#SET{coeff,#GET{line-height}|strplus{3}|strdiv{4}|strdiv{#GET{line-height}}}
+#SET{coeffinv,#VAL{1}|strdiv{#GET{coeff}}}
+h4,.h4,caption,.caption-wrap {[ font-size: (#GET{line-height}|strmult{#GET{coeff}})em];[ line-height: (#GET{coeffinv})em];[ margin-bottom: (#GET{coeffinv})em;]font-weight: bold; }
 h5,.h5 { font-size: 1em; font-weight: bold; margin-bottom: #GET{margin-bottom}; }
 h6,.h6 { font-size: 1em; font-weight: bold; }
 
-#haut h1,h1.grostitre {margin-top:[(#ENV{margin-bottom}|mult{1.5}|div{2}|div{#GET{line-height}})em]}
+#haut h1,h1.grostitre {margin-top:[(#ENV{margin-bottom}|strmult{1.5}|strdiv{2}|strdiv{#GET{line-height}})em]}
 
 /* Enrichissements typographiques */
 strong, b { font-weight: bold; }
 em, i { font-style: italic; }
 small, .small { font-size: 80%; }
 big, .big { font-size: 150%; }
-abbr[title], acronym[title] { border-bottom: .1em dotted; text-decoration: none; cursor: help; }
+abbr[title], acronym[title] { border-bottom: .1em dotted;  text-decoration: none; cursor: help; }
 dfn { font-weight: bold; font-style: italic; }
 del { text-decoration: line-through; }
 ins { text-decoration: none; background-color: #FFC; }
@@ -110,7 +99,7 @@ table { margin-bottom: #GET{margin-bottom}; width: 100%; }
 th { font-weight: bold; }
 thead th {color:inherit; background: [#(#ENV{claire}|couleur_eclaircir{0.4})]; }
 table.spip td, table.spip th, /* annuler spip-styles */
-th,td,caption {[ padding: (#GET{line-height}|div{2})em;] }
+th,td,caption {[ padding: (#GET{line-height}|strdiv{2})em;] }
 
 tbody tr:nth-child(even) td,tbody tr:nth-child(even) th,
 tbody tr.even td,tbody tr.even th { background: [#(#ENV{claire}|couleur_eclaircir{0.80})]; }
@@ -136,7 +125,7 @@ p, .p, dl, dd, blockquote, address, pre, table, fieldset { margin-bottom: #GET{m
 /* Liens */
 a {}
 a:hover {}
-a[hreflang]:after { content: "\0000a0(" attr(hreflang) ")"; }
+a[hreflang]:after { content: "\0000a0[" attr(hreflang) "]"; display: inline-block;}
 .on { font-weight: bold; }
 
 /* end */
@@ -151,7 +140,7 @@ ul.spip ul, #conteneur ul.spip ul { list-style: circle; }
 ol.spip, #conteneur ol.spip { list-style: decimal; margin-bottom:#ENV{margin-bottom};}
 
 ul.spip li, ol.spip li, #conteneur ul.spip li  {margin-#ENV{left}:#ENV{text-indent};}
-ul.spip li li, ol.spip li li, #conteneur ul.spip li li {margin-#ENV{left}:[(#ENV{text-indent}|div{2})px];}
+ul.spip li li, ol.spip li li, #conteneur ul.spip li li {margin-#ENV{left}:[(#ENV{text-indent}|strdiv{2})px];}
 
 /* Citations, code et poesie */
 /*blockquote.spip { margin: 2em 0; padding-left: 1em; border-left: 0.30em solid; }
@@ -171,7 +160,7 @@ table.spip th, table.spip td { /*padding: 0.20em 0.40em; text-align: left; */bor
 table.spip td.numeric {text-align:right;}
 
 /* Logos, documents et images */
-img, .spip_logos { margin: 0; padding: 0; border: 0; }
+img, .spip_logo { margin: 0; padding: 0; border: 0; }
 .spip_documents { text-align: center; }
 .spip_documents p { margin: 0.10em; padding: 0; }
 .spip_documents_center { display: block; clear: both; width: 100%; margin: [(#ENV{margin-bottom})] auto; }
@@ -193,5 +182,5 @@ a.spip_out,a[rel=external] { color: #009; } /* liens sortants */
 a.spip_url { color: #009; } /* liens url sortants */
 a.spip_glossaire { color: #060; } /* liens vers encyclopedie */
 a.spip_glossaire:hover { text-decoration: underline overline; }
-a[hreflang]:after { content: "\0000a0(" attr(hreflang) ")"; }
+a[hreflang]:after { content: "\0000a0[" attr(hreflang) "]";color:#888; display: inline-block;}
 .on { font-weight: bold; } /* liens exposes */