7.5.13

How to optimize your wordpress blog for print

A modified version of the print style for WordPress’ Default theme “TwentyTen”. Many websites share the same elements, no need to reinvent the wheel again.


------------------------------


 @media print { 
    body { 
        background#fff none !important
        color#000
    } 
    #wrapper { 
        clearboth !important
        displayblock !important
        floatnone !important
        positionrelative !important
    } 
    #header { 
        border-bottom2pt solid #000
        padding-bottom18pt
    } 
    #colophon { 
        border-top2pt solid #000
    } 
    #site-title, 
    #site-description { 
        floatnone
        line-height: 1.4em; 
        margin: 0; 
        padding: 0; 
    } 
    #site-title { 
        font-size13pt
    } 
    .entry-content { 
        font-size14pt
        line-height: 1.6em; 
    } 
    .entry-title { 
        font-size21pt
    } 
    #access
    #branding img, 
    #respond, 
    .comment-edit-link, 
    .edit-link, 
    .navigation, 
    .page-link, 
    .widget-area { 
        displaynone !important
    } 
    #container, 
    #header
    #footer { 
        margin: 0; 
        width: 100%; 
    } 
    #content, 
    .one-column #content { 
        margin24pt 0 0; 
        width: 100%; 
    } 
    .wp-caption p { 
        font-size11pt
    } 
    #site-info, 
    #site-generator { 
        floatnone
        widthauto
    } 
    #colophon { 
        widthauto
    } 
    img#wpstats { 
        displaynone
    } 
    #site-generator a { 
        margin: 0; 
        padding: 0; 
    } 
    #entry-author-info { 
        border1px solid #e7e7e7
    } 
    #main { 
        displayinline
    } 
    .home .sticky { 
        bordernone
    } 

No comments: