Changeset 47903 in spip-zone for _plugins_/basecss


Ignore:
Timestamp:
May 18, 2011, 5:02:21 PM (10 years ago)
Author:
romy@…
Message:

Style par défaut pour l'impression

Location:
_plugins_/basecss
Files:
1 added
7 edited

Legend:

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

    r47900 r47903  
    6161
    6262/* Non visible a l'ecran */
    63 .offscreen,.invisible { position: absolute; left: -999em; height: 1%; }
     63.offscreen, .invisible { position: absolute; left: -999em; height: 1%; }
    6464.hidden { visibility: hidden; }
    6565.none { display: none; }
  • _plugins_/basecss/css/form.css

    r47899 r47903  
    4949.info a                 { color: #205791; }
    5050
    51 /* print */
     51/* Print */
    5252@media print {
    5353        form { display: none; }
  • _plugins_/basecss/css/layout.css

    r47900 r47903  
    3232        .aside,
    3333        .footer { display: none; }
     34        .page,
     35        .content { width: auto; }
    3436}
    3537
  • _plugins_/basecss/css/reset.css

    r47015 r47903  
    5959* { background: transparent !important; /*color: black !important;*/ text-shadow: none !important; filter: none !important;
    6060-ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
    61 a, a:visited { color: #444 !important; text-decoration: underline; }
    62 a[href]:after { content: " (" attr(href) ")"; }
    63 abbr[title]:after { content: " (" attr(title) ")"; }
    64 .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
    65 pre, blockquote { /*border: 1px solid #999;*/ page-break-inside: avoid; }
    66 thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
    67 tr, img { page-break-inside: avoid; }
    68 @page { margin: 0.5cm; }
    69 p, h2, h3 { orphans: 3; widows: 3; }
    70 h2, h3 { page-break-after: avoid; }
    7161}
    7262
  • _plugins_/basecss/css/spip.css.html

    r47900 r47903  
    114114a.spip_url {} /* liens url sortants */
    115115a.spip_glossaire {} /* liens vers encyclopedie */
     116@media print {
     117        a.spip_out:after,
     118        a.spip_url:after { content: " (" attr(href) ")"; }
     119}
    116120
    117121/* Boutons d'admin */
  • _plugins_/basecss/css/typo.css.html

    r47865 r47903  
    5555big, .big { font-size: 150%; }
    5656abbr[title], acronym[title] { border-bottom: .1em dotted; cursor: help; }
     57@media print { abbr[title]:after { content: " (" attr(title) ")"; } }
    5758dfn { font-weight: bold; font-style: italic; }
    5859del { text-decoration: line-through; }
     
    112113a:hover {}
    113114a[hreflang]:after { content: "\0000a0(" attr(hreflang) ")"; }
     115@media print {
     116        a, a:visited { color: #GET{color} !important; text-decoration: underline; }
     117        .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
     118}
     119
    114120.on { font-weight: bold; }
    115121
     122/**
     123* Print styles from HTML5 Boilerplate
     124* Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
     125*/
     126@media print {
     127        pre, blockquote { page-break-inside: avoid; }
     128        thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
     129        tr, img { page-break-inside: avoid; }
     130        @page { margin: 0.5cm; }
     131        p, h2, h3 { orphans: 3; widows: 3; }
     132        h2, h3 { page-break-after: avoid; }
     133}
     134
    116135/* end */
  • _plugins_/basecss/plugin.xml

    r47900 r47903  
    11<plugin spip="[2.1.0;2.3.0-dev)" >
    22<nom>Base CSS P&eacute;tronille&nbsp;2</nom>
    3 <version>2.1.0</version>
     3<version>2.1.1</version>
    44<etat>dev</etat>
    55<icon>icon.png</icon>
     
    2828<plugin spip="[2.3.0-dev;]" >
    2929<nom>Base CSS P&eacute;tronille&nbsp;2</nom>
    30 <version>2.1.0</version>
     30<version>2.1.1</version>
    3131<etat>dev</etat>
    3232<icon>icon.png</icon>
Note: See TracChangeset for help on using the changeset viewer.