Twenty Thirteen: minor CSS fixes for comment spacing and property ordering.

git-svn-id: http://core.svn.wordpress.org/trunk@24239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-05-10 21:38:48 +00:00
parent 396166203e
commit a251b69906
4 changed files with 49 additions and 47 deletions

View File

@ -9,8 +9,8 @@ html .mceContentBody {
} }
body { body {
font-family: "Source Sans Pro", Helvetica, sans-serif;
color: #141412; color: #141412;
font-family: "Source Sans Pro",Helvetica,sans-serif;
line-height: 1.5; line-height: 1.5;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
vertical-align: baseline; vertical-align: baseline;
@ -335,9 +335,9 @@ img {
.wp-caption .wp-caption-text, .wp-caption .wp-caption-text,
.wp-caption-dd { .wp-caption-dd {
color: #220e10; color: #220e10;
font-size: 18px;
font-style: italic; font-style: italic;
font-weight: 300; font-weight: 300;
font-size: 18px;
line-height: 1.5; line-height: 1.5;
margin-bottom: 24px; margin-bottom: 24px;
padding: 0; padding: 0;

View File

@ -60,8 +60,8 @@ img.alignleft {
} }
.format-image .entry-content .size-full { .format-image .entry-content .size-full {
max-width: 604px;
margin: 0; margin: 0;
max-width: 604px;
} }
.gallery-columns-1 .gallery-item, .gallery-columns-1 .gallery-item,
@ -226,8 +226,8 @@ img.alignleft {
} }
.ie7 .nav-menu li ul ul { .ie7 .nav-menu li ul ul {
top: 0;
left: 100%; left: 100%;
top: 0;
} }
.ie7 .site-header .searchform [type="search"], .ie7 .site-header .searchform [type="search"],
@ -235,9 +235,9 @@ img.alignleft {
background-color: #fff; background-color: #fff;
border: 2px solid #c3c0ab; border: 2px solid #c3c0ab;
cursor: text; cursor: text;
height: 28px;
outline: 0; outline: 0;
width: 150px; width: 150px;
height: 28px;
} }
.ie7 .entry-header, .ie7 .entry-header,

View File

@ -69,6 +69,7 @@ td {
padding-left: 10px; padding-left: 10px;
padding-right: 0; padding-right: 0;
} }
.assistive-text:focus { .assistive-text:focus {
left: auto; left: auto;
right: 5px; right: 5px;
@ -84,6 +85,7 @@ td {
* 4.1 Site Header * 4.1 Site Header
* ---------------------------------------------------------------------------- * ----------------------------------------------------------------------------
*/ */
.site-header > a:first-child { .site-header > a:first-child {
display: inherit; display: inherit;
} }
@ -139,7 +141,7 @@ div.nav-menu > ul {
} }
.menu-toggle { .menu-toggle {
padding-left: auto; padding-left: 0;
padding-right: 20px; padding-right: 20px;
} }
@ -179,8 +181,8 @@ div.nav-menu > ul {
} }
.featured-post:before { .featured-post:before {
margin-right: auto;
margin-left: 2px; margin-left: 2px;
margin-right: auto;
} }
.entry-meta .date a:before { .entry-meta .date a:before {
@ -276,13 +278,13 @@ div.nav-menu > ul {
.format-audio .audio-content { .format-audio .audio-content {
background-position: right top; background-position: right top;
float: left; float: left;
padding-left: auto; padding-left: 0;
padding-right: 35px; padding-right: 35px;
} }
.format-chat .entry-meta .date a:before { .format-chat .entry-meta .date a:before {
margin-right: auto;
margin-left: 4px; margin-left: 4px;
margin-right: auto;
} }
.blog .format-gallery .gallery-item, .blog .format-gallery .gallery-item,
@ -309,7 +311,7 @@ div.nav-menu > ul {
.format-status .entry-content, .format-status .entry-content,
.format-status .entry-meta { .format-status .entry-meta {
padding-left: auto; padding-left: 0;
padding-right: 35px; padding-right: 35px;
} }
@ -348,8 +350,8 @@ div.nav-menu > ul {
.format-quote .quote:before { .format-quote .quote:before {
content: '\201D'; content: '\201D';
padding-right: 0;
padding-left: 25px; padding-left: 25px;
padding-right: 0;
left: auto; left: auto;
right: -15px; right: -15px;
} }
@ -589,8 +591,8 @@ div.nav-menu > ul {
.site-footer .widget { .site-footer .widget {
float: right; float: right;
margin-right: auto;
margin-left: 20px; margin-left: 20px;
margin-right: auto;
} }
.sidebar .site-footer .widget:nth-of-type(4), .sidebar .site-footer .widget:nth-of-type(4),
@ -626,8 +628,8 @@ div.nav-menu > ul {
} }
.main-navigation .searchform { .main-navigation .searchform {
right: auto;
left: 20px; left: 20px;
right: auto;
} }
.site-main .widget-area { .site-main .widget-area {
@ -673,7 +675,7 @@ div.nav-menu > ul {
.sidebar .format-status .entry-content, .sidebar .format-status .entry-content,
.sidebar .format-status .entry-meta { .sidebar .format-status .entry-meta {
padding-left: auto; padding-left: 0;
padding-right: 35px; padding-right: 35px;
} }
@ -708,12 +710,12 @@ div.nav-menu > ul {
@media (max-width: 643px) { @media (max-width: 643px) {
#content .format-status .entry-content, #content .format-status .entry-content,
#content .format-status .entry-met { #content .format-status .entry-met {
padding-left: auto; padding-left: 0;
padding-right: 35px; padding-right: 35px;
} }
.menu-toggle:after { .menu-toggle:after {
padding-left: auto; padding-left: 0;
padding-right: 8px; padding-right: 8px;
} }
@ -730,7 +732,7 @@ div.nav-menu > ul {
} }
#content .featured-gallery { #content .featured-gallery {
padding-left: auto; padding-left: 0;
padding-right: 24px; padding-right: 24px;
} }
@ -747,7 +749,7 @@ div.nav-menu > ul {
.format-audio .audio-content { .format-audio .audio-content {
background: none; background: none;
float: none; float: none;
padding-left: auto; padding-left: 0;
padding-right: 0; padding-right: 0;
} }

View File

@ -319,8 +319,8 @@ li > ol {
} }
img { img {
border: 0;
-ms-interpolation-mode: bicubic; -ms-interpolation-mode: bicubic;
border: 0;
vertical-align: middle; vertical-align: middle;
} }
@ -466,13 +466,13 @@ hr {
*/ */
@font-face { @font-face {
font-family: Genericons; font-family: Genericons;
font-style: normal;
font-weight: normal;
src: url(fonts/genericons-regular-webfont.eot); src: url(fonts/genericons-regular-webfont.eot);
src: url(fonts/genericons-regular-webfont.eot?#iefix) format("embedded-opentype"), src: url(fonts/genericons-regular-webfont.eot?#iefix) format("embedded-opentype"),
url(fonts/genericons-regular-webfont.woff) format("woff"), url(fonts/genericons-regular-webfont.woff) format("woff"),
url(fonts/genericons-regular-webfont.ttf) format("truetype"), url(fonts/genericons-regular-webfont.ttf) format("truetype"),
url(fonts/genericons-regular-webfont.svg#genericonsregular) format("svg"); url(fonts/genericons-regular-webfont.svg#genericonsregular) format("svg");
font-weight: normal;
font-style: normal;
} }
.genericon:before, .genericon:before,
@ -540,8 +540,8 @@ hr {
/* Assistive text */ /* Assistive text */
.screen-reader-text { .screen-reader-text {
position: absolute !important;
clip: rect(1px, 1px, 1px, 1px); clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
} }
.screen-reader-text:focus { .screen-reader-text:focus {
@ -553,13 +553,13 @@ hr {
display: block; display: block;
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
height: auto;
line-height: normal; line-height: normal;
padding: 15px 23px 14px; padding: 15px 23px 14px;
position: absolute; position: absolute;
top: 5px;
left: 5px; left: 5px;
top: 5px;
text-decoration: none; text-decoration: none;
height: auto;
width: auto; width: auto;
z-index: 100000; /* Above WP toolbar */ 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: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */
background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */ background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e05d22', endColorstr='#d94412', GradientType=0); /* IE6-9 */ 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: none;
border-bottom: 3px solid #b93207; border-bottom: 3px solid #b93207;
border-radius: 2px; border-radius: 2px;
color: #fff;
display: inline-block;
padding: 11px 24px 10px;
text-decoration: none;
} }
button:hover, button:hover,
@ -812,10 +812,10 @@ img.wp-smiley,
display: block; display: block;
margin: 0 auto; margin: 0 auto;
max-width: 1080px; max-width: 1080px;
padding: 0 20px;
min-height: 230px; min-height: 230px;
width: 100%; padding: 0 20px;
text-decoration: none; text-decoration: none;
width: 100%;
} }
.site-header .site-title:hover { .site-header .site-title:hover {
@ -885,8 +885,8 @@ div.nav-menu > ul {
float: left; float: left;
padding: 0; padding: 0;
position: absolute; position: absolute;
top: 45px;
left: -2px; left: -2px;
top: 45px;
z-index: 99999; z-index: 99999;
} }
@ -949,11 +949,11 @@ ul.nav-menu li:hover > ul,
border: none; border: none;
cursor: pointer; cursor: pointer;
height: 37px; height: 37px;
-webkit-transition: width 400ms ease, background 400ms ease;
transition: width 400ms ease, background 400ms ease;
margin: 3px 0; margin: 3px 0;
padding: 0 0 0 34px; padding: 0 0 0 34px;
position: relative; position: relative;
-webkit-transition: width 400ms ease, background 400ms ease;
transition: width 400ms ease, background 400ms ease;
width: 0; width: 0;
} }
@ -1064,14 +1064,14 @@ ul.nav-menu li:hover > ul,
.comments-link a:before { .comments-link a:before {
content: "\f300"; content: "\f300";
margin-right: 2px; margin-right: 2px;
top: -1px;
position: relative; position: relative;
top: -1px;
} }
.entry-meta .author a:before { .entry-meta .author a:before {
content: "\f304"; content: "\f304";
top: -1px;
position: relative; position: relative;
top: -1px;
} }
.categories-links a:first-child:before { .categories-links a:first-child:before {
@ -1080,14 +1080,14 @@ ul.nav-menu li:hover > ul,
.tags-links a:first-child:before { .tags-links a:first-child:before {
content: "\f302"; content: "\f302";
top: -1px;
position: relative; position: relative;
top: -1px;
} }
.edit-link a:before { .edit-link a:before {
content: "\f411"; content: "\f411";
top: -1px;
position: relative; position: relative;
top: -1px;
} }
.single-author .entry-meta .author, .single-author .entry-meta .author,
@ -1659,11 +1659,11 @@ footer.entry-meta {
} }
.format-quote .entry-content { .format-quote .entry-content {
position: relative;
font-size: 28px; font-size: 28px;
font-style: italic; font-style: italic;
font-weight: 300; font-weight: 300;
margin: 0 auto; margin: 0 auto;
position: relative;
} }
.format-quote .entry-content, .format-quote .entry-content,
@ -1708,8 +1708,8 @@ footer.entry-meta {
line-height: .8; line-height: .8;
padding-right: 25px; padding-right: 25px;
position: absolute; position: absolute;
top: -3px;
left: -15px; left: -15px;
top: -3px;
} }
.format-quote .entry-meta .author { .format-quote .entry-meta .author {
@ -1774,8 +1774,8 @@ footer.entry-meta {
font-size: 24px; font-size: 24px;
font-style: italic; font-style: italic;
font-weight: 300; font-weight: 300;
padding-top: 40px;
padding-bottom: 30px; padding-bottom: 30px;
padding-top: 40px;
position: relative; position: relative;
} }
@ -2183,8 +2183,8 @@ footer.entry-meta {
} }
.error404 .page-title:before { .error404 .page-title:before {
content: "\f423";
color: #e8e5ce; color: #e8e5ce;
content: "\f423";
font-size: 964px; font-size: 964px;
line-height: 0.6; line-height: 0.6;
overflow: hidden; overflow: hidden;
@ -2521,11 +2521,11 @@ footer.entry-meta {
.widget { .widget {
background-color: rgba(247, 245, 231, 0.7); background-color: rgba(247, 245, 231, 0.7);
font-size: 14px;
-webkit-hyphens: auto; -webkit-hyphens: auto;
-moz-hyphens: auto; -moz-hyphens: auto;
-ms-hyphens: auto; -ms-hyphens: auto;
hyphens: auto; hyphens: auto;
font-size: 14px;
margin: 0 0 24px; margin: 0 0 24px;
padding: 20px; padding: 20px;
word-wrap: break-word; word-wrap: break-word;
@ -2656,9 +2656,9 @@ footer.entry-meta {
} }
.sidebar .site-footer .widget-area { .sidebar .site-footer .widget-area {
left: -158px;
max-width: 724px; max-width: 724px;
position: relative; position: relative;
left: -158px;
} }
.site-footer .widget { .site-footer .widget {
@ -2865,14 +2865,14 @@ footer.entry-meta {
} }
.site-main .widget-area { .site-main .widget-area {
margin: 0;
float: none; float: none;
margin: 0;
width: 100%; width: 100%;
} }
.sidebar .site-footer .widget-area { .sidebar .site-footer .widget-area {
left: 0;
max-width: 100%; max-width: 100%;
left: 0;
} }
} }
@ -2927,8 +2927,8 @@ footer.entry-meta {
#respond, #respond,
.sidebar .site-info, .sidebar .site-info,
.sidebar .paging-navigation .nav-links { .sidebar .paging-navigation .nav-links {
padding-right: 20px;
padding-left: 20px; padding-left: 20px;
padding-right: 20px;
} }
#content .format-status .entry-content, #content .format-status .entry-content,
@ -3200,8 +3200,8 @@ footer.entry-meta {
} }
.site-header .home-link { .site-header .home-link {
min-height: 0;
max-width: none; max-width: none;
min-height: 0;
} }
.site-title { .site-title {