From cb38eac14d3b7c766568ec9261fa63e25812d3c7 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Fri, 10 May 2013 21:38:48 +0000 Subject: [PATCH] Twenty Thirteen: minor CSS fixes for comment spacing and property ordering. git-svn-id: https://develop.svn.wordpress.org/trunk@24239 602fd350-edb4-49c9-b593-d223f7449a82 --- .../twentythirteen/css/editor-style.css | 4 +- wp-content/themes/twentythirteen/css/ie.css | 6 +- wp-content/themes/twentythirteen/rtl.css | 28 ++++----- wp-content/themes/twentythirteen/style.css | 58 +++++++++---------- 4 files changed, 49 insertions(+), 47 deletions(-) diff --git a/wp-content/themes/twentythirteen/css/editor-style.css b/wp-content/themes/twentythirteen/css/editor-style.css index d4c7e067bf..1cfd2aaec8 100644 --- a/wp-content/themes/twentythirteen/css/editor-style.css +++ b/wp-content/themes/twentythirteen/css/editor-style.css @@ -9,8 +9,8 @@ html .mceContentBody { } body { - font-family: "Source Sans Pro", Helvetica, sans-serif; color: #141412; + font-family: "Source Sans Pro",Helvetica,sans-serif; line-height: 1.5; text-rendering: optimizeLegibility; vertical-align: baseline; @@ -335,9 +335,9 @@ img { .wp-caption .wp-caption-text, .wp-caption-dd { color: #220e10; + font-size: 18px; font-style: italic; font-weight: 300; - font-size: 18px; line-height: 1.5; margin-bottom: 24px; padding: 0; diff --git a/wp-content/themes/twentythirteen/css/ie.css b/wp-content/themes/twentythirteen/css/ie.css index b8458adafa..f574e5e91e 100644 --- a/wp-content/themes/twentythirteen/css/ie.css +++ b/wp-content/themes/twentythirteen/css/ie.css @@ -60,8 +60,8 @@ img.alignleft { } .format-image .entry-content .size-full { - max-width: 604px; margin: 0; + max-width: 604px; } .gallery-columns-1 .gallery-item, @@ -226,8 +226,8 @@ img.alignleft { } .ie7 .nav-menu li ul ul { - top: 0; left: 100%; + top: 0; } .ie7 .site-header .searchform [type="search"], @@ -235,9 +235,9 @@ img.alignleft { background-color: #fff; border: 2px solid #c3c0ab; cursor: text; + height: 28px; outline: 0; width: 150px; - height: 28px; } .ie7 .entry-header, diff --git a/wp-content/themes/twentythirteen/rtl.css b/wp-content/themes/twentythirteen/rtl.css index ac9b8ac1dc..1d0d8b8d4e 100644 --- a/wp-content/themes/twentythirteen/rtl.css +++ b/wp-content/themes/twentythirteen/rtl.css @@ -69,6 +69,7 @@ td { padding-left: 10px; padding-right: 0; } + .assistive-text:focus { left: auto; right: 5px; @@ -84,6 +85,7 @@ td { * 4.1 Site Header * ---------------------------------------------------------------------------- */ + .site-header > a:first-child { display: inherit; } @@ -139,7 +141,7 @@ div.nav-menu > ul { } .menu-toggle { - padding-left: auto; + padding-left: 0; padding-right: 20px; } @@ -179,8 +181,8 @@ div.nav-menu > ul { } .featured-post:before { - margin-right: auto; margin-left: 2px; + margin-right: auto; } .entry-meta .date a:before { @@ -276,13 +278,13 @@ div.nav-menu > ul { .format-audio .audio-content { background-position: right top; float: left; - padding-left: auto; + padding-left: 0; padding-right: 35px; } .format-chat .entry-meta .date a:before { - margin-right: auto; margin-left: 4px; + margin-right: auto; } .blog .format-gallery .gallery-item, @@ -309,7 +311,7 @@ div.nav-menu > ul { .format-status .entry-content, .format-status .entry-meta { - padding-left: auto; + padding-left: 0; padding-right: 35px; } @@ -348,8 +350,8 @@ div.nav-menu > ul { .format-quote .quote:before { content: '\201D'; - padding-right: 0; padding-left: 25px; + padding-right: 0; left: auto; right: -15px; } @@ -589,8 +591,8 @@ div.nav-menu > ul { .site-footer .widget { float: right; - margin-right: auto; margin-left: 20px; + margin-right: auto; } .sidebar .site-footer .widget:nth-of-type(4), @@ -626,8 +628,8 @@ div.nav-menu > ul { } .main-navigation .searchform { - right: auto; left: 20px; + right: auto; } .site-main .widget-area { @@ -673,7 +675,7 @@ div.nav-menu > ul { .sidebar .format-status .entry-content, .sidebar .format-status .entry-meta { - padding-left: auto; + padding-left: 0; padding-right: 35px; } @@ -708,12 +710,12 @@ div.nav-menu > ul { @media (max-width: 643px) { #content .format-status .entry-content, #content .format-status .entry-met { - padding-left: auto; + padding-left: 0; padding-right: 35px; } .menu-toggle:after { - padding-left: auto; + padding-left: 0; padding-right: 8px; } @@ -730,7 +732,7 @@ div.nav-menu > ul { } #content .featured-gallery { - padding-left: auto; + padding-left: 0; padding-right: 24px; } @@ -747,7 +749,7 @@ div.nav-menu > ul { .format-audio .audio-content { background: none; float: none; - padding-left: auto; + padding-left: 0; padding-right: 0; } diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index d4e5e93e66..f88b0bd8a2 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -319,8 +319,8 @@ li > ol { } img { - border: 0; -ms-interpolation-mode: bicubic; + border: 0; vertical-align: middle; } @@ -466,13 +466,13 @@ hr { */ @font-face { font-family: Genericons; + font-style: normal; + font-weight: normal; src: url(fonts/genericons-regular-webfont.eot); src: url(fonts/genericons-regular-webfont.eot?#iefix) format("embedded-opentype"), url(fonts/genericons-regular-webfont.woff) format("woff"), url(fonts/genericons-regular-webfont.ttf) format("truetype"), url(fonts/genericons-regular-webfont.svg#genericonsregular) format("svg"); - font-weight: normal; - font-style: normal; } .genericon:before, @@ -540,8 +540,8 @@ hr { /* Assistive text */ .screen-reader-text { - position: absolute !important; clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; } .screen-reader-text:focus { @@ -553,13 +553,13 @@ hr { display: block; font-size: 14px; font-weight: bold; + height: auto; line-height: normal; padding: 15px 23px 14px; position: absolute; - top: 5px; left: 5px; + top: 5px; text-decoration: none; - height: auto; width: auto; z-index: 100000; /* Above WP toolbar */ } @@ -593,13 +593,13 @@ input[type="reset"] { background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */ background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e05d22', endColorstr='#d94412', GradientType=0); /* IE6-9 */ - display: inline-block; - padding: 11px 24px 10px; - color: #fff; - text-decoration: none; border: none; border-bottom: 3px solid #b93207; border-radius: 2px; + color: #fff; + display: inline-block; + padding: 11px 24px 10px; + text-decoration: none; } button:hover, @@ -812,10 +812,10 @@ img.wp-smiley, display: block; margin: 0 auto; max-width: 1080px; - padding: 0 20px; min-height: 230px; - width: 100%; + padding: 0 20px; text-decoration: none; + width: 100%; } .site-header .site-title:hover { @@ -885,8 +885,8 @@ div.nav-menu > ul { float: left; padding: 0; position: absolute; - top: 45px; left: -2px; + top: 45px; z-index: 99999; } @@ -949,11 +949,11 @@ ul.nav-menu li:hover > ul, border: none; cursor: pointer; height: 37px; - -webkit-transition: width 400ms ease, background 400ms ease; - transition: width 400ms ease, background 400ms ease; margin: 3px 0; padding: 0 0 0 34px; position: relative; + -webkit-transition: width 400ms ease, background 400ms ease; + transition: width 400ms ease, background 400ms ease; width: 0; } @@ -1064,14 +1064,14 @@ ul.nav-menu li:hover > ul, .comments-link a:before { content: "\f300"; margin-right: 2px; - top: -1px; position: relative; + top: -1px; } .entry-meta .author a:before { content: "\f304"; - top: -1px; position: relative; + top: -1px; } .categories-links a:first-child:before { @@ -1080,14 +1080,14 @@ ul.nav-menu li:hover > ul, .tags-links a:first-child:before { content: "\f302"; - top: -1px; position: relative; + top: -1px; } .edit-link a:before { content: "\f411"; - top: -1px; position: relative; + top: -1px; } .single-author .entry-meta .author, @@ -1659,11 +1659,11 @@ footer.entry-meta { } .format-quote .entry-content { - position: relative; font-size: 28px; font-style: italic; font-weight: 300; margin: 0 auto; + position: relative; } .format-quote .entry-content, @@ -1708,8 +1708,8 @@ footer.entry-meta { line-height: .8; padding-right: 25px; position: absolute; - top: -3px; left: -15px; + top: -3px; } .format-quote .entry-meta .author { @@ -1774,8 +1774,8 @@ footer.entry-meta { font-size: 24px; font-style: italic; font-weight: 300; - padding-top: 40px; padding-bottom: 30px; + padding-top: 40px; position: relative; } @@ -2183,8 +2183,8 @@ footer.entry-meta { } .error404 .page-title:before { - content: "\f423"; color: #e8e5ce; + content: "\f423"; font-size: 964px; line-height: 0.6; overflow: hidden; @@ -2521,11 +2521,11 @@ footer.entry-meta { .widget { background-color: rgba(247, 245, 231, 0.7); + font-size: 14px; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; - font-size: 14px; margin: 0 0 24px; padding: 20px; word-wrap: break-word; @@ -2656,9 +2656,9 @@ footer.entry-meta { } .sidebar .site-footer .widget-area { - left: -158px; max-width: 724px; position: relative; + left: -158px; } .site-footer .widget { @@ -2865,14 +2865,14 @@ footer.entry-meta { } .site-main .widget-area { - margin: 0; float: none; + margin: 0; width: 100%; } .sidebar .site-footer .widget-area { - left: 0; max-width: 100%; + left: 0; } } @@ -2927,8 +2927,8 @@ footer.entry-meta { #respond, .sidebar .site-info, .sidebar .paging-navigation .nav-links { - padding-right: 20px; padding-left: 20px; + padding-right: 20px; } #content .format-status .entry-content, @@ -3200,8 +3200,8 @@ footer.entry-meta { } .site-header .home-link { - min-height: 0; max-width: none; + min-height: 0; } .site-title {