<!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>[25216] trunk/src/wp-content/themes/twentyfourteen: Twenty Fourteen: style adjustments for the new HTML5 comment markup, and minor bug fixes for comment responsive pattern.</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 { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { 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/25216">25216</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2013-09-02 22:02:15 +0000 (Mon, 02 Sep 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Twenty Fourteen: style adjustments for the new HTML5 comment markup, and minor bug fixes for comment responsive pattern. Props iamtakashi, fixes <a href="http://core.trac.wordpress.org/ticket/25045">#25045</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentyfourteencommentsphp">trunk/src/wp-content/themes/twentyfourteen/comments.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenstylecss">trunk/src/wp-content/themes/twentyfourteen/style.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpcontentthemestwentyfourteencommentsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/comments.php (25215 => 25216)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/comments.php 2013-09-02 21:50:24 UTC (rev 25215)
+++ trunk/src/wp-content/themes/twentyfourteen/comments.php 2013-09-02 22:02:15 UTC (rev 25216)
</span><span class="lines">@@ -40,6 +40,7 @@
</span><span class="cx"> wp_list_comments( array(
</span><span class="cx"> 'style' => 'ol',
</span><span class="cx"> 'short_ping' => true,
</span><ins>+ 'avatar_size'=> 42,
</ins><span class="cx"> ) );
</span><span class="cx"> ?>
</span><span class="cx"> </ol><!-- .comment-list -->
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/style.css (25215 => 25216)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/style.css 2013-09-02 21:50:24 UTC (rev 25215)
+++ trunk/src/wp-content/themes/twentyfourteen/style.css 2013-09-02 22:02:15 UTC (rev 25216)
</span><span class="lines">@@ -1768,12 +1768,19 @@
</span><span class="cx"> margin: 0 0 48px 0;
</span><span class="cx"> margin: 0 0 4.8rem 0;
</span><span class="cx"> }
</span><del>-.comment-metadata,
</del><span class="cx"> .comment-author {
</span><span class="cx"> font-size: 14px;
</span><span class="cx"> font-size: 1.4rem;
</span><span class="cx"> line-height: 1.7142857142;
</span><ins>+ text-transform: uppercase;
</ins><span class="cx"> }
</span><ins>+.comment-metadata,
+.comment-list .reply {
+ font-size: 12px;
+ font-size: 1.2rem;
+ line-height: 2;
+ text-transform: uppercase;
+}
</ins><span class="cx"> .comment-author .fn {
</span><span class="cx"> font-weight: 900;
</span><span class="cx"> text-transform: uppercase;
</span><span class="lines">@@ -1793,10 +1800,6 @@
</span><span class="cx"> color: #24890d;
</span><span class="cx"> text-decoration: none;
</span><span class="cx"> }
</span><del>-.comment-edit-link:before {
- color: rgba(0, 0, 0, 0.2);
- content: '\007c\0020';
-}
</del><span class="cx"> .comments-area article,
</span><span class="cx"> .comment-list .trackback,
</span><span class="cx"> .comment-list .pingback {
</span><span class="lines">@@ -1824,36 +1827,52 @@
</span><span class="cx"> padding: 2px;
</span><span class="cx"> padding: 0.2rem;
</span><span class="cx"> position: absolute;
</span><del>- top: 3px;
- top: 0.3rem;
</del><ins>+ top: 0;
</ins><span class="cx"> left: 0;
</span><del>- width: 22px;
- width: 2.2rem;
- height: 22px;
- height: 2.2rem;
</del><ins>+ width: 18px;
+ width: 1.8rem;
+ height: 18px;
+ height: 1.8rem;
</ins><span class="cx"> }
</span><span class="cx"> .bypostauthor .avatar {
</span><span class="cx"> background-color: #24890d;
</span><span class="cx"> }
</span><ins>+.says {
+ display: none;
+}
</ins><span class="cx"> .comment-author .fn {
</span><span class="cx"> font-style: normal;
</span><span class="cx"> }
</span><del>-.comment-author .avatar {
- position: absolute;
- top: 2px;
- top: 0.2rem;
- left: 2px;
- left: 0.2rem;
- width: 22px;
- width: 2.2rem;
- height: 22px;
- height: 2.2rem;
-}
</del><span class="cx"> .comment-metadata,
</span><del>-.comment-content {
</del><ins>+.comment-content,
+.comment-list .reply {
</ins><span class="cx"> padding-left: 36px;
</span><span class="cx"> padding-left: 3.6rem;
</span><span class="cx"> }
</span><ins>+.comment-edit-link:before,
+.comment-reply-link:before,
+.comment-reply-login:before {
+ display: inline-block;
+ -webkit-font-smoothing: antialiased;
+ font: normal 16px/1 'Genericons';
+ font-size:1.6rem;
+ vertical-align: top;
+}
+.comment-edit-link {
+ margin-left: 10px;
+ margin-left: 1.0rem;
+}
+.comment-edit-link:before {
+ content: "\f411";
+ margin: 3px 2px 0 0;
+ margin: 0.3rem 0.2rem 0 0;
+}
+.comment-reply-link:before,
+.comment-reply-login:before {
+ content: "\f412";
+ margin: 3px 3px 0 0;
+ margin: 0.3rem 0.3rem 0 0;
+}
</ins><span class="cx"> .comment-content a {
</span><span class="cx"> word-wrap: break-word;
</span><span class="cx"> }
</span><span class="lines">@@ -1880,8 +1899,8 @@
</span><span class="cx"> margin-bottom: 2.4rem;
</span><span class="cx"> }
</span><span class="cx"> .comment .comment-respond {
</span><del>- margin-left: 47px;
- margin-left: 4.7rem;
</del><ins>+ margin-left: 36px;
+ margin-left: 3.6rem;
</ins><span class="cx"> }
</span><span class="cx"> .comment-respond h3 {
</span><span class="cx"> margin-top: 0;
</span><span class="lines">@@ -2527,14 +2546,15 @@
</span><span class="cx"> padding-top: 3.6rem;
</span><span class="cx"> }
</span><span class="cx"> .comment-author .avatar {
</span><del>- width: 32px;
- width: 3.2rem;
- height: 32px;
- height: 3.2rem;
</del><ins>+ width: 42px;
+ width: 4.2rem;
+ height: 42px;
+ height: 4.2rem;
</ins><span class="cx"> }
</span><span class="cx"> .comment-author,
</span><span class="cx"> .comment-metadata,
</span><del>- .comment-content {
</del><ins>+ .comment-content,
+ .comment-list .reply {
</ins><span class="cx"> padding-left: 60px;
</span><span class="cx"> padding-left: 6.0rem;
</span><span class="cx"> }
</span><span class="lines">@@ -2556,6 +2576,10 @@
</span><span class="cx"> .comment-navigation {
</span><span class="cx"> padding-left: 9.12778904%;
</span><span class="cx"> }
</span><ins>+ .comment .comment-respond {
+ margin-left: 60px;
+ margin-left: 6.0rem;
+ }
</ins><span class="cx"> .image-navigation .previous-image,
</span><span class="cx"> .image-navigation .next-image,
</span><span class="cx"> .full-width .comment-navigation,
</span><span class="lines">@@ -2638,21 +2662,28 @@
</span><span class="cx"> .comments-title,
</span><span class="cx"> .no-comments,
</span><span class="cx"> .comment-respond,
</span><del>- .comments-area article,
- .comment-list .trackback,
- .comment-list .pingback,
</del><span class="cx"> .post-navigation [rel="prev"],
</span><span class="cx"> .post-navigation [rel="next"] {
</span><span class="cx"> padding-right: 12.39493534%;
</span><span class="cx"> padding-left: 17.06896551%;
</span><span class="cx"> }
</span><ins>+ .comments-area article,
+ .comment-list .trackback,
+ .comment-list .pingback {
+ padding-right: 11.25%;
+ padding-left: 15.46875%;
+ }
</ins><span class="cx"> .comment-respond {
</span><span class="cx"> padding-right: 13.8900862%;
</span><span class="cx"> }
</span><ins>+ .comment .comment-respond {
+ margin-left: 50px;
+ margin-left: 5.0rem;
+ }
</ins><span class="cx"> .comment-list,
</span><span class="cx"> .full-width .comment-list {
</span><del>- margin-left: -70px;
- margin-left: -7.0rem;
</del><ins>+ margin-left: -60px;
+ margin-left: -6.0rem;
</ins><span class="cx"> }
</span><span class="cx"> .comment-navigation {
</span><span class="cx"> padding-left: 17.06896551%;
</span><span class="lines">@@ -2847,6 +2878,10 @@
</span><span class="cx"> .comment-navigation {
</span><span class="cx"> padding-left: 9.19765166%;
</span><span class="cx"> }
</span><ins>+ .comment .comment-respond {
+ margin-left: 60px;
+ margin-left: 6.0rem;
+ }
</ins><span class="cx"> .image-navigation .previous-image,
</span><span class="cx"> .image-navigation .next-image,
</span><span class="cx"> .full-width .comment-navigation,
</span><span class="lines">@@ -2905,21 +2940,28 @@
</span><span class="cx"> .comments-title,
</span><span class="cx"> .no-comments,
</span><span class="cx"> .comment-respond,
</span><del>- .comments-area article,
- .comment-list .trackback,
- .comment-list .pingback,
</del><span class="cx"> .post-navigation [rel="prev"],
</span><span class="cx"> .post-navigation [rel="next"] {
</span><span class="cx"> padding-right: 12.44146986%;
</span><span class="cx"> padding-left: 16.77524429%;
</span><span class="cx"> }
</span><ins>+ .comments-area article,
+ .comment-list .trackback,
+ .comment-list .pingback {
+ padding-right: 11.27596439%;
+ padding-left: 15.2818991%;
+ }
</ins><span class="cx"> .comment-respond {
</span><span class="cx"> padding-right: 13.73697916%;
</span><span class="cx"> }
</span><ins>+ .comment .comment-respond {
+ margin-left: 50px;
+ margin-left: 5.0rem;
+ }
</ins><span class="cx"> .comment-list,
</span><span class="cx"> .full-width .comment-list {
</span><del>- margin-left: -70px;
- margin-left: -7.0rem;
</del><ins>+ margin-left: -60px;
+ margin-left: -6.0rem;
</ins><span class="cx"> }
</span><span class="cx"> .comment-navigation {
</span><span class="cx"> padding-left: 16.77524429%;
</span></span></pre>
</div>
</div>
</body>
</html>