Making WordPress.org

Changeset 7


Ignore:
Timestamp:
05/20/2013 06:11:19 AM (11 years ago)
Author:
nacin
Message:

WP.org P2 child theme: Add templates and styles for handbooks.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/header.php

    r4 r7  
    4141<div id="wrapper">
    4242
    43     <?php get_sidebar(); ?>
     43    <?php get_sidebar( get_post_type() ); ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css

    r5 r7  
    55*/
    66@import url('../../p2/style.css');
     7
     8.post-type-archive-handbook .postcontent,
     9.single-handbook .postcontent {
     10    padding-left: 0;
     11}
     12
     13.post-type-archive-handbook .sleeve_main,
     14.single-handbook .sleeve_main {
     15    margin-left: 242px;
     16    margin-right: 0;
     17}
     18
     19.post-type-archive-handbook #sidebar,
     20.single-handbook #sidebar {
     21    float: left;
     22    margin-left: 0;
     23    margin-right: -1px;
     24}
     25
     26li.type-handbook code {
     27    background: #eee;
     28    text-shadow: 0 1px 0 #fff;
     29    padding: 4px 6px;
     30    -webkit-border-radius: 5px;
     31    border-radius: 5px;
     32}
     33
     34.handbook-page-title {
     35    font-size: 2em;
     36    padding-bottom: 4px;
     37    color: #777;
     38}
     39li.type-handbook h2 {
     40    font-size: 24px;
     41    border-bottom: 1px solid #ddd;
     42    margin: 1em 0;
     43}
     44
     45li.type-handbook h3 {
     46    text-transform: none;
     47    letter-spacing: 0;
     48    color: #555;
     49    font-size: 20px;
     50    font-weight: bold;
     51    margin: 1em 0;
     52}
     53
     54li.type-handbook h4 {
     55    text-transform: none;
     56    letter-spacing: 0;
     57    color: #555;
     58    font-size: 16px;
     59    font-weight: bold;
     60    margin: 1em 0;
     61}
     62
     63ul#menu-table-of-contents > li {
     64    list-style: none;
     65    margin-bottom: 16px;
     66}
     67
     68ul#menu-table-of-contents li ul a {
     69    font-weight: normal;
     70}
    771
    872html body {
Note: See TracChangeset for help on using the changeset viewer.