Make WordPress Core

Changeset 17726


Ignore:
Timestamp:
04/27/2011 09:03:58 PM (14 years ago)
Author:
iandstewart
Message:

Twenty Eleven: first pass at print styles; See ##17198

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/style.css

    r17719 r17726  
    19641964}
    19651965
    1966 /* IE 7 */
     1966
     1967/* =Print
     1968----------------------------------------------- */
     1969
     1970@media print {
     1971    body {
     1972        background: none !important;
     1973        font-size: 10pt;
     1974    }
     1975    footer.entry-meta a[rel=bookmark]:link:after,
     1976    footer.entry-meta a[rel=bookmark]:visited:after,
     1977    #author-info a:link:after,
     1978    #author-info a:visited:after {
     1979        content:" [" attr(href) "] "; /* Show URLs */
     1980    }   
     1981    #page {
     1982        clear: both !important;
     1983        display: block !important;
     1984        float: none !important;
     1985        position: relative !important;
     1986        max-width: 100%;
     1987    }
     1988    #branding {
     1989        border-top: none;
     1990        padding: 0;
     1991    }
     1992    #branding hgroup {
     1993        margin: 0;
     1994    }
     1995    #site-title a {
     1996        font-size: 21pt;
     1997    }
     1998    #site-description {
     1999        font-size: 10pt;
     2000    }
     2001    #branding #searchform {
     2002        display: none;
     2003    }
     2004    #branding img {
     2005        display: none;
     2006    }
     2007    #access {
     2008        display: none;
     2009    }
     2010    #main {
     2011        border-top: none;
     2012        box-shadow: none;
     2013    }
     2014    #primary {
     2015        float: left;
     2016        margin: 0;
     2017        width: 100%;
     2018    }
     2019    #content {
     2020        margin: 0;
     2021        width: auto;
     2022    }
     2023    .singular #content {
     2024        margin: 0;
     2025        width: 100%;
     2026    }
     2027    .singular .entry-header .entry-meta {
     2028        position: static;
     2029    }
     2030    #content nav {
     2031        display: none;
     2032    }
     2033    .singular .entry-header,
     2034    .singular .entry-content,
     2035    .singular footer.entry-meta,
     2036    .singular #comments-title {
     2037        width: 100%;
     2038        margin: 0;
     2039    }
     2040    .singular .hentry {
     2041        padding: 0;
     2042    }
     2043    .entry-title,
     2044    .singular .entry-title {
     2045        font-size: 21pt;
     2046    }
     2047    .entry-meta {
     2048        font-size: 10pt;
     2049    }
     2050    .entry-header .comments-link {
     2051        display: none;
     2052    }
     2053    .page-link {
     2054        display: none;
     2055    }
     2056    .singular #author-info {
     2057        background: none;
     2058        border-bottom: none;
     2059        border-top: none;
     2060        margin: 2.2em 0 0;
     2061        padding: 0;
     2062    }
     2063    #respond {
     2064        display: none;
     2065    }
     2066    .widget-area {
     2067        display: none;
     2068    }
     2069    #colophon {
     2070        display: none;
     2071    }
     2072   
     2073    /* Comments */
     2074    .commentlist > li.comment {
     2075        background: none;
     2076        border: 1px solid #DDDDDD;
     2077        border-radius: 3px 3px 3px 3px;
     2078        margin: 0 auto 1.625em;
     2079        padding: 1.625em;
     2080        position: relative;
     2081        width: auto;
     2082    }
     2083    .commentlist .avatar {
     2084        width: 39px;
     2085        height: 39px;
     2086        left: 2.2em;
     2087        top: 2.2em;
     2088    }
     2089    .commentlist li.comment .comment-meta {
     2090        line-height: 1.625em;
     2091        margin-left: 50px;
     2092    }
     2093    .commentlist li.comment .fn {
     2094        display: block;
     2095    }
     2096    .commentlist li.comment .comment-content {
     2097        margin: 1.625em 0 0;
     2098    }
     2099   
     2100    /* Post author highlighting */
     2101    .commentlist > li.bypostauthor {
     2102        color: #444;
     2103    }
     2104    .commentlist > li.bypostauthor .comment-meta {
     2105        color: #666;
     2106    }
     2107    .commentlist > li.bypostauthor:before {
     2108        content: none;
     2109    }
     2110
     2111    /* Post Author threaded comments */
     2112    .commentlist .children > li.bypostauthor {
     2113        background: #fff;
     2114        border-color: #ddd;
     2115    }
     2116    .commentlist .children > li.bypostauthor > article,
     2117    .commentlist .children > li.bypostauthor > article .comment-meta {
     2118        color: #666;
     2119    }
     2120}
     2121
     2122/* =IE7
     2123----------------------------------------------- */
     2124
    19672125#ie7 article.intro {
    19682126    margin-left: -7.6%;
Note: See TracChangeset for help on using the changeset viewer.