Changeset 47754 in spip-zone


Ignore:
Timestamp:
May 13, 2011, 2:48:58 PM (10 years ago)
Author:
romy@…
Message:

C'est le truc ultime pour gérer les lignes longues dans un pre (b_b)
Cf.: Wrapping Long URLs and Text Content with CSS : http://perishablepress.com/press/2010/06/01/wrapping-content/

Location:
_plugins_/basecss
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/basecss/css/typo.css.html

    r47297 r47754  
    8686
    8787pre,code,kbd,samp,var,tt { font-family: 'andale mono','lucida console',monospace; font-size: 1em; }
    88 pre { margin:[ (#GET{margin-bottom}) ]0; white-space: pre; }
     88pre { margin:[ (#GET{margin-bottom}) ]0;
     89        /* Cf.: http://perishablepress.com/press/2010/06/01/wrapping-content/ /
     90        white-space: pre;           /* CSS 2.0 */
     91        white-space: pre-wrap;      /* CSS 2.1 */
     92        white-space: pre-line;      /* CSS 3.0 */
     93        white-space: -pre-wrap;     /* Opera 4-6 */
     94        white-space: -o-pre-wrap;   /* Opera 7 */
     95        white-space: -moz-pre-wrap; /* Mozilla */
     96        white-space: -hp-pre-wrap;  /* HP Printers */
     97        word-wrap: break-word;      /* IE 5+ */
     98}
    8999kbd { background-color: #GET{color}; color: #GET{background-color}; }
    90100samp { font-weight: bold; }
  • _plugins_/basecss/plugin.xml

    r47466 r47754  
    11<plugin spip="[2.1.0;2.3.0-dev)" >
    22<nom>Base CSS P&eacute;tronille&nbsp;2</nom>
    3 <version>2.0.8</version>
     3<version>2.0.9</version>
    44<etat>dev</etat>
    55<icon>icon.png</icon>
Note: See TracChangeset for help on using the changeset viewer.