Changeset 32485 in spip-zone


Ignore:
Timestamp:
Oct 29, 2009, 10:06:52 PM (11 years ago)
Author:
marcimat@…
Message:
  • d'autres formats de pdf
  • foncer les textes n&b (bizarrement, les codes n'ont pas l'air de se foncer)
  • rangement des css
Location:
_galaxie_/programmer.spip.org
Files:
6 added
4 edited
3 moved

Legend:

Unmodified
Added
Removed
  • _galaxie_/programmer.spip.org/plugin_documentation/css/a5.css

    r32306 r32485  
    1 body {font-size:60%;}
     1body {font-size:70%;}
     2
     3/*#posts .exemple { background-image:url(images/puzzle_pdf_a5.png);}*/
    24
    35#posts .integrale .couverture h1 {padding:2em 0em 1em;}
  • _galaxie_/programmer.spip.org/plugin_documentation/css/nb.css

    r32306 r32485  
    33/*  ---------------------------------------------------------------- */
    44
    5 a { color: #707070 !important; }
    6 body {color: #333; /* foncer sensiblement pour l'impression */}
     5a { color: #333 !important; }
     6body {color: #111; /* foncer sensiblement pour l'impression */}
    77
    8 #posts .integrale .couverture h1 {color: #7F7F7F;}
     8#posts .integrale .couverture h1 {color: #666;}
    99#posts .integrale .couverture h2 {}
    10 #posts .integrale .couverture h3 {color: #7F7F7F;}
     10#posts .integrale .couverture h3 {color: #666;}
    1111
    12 .spip_code {color:#373737;}
    13 .spip_cadre, .coloration_code .cadre {color:#373737;}
     12.spip_code {color:#222;}
     13.spip_cadre, .coloration_code .cadre {color:#222;}
    1414       
    1515/* GESHI (pour PRINCE) */
    16 .spip2.spip2 .imp {color: #000000 !important;}
    17 .spip2.spip2 .coMULTI {color: #808080 !important;}
    18 .spip2.spip2 .es_h {color: #4D4D4D !important;}
    19 .spip2.spip2 .de1 {color: #909090 !important;}
     16.spip2.spip2 .imp {color: #000 !important;}
     17.spip2.spip2 .coMULTI {color: #666 !important;}
     18.spip2.spip2 .es_h {color: #333 !important;}
     19.spip2.spip2 .de1 {color: #666 !important;} /* commentaires */
    2020.spip2.spip2 .re0,
    2121.spip2.spip2 .re1,
    22 .spip2.spip2 .re2 {color: #4D4D4D !important;}
     22.spip2.spip2 .re2 {color: #333 !important;}
    2323.spip2.spip2 .re10,
    2424.spip2.spip2 .re11,
    25 .spip2.spip2 .re13 {color: #222 !important;}
     25.spip2.spip2 .re13 {color: #111 !important;}
    2626.spip2.spip2 .re12,
    27 .spip2.spip2 .re20 {color: #909090 !important;}
     27.spip2.spip2 .re20 {color: #666 !important;}
    2828.spip2.spip2 .re21,
    29 .spip2.spip2 .re23 {color: #222 !important;}
    30 .spip2.spip2 .re22 {color: #4D4D4D !important;}
     29.spip2.spip2 .re23 {color: #111 !important;}
     30.spip2.spip2 .re22 {color: #333 !important;}
    3131.spip2.spip2 .re30,
    32 .spip2.spip2 .re31 {color: #7F7F7F !important;}
    33 .spip2.spip2 .re40 {color: #666666 !important;}
    34 .spip2.spip2 .re50 {color: #7F7F7F !important;}
     32.spip2.spip2 .re31 {color: #666 !important;}
     33.spip2.spip2 .re40 {color: #333 !important;}
     34.spip2.spip2 .re50 {color: #666 !important;}
    3535
    3636.php.php .imp {color: #000 !important;}
    37 .php.php .kw1 {color: #7F7F7F !important;}
    38 .php.php .kw2 {color: #000000 !important;}
    39 .php.php .kw3 {color: #1A1A1A !important;}
     37.php.php .kw1 {color: #777 !important;}
     38.php.php .kw2 {color: #000 !important;}
     39.php.php .kw3 {color: #111 !important;}
    4040.php.php .co1,
    41 .php.php .co2 {color: #666666 !important;}
     41.php.php .co2 {color: #666 !important;}
    4242.php.php .co3,
    43 .php.php .co4 {color: #4D4D4D !important;}
    44 .php.php .coMULTI {color: #666666 !important;}
     43.php.php .co4 {color: #444 !important;}
     44.php.php .coMULTI {color: #666 !important;}
    4545.php.php .es_h,
    46 .php.php .es_h {color: #4D4D4D !important;}
     46.php.php .es_h {color: #444 !important;}
    4747.php.php .br0,
    48 .php.php .sy0 {color: #7F7F7F !important;}
     48.php.php .sy0 {color: #777 !important;}
    4949.php.php .st0,
    50 .php.php .st_h {color: #4D4D4D !important;}
     50.php.php .st_h {color: #444 !important;}
    5151.php.php .nu0,
    5252.php.php .nu8,
    53 .php.php .nu12 {color: #7F7F7F !important;}
    54 .php.php .nu19 {color:#808080 !important;}
     53.php.php .nu12 {color: #777 !important;}
     54.php.php .nu19 {color:#666 !important;}
    5555.php.php .me1,
    5656.php.php .me2,
    57 .php.php .re0 {color: #1A1A1A !important;}
     57.php.php .re0 {color: #111 !important;}
    5858 
    5959
    6060.xml.xml .imp {color: #000 !important;}
    61 .xml.xml .de1 {color: #989898 !important;}
    62 .xml.xml .es_h {color: #1A1A1A !important;}
     61.xml.xml .de1 {color: #666 !important;}
     62.xml.xml .es_h {color: #111 !important;}
    6363.xml.xml .br0,
    6464.xml.xml .sy0,
    65 .xml.xml .st0 {color: #7F7F7F !important;}
    66 .xml.xml .sc-1 {color: #808080 !important;}
    67 .xml.xml .sc0 {color: #BFBFBF !important;}
     65.xml.xml .st0 {color: #777 !important;}
     66.xml.xml .sc-1 {color: #666 !important;}
     67.xml.xml .sc0 {color: #777 !important;}
    6868.xml.xml .sc1,
    6969.xml.xml .sc2,
    70 .xml.xml .sc3 {color: #7F7F7F !important;}
    71 .xml.xml .re0 {color: #1A1A1A !important;}
     70.xml.xml .sc3 {color: #777 !important;}
     71.xml.xml .re0 {color: #111 !important;}
    7272.xml.xml .re1,
    73 .xml.xml .re2 {color: #000000 !important;}
     73.xml.xml .re2 {color: #000 !important;}
    7474
  • _galaxie_/programmer.spip.org/plugin_documentation/habillage.css

    r32440 r32485  
    210210        background: #fafafa; 
    211211}
    212 .coloration_code {margin-bottom:10px; }
     212.coloration_code {margin-bottom:1.6em; /* une ligne */ }
    213213.coloration_code .cadre{margin-bottom:0; color:#888;}
    214214.coloration_code .cadre_download a{color:#888; font-weight:normal !important; text-decoration:none;}
     
    339339}
    340340#posts p { line-height:1.5em; margin:1.5em 0 0;}
     341#posts p { margin:0 0 1.5em 0;} /* NEW */
    341342#posts ul, #posts ol { line-height:1.5em; margin:0 0 0 2em;}
    342343#posts li{text-align:left;}
    343344
    344 #posts h1 {font-size:180%; margin:1em 0 0; padding:0; color:#222; clear:both;}
    345 #posts h2 {color:#444; text-transform:none; font-size:150%; margin-top:2.5em; clear:both;}
    346 #posts h3 {color:#222; text-transform:none; font-size:110%; margin-bottom:0em; padding-bottom:0em; letter-spacing: 0px; clear:both;}
    347 #posts h3 + p {margin-top:0em;}
     345#posts h1 {font-size:220%; margin:1em 0 0; padding:0; color:#222; clear:both;}
     346#posts h2 {color:#444; text-transform:none; font-size:160%; margin-top:2.5em; clear:both;}
     347#posts h3,
     348#posts h4 {color:#222; text-transform:none; font-size:120%; margin-bottom:0em; padding-bottom:0em; letter-spacing: 0px; clear:both;}
     349#posts p+style+.coloration_code {margin-top:-1em;}
    348350
    349351/* en savoir plus sur les articles */
     
    604606.page_integrale #posts { margin:0;}
    605607
    606 #posts .integrale h1 {border-bottom:1px solid #444; margin-bottom:1.5em; padding:1em 0;}
     608#posts .integrale h1 {padding:1em 0 0;}
    607609
    608610#posts .integrale .chapitre { margin:2em 0;}
  • _galaxie_/programmer.spip.org/plugin_documentation/impression.css

    r31890 r32485  
    3131        width: auto;
    3232}
     33#posts .exemple { background-image:url(images/puzzle_pdf.png);}
    3334
    3435/* page break */
  • _galaxie_/programmer.spip.org/plugin_documentation/inclure/head.html

    r31599 r32485  
    3434
    3535[(#REM) Feuille de style CSS pour l'impression ]
    36 [<link rel="stylesheet" href="(#CHEMIN{[(#ENV{format}).css]}|direction_css)" type="text/css" media="all" />]
     36[<link rel="stylesheet" href="(#CHEMIN{css/[(#ENV{format}).css]}|direction_css)" type="text/css" media="all" />]
    3737
    3838[(#REM) Feuille de style personnalisee pour surcharger les precedentes
  • _galaxie_/programmer.spip.org/plugin_pdf/genie/generer_documentation_pdf.php

    r31890 r32485  
    2121}
    2222
     23$GLOBALS['pdf_todo'] = array(
     24        "a4", "a4nb",
     25        "a5", "a5nb",
     26        "a5", "a5nb",
     27        "17x22", "17x22nb",
     28        "b5", "b5nb",
     29);
    2330
    2431function genie_generer_documentation_pdf_dist($t) {
    2532        docpdf_log('Genie documentation pdf en marche !');
     33
     34        foreach ($GLOBALS['pdf_todo'] as $nom) {
     35                generer_les_pdf(_DIR_DOCUMENTATION_PDF . $nom . '/' , $nom, false);
     36        }
    2637       
    27         docpdf_log('--- Couleur ---');
    28         generer_les_pdf(_DIR_DOCUMENTATION_PDF);
    29        
    30         docpdf_log('--- Noir et Blanc ---');
    31         generer_les_pdf(_DIR_DOCUMENTATION_PDF . 'nb/', 'nb', false);
    32        
    33         docpdf_log('--- A5 ---');
    34         generer_les_pdf(_DIR_DOCUMENTATION_PDF . 'a5/', 'a5', false);
    35        
    36         docpdf_log('--- A5 en Noir et Blanc ---');
    37         generer_les_pdf(_DIR_DOCUMENTATION_PDF . 'a5nb/', 'a5nb', false);
     38        // chapitres
     39        generer_les_pdf(_DIR_DOCUMENTATION_PDF . 'chapitres/');
    3840       
    3941        return true;
Note: See TracChangeset for help on using the changeset viewer.