View: Print Stylesheet for WordPress

  1. 10 years ago by sm0k1nggnu
    1. /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    2.  
    3.     * Filename: print.css
    4.     * Version: 0.0.0 (200x-mm-dd)
    5.     * Website: http://www.site.de
    6.     * Author: Author Name
    7.     * Description: Print Layout for WordPress Standard Theme
    8.  
    9.     == INDEX: ===================================
    10.         _general : general definitions and resets
    11.         _special wp tags :
    12.         ============================================
    13.        
    14.         == CHANGES =================================
    15.         0.0.0 -
    16.         ============================================
    17. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
    18.  
    19.  
    20. /* _general
    21. ==========================================*/
    22.  
    23.  
    24. #header, #respond, #footer, #commentform, #headerimg, a#tooCool, #searchform, #s, #submit, #sidebar, #wp-calendar {
    25.         display: none;
    26. }
    27.  
    28. #respond p, #comment p, #commentform p {
    29.         display: none;
    30. }
    31.  
    32. select, input, textarea, ckeckbox, img, dd {
    33.         display: none;
    34. }
    35.  
    36. .navigation, .postmetadata, .subscribe {
    37.         display: none;
    38. }
    39.  
    40. body {
    41.   text-align: left;
    42.   margin: 0;
    43.   padding: 0;
    44.   font: 12pt Garamond, Palatino, "Times New Roman", Times, serif;
    45.   color: black;
    46.   background: transparent;
    47. }
    48.  
    49. h1, h2, h3, h4, h5, h6 {
    50.         font-weight: bold;
    51.   margin: .75em 0 .5em 0;
    52.   text-align: left;
    53.   page-break-after: avoid;
    54. }
    55.  
    56. p {
    57.   margin: .5em;
    58. }
    59.  
    60. a, a:visited, a:hover, a:visited:hover {
    61.   color: darkolivegreen;
    62.   background: transparent;
    63.   text-decoration: none;
    64. }
    65.  
    66. a[href]:after {
    67.         content:" (link to: <"attr(href)">) ";
    68.         color: lightgrey;
    69.         background-color:inherit;
    70.         font-style:italic;
    71.         font-size: 9pt;
    72. }
    73.  
    74. *[name]:after {
    75.         content:" [#"attr(name)"]";
    76.         color: lightgrey;
    77.         background-color:inherit;
    78.         font-style:italic;
    79.         font-size: .7em;
    80. }
    81.  
    82. *[title]:after {
    83.         content:" ("attr(title)")";
    84.         color: lightgrey;
    85.         background-color:inherit;
    86.         font-style:italic;
    87.         font-size: .7em;
    88. }
    89.  
    90. *[acronym]:after {
    91.         content:" ("attr(acronym)")";
    92.         color: lightgrey;
    93.         background-color:inherit;
    94.         font-style:italic;
    95.         font-size: .7em;
    96. }
    97.  
    98. *[cite]:after {
    99.         content:close-quote" (Source: "attr(cite)")";
    100.         font-size: .7em;
    101. }
    102.  
    103. * {
    104.         quotes: "\201E" "\201C" "\201A" "\2018";
    105. }
    106.  
    107. q:before, blockquote:before {
    108.         content:open-quote;
    109. }
    110.  
    111. q:after, blockquote:after {
    112.         content:close-quote;
    113. }
    114.  
    115. blockquote, q, cite {
    116.         padding-left: 2em;
    117. }
    118.  
    119.  
    120. /* _special wp tags
    121. ==========================================*/
    122.  
    123. code {
    124.         font: .8em 'Courier New', Courier, Fixed;
    125.   color: gray;
    126.         padding-left: 2em;
    127. }
    128.  
    129. code a[href]:after {
    130.         content:"";
    131. }
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1089"></script>

0 comment about "Print Stylesheet for WordPress"