From cbaf844a8e3cc3b41befaa384e2bc3138a252069 Mon Sep 17 00:00:00 2001 From: lancewillett Date: Thu, 2 Aug 2012 21:11:11 +0000 Subject: [PATCH] Twenty Twelve: update print styles to merge similar rules, props SergeyBiryukov, see #21377. git-svn-id: http://core.svn.wordpress.org/trunk@21410 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- style.css | 49 ++++++++++++------------------------------------- 1 file changed, 12 insertions(+), 37 deletions(-) diff --git a/style.css b/style.css index d42ca464e..56429f075 100644 --- a/style.css +++ b/style.css @@ -1463,9 +1463,17 @@ label ~ span.required { font-size: 10pt; text-align: left; } - img.header-image { - display: none; - } + #author-avatar, + #colophon, + #respond, + .commentlist .comment-edit-link, + .commentlist .reply, + .entry-header .comments-link, + .entry-meta .edit-link a, + .page-link, + .site-content nav, + .widget-area, + img.header-image, nav.site-navigation { display: none; } @@ -1482,19 +1490,10 @@ label ~ span.required { margin: 0; width: auto; } - .singular .site-content { - margin: 0; - width: 100%; - } .singular .entry-header .entry-meta { position: static; } - .entry-meta .edit-link a { - display: none; - } - .site-content nav { - display: none; - } + .singular .site-content, .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, @@ -1510,28 +1509,10 @@ label ~ span.required { .entry-meta { font-size: 10pt; } - .entry-header .comments-link { - display: none; - } - .page-link { - display: none; - } - #author-avatar { - display: none; - } #author-description { float: none; width: auto; } - #respond { - display: none; - } - .widget-area { - display: none; - } - #colophon { - display: none; - } /* Comments */ .commentlist > li.comment { @@ -1550,10 +1531,4 @@ label ~ span.required { margin-left: 50px; margin-left: 3.57142857rem; } - .commentlist .comment-edit-link { - display: none; - } - .commentlist .reply { - display: none; - } } \ No newline at end of file