Making WordPress.org

Changeset 3687


Ignore:
Timestamp:
07/15/2016 07:15:26 PM (10 years ago)
Author:
coffee2code
Message:

Breathe: Add custom display handling for handbooks.

  • Add template for single handbook pages.
  • Add template for handbook-specific sidebar.
  • Add basic styles (primarily for sidebar, handbook name link, header padding).

See #1825.

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

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r3677 r3687  
    439439        }
    440440}
     441
     442/*
     443 * Handbook
     444 */
     445
     446.single-handbook #secondary {
     447        clear: left;
     448}
     449
     450.single-handbook .widget-area {
     451        float: left;
     452        margin-right: 4%;
     453}
     454.handbook-header {
     455        line-height: 2em;
     456}
     457.handbook-header h1 {
     458        margin-top: 0;
     459}
     460
     461.post-type-archive-handbook .handbook-name a:not(:hover),
     462.single-handbook .handbook-name a:not(:hover) {
     463        color: inherit;
     464}
     465
     466.handbook-name {
     467        text-align: center;
     468        color: #aaa;
     469        margin-bottom: 1.5em;
     470        overflow: hidden;
     471        letter-spacing: 2px;
     472        font-size: 1.5em;
     473        text-transform: uppercase;
     474        border-bottom: 0;
     475}
     476.handbook-name span {
     477        display: inline-block;
     478        position: relative;
     479}
     480.handbook-name span:before,
     481.handbook-name span:after {
     482        content: "";
     483        position: absolute;
     484        border-top: 1px solid #ccc;
     485        top: 49%;
     486        width: 600px;
     487}
     488.handbook-name span:before {
     489        right: 100%;
     490        margin-right: 10px;
     491}
     492.handbook-name span:after {
     493        left: 100%;
     494        margin-left: 10px;
     495}
     496
Note: See TracChangeset for help on using the changeset viewer.