Making WordPress.org

Changeset 550


Ignore:
Timestamp:
04/23/2014 11:01:53 PM (11 years ago)
Author:
samuelsidler
Message:

P2 theme, handbook pages: Add new design to handbooks. Fixes #430. Props sonjanyc

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

Legend:

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

    r7 r550  
    77?>
    88<li id="prologue-<?php the_ID(); ?>" <?php post_class(); ?>>
    9     <h4>
     9    <h6>
    1010        <span class="meta">
    1111            <span class="actions">
     
    3232            <?php endif; ?>
    3333        </span>
    34     </h4>
     34    </h6>
    3535
    3636    <?php
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/single-handbook.php

    r7 r550  
    1111
    1212    <div id="main">
    13         <h2>Handbook</h2>
    14         <h3 class="handbook-page-title"><?php the_title(); ?></h3>
     13        <h2 class="handbook-page-title"><?php the_title(); ?></h2>
    1514        <?php if ( have_posts() ) : ?>
    1615
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css

    r468 r550  
    1919.single-handbook #sidebar {
    2020    float: left;
    21     margin-left: 0;
    22     margin-right: -1px;
     21    margin-left: 6px;
    2322}
    2423
     
    2625.post-type-archive-handbook ul#menu-table-of-contents a[href="#"],
    2726.single-handbook ul#menu-table-of-contents a[href="#"]{
    28     font-weight: normal;
    29     color: #555;
    30     font-size: 125%;
     27    font-weight: bold;
     28    color: #555;
     29    font-size: 115%;
    3130    padding: 4px 0;
    3231    display: block;
    3332    cursor: text;
     33}
     34
     35.post-type-archive-handbook ul#menu-table-of-contents a,
     36.single-handbook ul#menu-table-of-contents a {
     37    color: #555;
     38}
     39
     40.post-type-archive-handbook h2.widgettitle,
     41.single-handbook h2.widgettitle {
     42    background: #d6d6d6;
     43    margin-bottom: 0!important;
     44    text-align: center;
     45    text-transform: uppercase;
     46    letter-spacing: 3px;
     47    font-size: 0.6em;
     48    padding: 5px 0;
     49}
     50
     51.single-handbook a {
     52    color: #267db2;
     53}
     54
     55.single-handbook .current-menu-item a {
     56    color: #267db2!important;
     57    font-weight: bold!important;
     58}
     59
     60.single-handbook .current-menu-item ul li a {
     61    color: #555!important;
     62    font-weight: normal!important;
     63}
     64
     65.single-handbook a:hover,
     66.single-handbook .current-menu-item ul li a:hover {
     67    color: #d54e21!important;
     68}
     69
     70.single-handbook div.table-of-contents {
     71    float: right;
     72    width: 200px;
     73    background: #f5f5f5;
     74    border: 1px solid #d6d6d6;
     75    margin: 0 0 0 10px;
     76    z-index: 1;
     77    position: relative;
     78}
     79
     80.single-handbook div.table-of-contents h2 {
     81    margin: 0;
     82    padding-bottom: 8px!important;
     83    text-align: center;
     84    text-transform: uppercase;
     85    font-size: 1em!important;
     86    letter-spacing: 3px;
     87    background: #d6d6d6;
     88}
     89
     90.single-handbook ul.items {
     91    margin-bottom: 8px!important;
     92    list-style-type: none!important;
     93    padding-right: 10px;
     94}
     95
     96.single-handbook ul.items li {
     97    padding-bottom: 6px!important;
     98}
     99
     100.single-handbook ul.items li ul li,
     101.single-handbook ul.items li ul li ul li {
     102    padding-bottom: 0!important;
     103}
     104
     105.single-handbook ul.items li a {
     106    color: #555;
     107}
     108
     109li.type-handbook {
     110    padding-top: 0!important;
    34111}
    35112
     
    44121.handbook-page-title {
    45122    font-size: 2em;
    46     padding-bottom: 4px;
    47     color: #777;
    48123}
    49124
     
    69144    font-size: 16px;
    70145    font-weight: bold;
    71     margin: 1em 0;
     146    margin: 0;
     147}
     148
     149ul#menu-table-of-contents {
     150    padding: 12px;
     151    background: #f5f5f5;
    72152}
    73153
     
    174254}
    175255
    176 #main span.meta span.actions {
    177     top: 6px;
     256#main h6 {
     257    background-color: #f5f5f5;
     258    height: 20px;
     259    padding: 0;
     260    margin: 0 0 20px 0;
     261}
     262
     263#main h6 span.meta span.actions {
     264    font-size: 1.5em;
     265    font-family: Arial;
     266}
     267
     268#main h6 span.meta span.actions a,
     269#main h6 span.meta span.actions a:active,
     270#main h6 span.meta span.actions a:visited,
     271#main .selected h6 span.meta span.actions a,
     272#main .selected h6 span.meta span.actions a:active,
     273#main .selected h6 span.meta span.actions a:visited {
     274    color: #555;
     275    text-decoration: none!important;
     276    border-bottom: 0;
     277}
     278
     279#main h6 span.meta span.actions a:hover,
     280#main .selected h6 span.meta span.actions a:hover {
     281    color: #d54e21;
    178282}
    179283
Note: See TracChangeset for help on using the changeset viewer.