<!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>[550] sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2: P2 theme, handbook pages: Add new design to handbooks.</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://meta.trac.wordpress.org/changeset/550">550</a></dd>
<dt>Author</dt> <dd>samuelsidler</dd>
<dt>Date</dt> <dd>2014-04-23 23:01:53 +0000 (Wed, 23 Apr 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>P2 theme, handbook pages: Add new design to handbooks. Fixes <a href="http://meta.trac.wordpress.org/ticket/430">#430</a>. Props sonjanyc</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2entryhandbookphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/entry-handbook.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2singlehandbookphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/single-handbook.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2stylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2entryhandbookphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/entry-handbook.php (549 => 550)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/entry-handbook.php 2014-04-23 22:43:30 UTC (rev 549)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/entry-handbook.php 2014-04-23 23:01:53 UTC (rev 550)
</span><span class="lines">@@ -6,7 +6,7 @@
</span><span class="cx"> */
</span><span class="cx"> ?>
</span><span class="cx"> <li id="prologue-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>- <h4>
</del><ins>+ <h6>
</ins><span class="cx"> <span class="meta">
</span><span class="cx"> <span class="actions">
</span><span class="cx"> <a href="<?php the_permalink(); ?>" class="thepermalink printer-only" title="<?php esc_attr_e( 'Permalink', 'p2' ); ?>"><?php _e( 'Permalink', 'p2' ); ?></a>
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> </span>
</span><span class="cx"> <?php endif; ?>
</span><span class="cx"> </span>
</span><del>- </h4>
</del><ins>+ </h6>
</ins><span class="cx">
</span><span class="cx"> <?php
</span><span class="cx"> /*
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2singlehandbookphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/single-handbook.php (549 => 550)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/single-handbook.php 2014-04-23 22:43:30 UTC (rev 549)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/single-handbook.php 2014-04-23 23:01:53 UTC (rev 550)
</span><span class="lines">@@ -10,8 +10,7 @@
</span><span class="cx"> <div class="sleeve_main">
</span><span class="cx">
</span><span class="cx"> <div id="main">
</span><del>- <h2>Handbook</h2>
- <h3 class="handbook-page-title"><?php the_title(); ?></h3>
</del><ins>+ <h2 class="handbook-page-title"><?php the_title(); ?></h2>
</ins><span class="cx"> <?php if ( have_posts() ) : ?>
</span><span class="cx">
</span><span class="cx"> <ul id="postlist">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2stylecss"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css (549 => 550)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css 2014-04-23 22:43:30 UTC (rev 549)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css 2014-04-23 23:01:53 UTC (rev 550)
</span><span class="lines">@@ -18,21 +18,98 @@
</span><span class="cx"> .post-type-archive-handbook #sidebar,
</span><span class="cx"> .single-handbook #sidebar {
</span><span class="cx"> float: left;
</span><del>- margin-left: 0;
- margin-right: -1px;
</del><ins>+ margin-left: 6px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Better styling for handbook sidebars if they use a "Table of Contents" menu */
</span><span class="cx"> .post-type-archive-handbook ul#menu-table-of-contents a[href="#"],
</span><span class="cx"> .single-handbook ul#menu-table-of-contents a[href="#"]{
</span><del>- font-weight: normal;
</del><ins>+ font-weight: bold;
</ins><span class="cx"> color: #555;
</span><del>- font-size: 125%;
</del><ins>+ font-size: 115%;
</ins><span class="cx"> padding: 4px 0;
</span><span class="cx"> display: block;
</span><span class="cx"> cursor: text;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+.post-type-archive-handbook ul#menu-table-of-contents a,
+.single-handbook ul#menu-table-of-contents a {
+ color: #555;
+}
+
+.post-type-archive-handbook h2.widgettitle,
+.single-handbook h2.widgettitle {
+ background: #d6d6d6;
+ margin-bottom: 0!important;
+ text-align: center;
+ text-transform: uppercase;
+ letter-spacing: 3px;
+ font-size: 0.6em;
+ padding: 5px 0;
+}
+
+.single-handbook a {
+ color: #267db2;
+}
+
+.single-handbook .current-menu-item a {
+ color: #267db2!important;
+ font-weight: bold!important;
+}
+
+.single-handbook .current-menu-item ul li a {
+ color: #555!important;
+ font-weight: normal!important;
+}
+
+.single-handbook a:hover,
+.single-handbook .current-menu-item ul li a:hover {
+ color: #d54e21!important;
+}
+
+.single-handbook div.table-of-contents {
+ float: right;
+ width: 200px;
+ background: #f5f5f5;
+ border: 1px solid #d6d6d6;
+ margin: 0 0 0 10px;
+ z-index: 1;
+ position: relative;
+}
+
+.single-handbook div.table-of-contents h2 {
+ margin: 0;
+ padding-bottom: 8px!important;
+ text-align: center;
+ text-transform: uppercase;
+ font-size: 1em!important;
+ letter-spacing: 3px;
+ background: #d6d6d6;
+}
+
+.single-handbook ul.items {
+ margin-bottom: 8px!important;
+ list-style-type: none!important;
+ padding-right: 10px;
+}
+
+.single-handbook ul.items li {
+ padding-bottom: 6px!important;
+}
+
+.single-handbook ul.items li ul li,
+.single-handbook ul.items li ul li ul li {
+ padding-bottom: 0!important;
+}
+
+.single-handbook ul.items li a {
+ color: #555;
+}
+
+li.type-handbook {
+ padding-top: 0!important;
+}
+
</ins><span class="cx"> li.type-handbook code {
</span><span class="cx"> background: #eee;
</span><span class="cx"> text-shadow: 0 1px 0 #fff;
</span><span class="lines">@@ -43,8 +120,6 @@
</span><span class="cx">
</span><span class="cx"> .handbook-page-title {
</span><span class="cx"> font-size: 2em;
</span><del>- padding-bottom: 4px;
- color: #777;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> li.type-handbook h2 {
</span><span class="lines">@@ -68,9 +143,14 @@
</span><span class="cx"> color: #555;
</span><span class="cx"> font-size: 16px;
</span><span class="cx"> font-weight: bold;
</span><del>- margin: 1em 0;
</del><ins>+ margin: 0;
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+ul#menu-table-of-contents {
+ padding: 12px;
+ background: #f5f5f5;
+}
+
</ins><span class="cx"> ul#menu-table-of-contents > li {
</span><span class="cx"> list-style: none;
</span><span class="cx"> margin-bottom: 16px;
</span><span class="lines">@@ -173,10 +253,34 @@
</span><span class="cx"> position: relative;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#main span.meta span.actions {
- top: 6px;
</del><ins>+#main h6 {
+ background-color: #f5f5f5;
+ height: 20px;
+ padding: 0;
+ margin: 0 0 20px 0;
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+#main h6 span.meta span.actions {
+ font-size: 1.5em;
+ font-family: Arial;
+}
+
+#main h6 span.meta span.actions a,
+#main h6 span.meta span.actions a:active,
+#main h6 span.meta span.actions a:visited,
+#main .selected h6 span.meta span.actions a,
+#main .selected h6 span.meta span.actions a:active,
+#main .selected h6 span.meta span.actions a:visited {
+ color: #555;
+ text-decoration: none!important;
+ border-bottom: 0;
+}
+
+#main h6 span.meta span.actions a:hover,
+#main .selected h6 span.meta span.actions a:hover {
+ color: #d54e21;
+}
+
</ins><span class="cx"> /* Fix display of empty comments (which can happen on edit) */
</span><span class="cx"> #main .commentlist .commentcontent {
</span><span class="cx"> min-height: 2.4em;
</span></span></pre>
</div>
</div>
</body>
</html>