<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[21277] trunk/wp-content/themes/twentytwelve/style.css: Twenty Twelve: add styles for common HTML elements in comment content, and also style up password protected form.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/21277">21277</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2012-07-18 18:03:38 +0000 (Wed, 18 Jul 2012)</dd>
</dl>
<h3>Log Message</h3>
<pre>Twenty Twelve: add styles for common HTML elements in comment content, and also style up password protected form. Props drewstrojny, fixes <a href="http://core.trac.wordpress.org/ticket/21242">#21242</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentytwelvestylecss">trunk/wp-content/themes/twentytwelve/style.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentytwelvestylecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentytwelve/style.css (21276 => 21277)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentytwelve/style.css        2012-07-18 17:07:15 UTC (rev 21276)
+++ trunk/wp-content/themes/twentytwelve/style.css        2012-07-18 18:03:38 UTC (rev 21277)
</span><span class="lines">@@ -145,6 +145,7 @@
</span><span class="cx"> /* Buttons */
</span><span class="cx"> .menu-toggle,
</span><span class="cx"> input#searchsubmit,
</span><ins>+article.post-password-required input[type=submit],
</ins><span class="cx"> li.bypostauthor cite span,
</span><span class="cx"> .featured-post {
</span><span class="cx">         padding: 1px 10px;
</span><span class="lines">@@ -173,11 +174,13 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .menu-toggle,
</span><del>-input#searchsubmit {
</del><ins>+input#searchsubmit,
+article.post-password-required input[type=submit] {
</ins><span class="cx">         cursor: pointer;
</span><span class="cx"> }
</span><span class="cx"> .menu-toggle:hover,
</span><del>-input#searchsubmit:hover {
</del><ins>+input#searchsubmit:hover,
+article.post-password-required input[type=submit]:hover {
</ins><span class="cx">         color: #5e5e5e;
</span><span class="cx">         background-color: #ebebeb;
</span><span class="cx">         background-repeat: repeat-x;
</span><span class="lines">@@ -191,6 +194,7 @@
</span><span class="cx"> }
</span><span class="cx"> .menu-toggle:active, .menu-toggle.toggled-on,
</span><span class="cx"> input#searchsubmit:active,
</span><ins>+article.post-password-required input[type=submit]:active,
</ins><span class="cx"> input#searchsubmit.toggled-on {
</span><span class="cx">         color: #777;
</span><span class="cx">         background-color: #e1e1e1;
</span><span class="lines">@@ -222,6 +226,18 @@
</span><span class="cx">         border: 1px solid #1f6f93;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+/* Form fields */
+.widget_search input[type="text"],
+article.post-password-required form input[type="password"] {
+        padding: 6px;
+        padding: 0.428571429rem;
+        font-family: inherit;
+        border: 1px solid #ccc;
+        -webkit-border-radius: 3px;
+        -moz-border-radius: 3px;
+        border-radius: 3px;
+}
+
</ins><span class="cx"> /* Responsive images */
</span><span class="cx"> .entry-content img,
</span><span class="cx"> .comment-content img,
</span><span class="lines">@@ -794,84 +810,109 @@
</span><span class="cx">         }
</span><span class="cx"> }
</span><span class="cx"> .entry-content h1,
</span><ins>+.comment-content h1,
</ins><span class="cx"> .entry-content h2,
</span><ins>+.comment-content h2,
</ins><span class="cx"> .entry-content h3,
</span><ins>+.comment-content h3,
</ins><span class="cx"> .entry-content h4,
</span><ins>+.comment-content h4,
</ins><span class="cx"> .entry-content h5,
</span><del>-.entry-content h6 {
</del><ins>+.comment-content h5,
+.entry-content h6,
+.comment-content h6 {
</ins><span class="cx">         margin: 24px 0;
</span><span class="cx">         margin: 1.714285714rem 0;
</span><span class="cx">         line-height: 1.714285714;
</span><span class="cx"> }
</span><del>-.entry-content h1 {
</del><ins>+.entry-content h1,
+.comment-content h1 {
</ins><span class="cx">         font-size: 21px;
</span><span class="cx">         font-size: 1.5rem;
</span><span class="cx">         line-height: 1.5;
</span><span class="cx"> }
</span><del>-.entry-content h2 {
</del><ins>+.entry-content h2,
+.comment-content h2 {
</ins><span class="cx">         font-size: 18px;
</span><span class="cx">         font-size: 1.285714286rem;
</span><span class="cx">         line-height: 1.6;
</span><span class="cx"> }
</span><del>-.entry-content h3 {
</del><ins>+.entry-content h3,
+.comment-content h3 {
</ins><span class="cx">         font-size: 16px;
</span><span class="cx">         font-size: 1.142857143rem;
</span><span class="cx">         line-height: 1.846153846;
</span><span class="cx"> }
</span><del>-.entry-content h4 {
</del><ins>+.entry-content h4,
+.comment-content h4 {
</ins><span class="cx">         font-size: 14px;
</span><span class="cx">         font-size: 1rem;
</span><span class="cx">         line-height: 1.846153846;
</span><span class="cx"> }
</span><del>-.entry-content h5 {
</del><ins>+.entry-content h5,
+.comment-content h5 {
</ins><span class="cx">         font-size: 13px;
</span><span class="cx">         font-size: 0.928571429rem;
</span><span class="cx">         line-height: 1.846153846;
</span><span class="cx"> }
</span><del>-.entry-content h6 {
</del><ins>+.entry-content h6,
+.comment-content h6 {
</ins><span class="cx">         font-size: 12px;
</span><span class="cx">         font-size: 0.857142857rem;
</span><span class="cx">         line-height: 1.846153846;
</span><span class="cx"> }
</span><del>-.entry-content p {
</del><ins>+.entry-content p,
+.comment-content p {
</ins><span class="cx">         margin: 0 0 24px;
</span><span class="cx">         margin: 0 0 1.714285714rem;
</span><span class="cx">         line-height: 1.714285714;
</span><span class="cx"> }
</span><span class="cx"> .entry-content ol,
</span><del>-.entry-content ul {
</del><ins>+.comment-content ol,
+.entry-content ul,
+.comment-content ul {
</ins><span class="cx">         margin: 0 0 24px;
</span><span class="cx">         margin: 0 0 1.714285714rem;
</span><span class="cx">         line-height: 1.714285714;
</span><span class="cx"> }
</span><span class="cx"> .entry-content ul ul,
</span><ins>+.comment-content ul ul,
</ins><span class="cx"> .entry-content ol ol,
</span><ins>+.comment-content ol ol,
</ins><span class="cx"> .entry-content ul ol,
</span><del>-.entry-content ol ul {
</del><ins>+.comment-content ul ol,
+.entry-content ol ul,
+.comment-content ol ul {
</ins><span class="cx">         margin-bottom: 0;
</span><span class="cx"> }
</span><del>-.entry-content ul {
</del><ins>+.entry-content ul,
+.comment-content ul {
</ins><span class="cx">         list-style: disc outside;
</span><span class="cx"> }
</span><del>-.entry-content ol {
</del><ins>+.entry-content ol,
+.comment-content ol {
</ins><span class="cx">         list-style: decimal outside;
</span><span class="cx"> }
</span><del>-.entry-content li {
</del><ins>+.entry-content li,
+.comment-content li {
</ins><span class="cx">         margin: 0 0 0 24px;
</span><span class="cx">         margin: 0 0 0 1.714285714rem;
</span><span class="cx"> }
</span><del>-.entry-content blockquote {
</del><ins>+.entry-content blockquote,
+.comment-content blockquote {
</ins><span class="cx">         padding: 24px;
</span><span class="cx">         padding: 1.714285714rem;
</span><span class="cx">         font-style: italic;
</span><span class="cx"> }
</span><del>-.entry-content code {
</del><ins>+.entry-content code,
+.comment-content code {
</ins><span class="cx">         font-family: Consolas, Monaco, Lucida Console, monospace;
</span><span class="cx">         font-size: 12px;
</span><span class="cx">         font-size: 0.857142857rem;
</span><span class="cx">         line-height: 2;
</span><span class="cx"> }
</span><del>-.entry-content pre {
</del><ins>+.entry-content pre,
+.comment-content pre {
</ins><span class="cx">         margin: 24px 0;
</span><span class="cx">         margin: 1.714285714rem 0;
</span><span class="cx">         padding: 24px;
</span><span class="lines">@@ -883,15 +924,19 @@
</span><span class="cx">         line-height: 2;
</span><span class="cx">         overflow: auto;
</span><span class="cx"> }
</span><del>-.entry-content pre code {
</del><ins>+.entry-content pre code,
+.comment-content pre code {
</ins><span class="cx">         display: block;
</span><span class="cx"> }
</span><span class="cx"> .entry-content abbr,
</span><del>-.entry-content dfn {
</del><ins>+.comment-content abbr,
+.entry-content dfn,
+.comment-content dfn {
</ins><span class="cx">         border-bottom: 1px dotted #666;
</span><span class="cx">         cursor: help;
</span><span class="cx"> }
</span><del>-.entry-content address {
</del><ins>+.entry-content address,
+.comment-content address {
</ins><span class="cx">         display: block;
</span><span class="cx">         margin: 0 0 24px;
</span><span class="cx">         margin: 0 0 1.714285714rem;
</span><span class="lines">@@ -914,24 +959,29 @@
</span><span class="cx">         margin-bottom: 24px;
</span><span class="cx">         margin-bottom: 1.714285714rem;
</span><span class="cx"> }
</span><del>-.entry-content dl {
</del><ins>+.entry-content dl,
+.comment-content dl {
</ins><span class="cx">         margin: 0 24px;
</span><span class="cx">         margin: 0 1.714285714rem;
</span><span class="cx"> }
</span><del>-.entry-content dt {
</del><ins>+.entry-content dt,
+.comment-content dt {
</ins><span class="cx">         font-weight: bold;
</span><span class="cx"> }
</span><del>-.entry-content dd {
</del><ins>+.entry-content dd,
+.comment-content dd {
</ins><span class="cx">         margin-bottom: 24px;
</span><span class="cx">         margin-bottom: 1.714285714rem;
</span><span class="cx"> }
</span><del>-.entry-content table {
</del><ins>+.entry-content table,
+.comment-content table {
</ins><span class="cx">         border-bottom: 1px solid #ededed;
</span><span class="cx">         margin: 0 0 24px;
</span><span class="cx">         margin: 0 0 1.714285714rem;
</span><span class="cx">         width: 100%;
</span><span class="cx"> }
</span><del>-.entry-content th {
</del><ins>+.entry-content th,
+.comment-content th {
</ins><span class="cx">         color: #666;
</span><span class="cx">         font-size: 10px;
</span><span class="cx">         font-size: 0.714285714rem;
</span><span class="lines">@@ -940,7 +990,8 @@
</span><span class="cx">         line-height: 1.846153846;
</span><span class="cx">         text-transform: uppercase;
</span><span class="cx"> }
</span><del>-.entry-content td {
</del><ins>+.entry-content td,
+.comment-content td {
</ins><span class="cx">         border-top: 1px solid #ededed;
</span><span class="cx">         padding: 6px 10px 6px 0;
</span><span class="cx"> }
</span><span class="lines">@@ -1458,15 +1509,6 @@
</span><span class="cx">         font-size: 0.928571429rem;
</span><span class="cx">         line-height: 1.846153846;
</span><span class="cx"> }
</span><del>-.widget_search input[type="text"] {
-        padding: 6px;
-        padding: 0.428571429rem;
-        font-family: inherit;
-        border: 1px solid #ccc;
-        -webkit-border-radius: 3px;
-        -moz-border-radius: 3px;
-        border-radius: 3px;
-}
</del><span class="cx"> .widget_rss li {
</span><span class="cx">         margin: 12px 0;
</span><span class="cx">         margin: 0.857142857rem 0;
</span></span></pre>
</div>
</div>
</body>
</html>