WordPress.org

Making WordPress.org

Changeset 4302


Ignore:
Timestamp:
10/27/2016 10:50:16 AM (5 years ago)
Author:
pento
Message:

Breathe: Add some styling for the the handbook "Chapters" menu.

See #1825.

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

Legend:

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

    r4271 r4302  
    4747
    4848    // Cacheing hack
    49     wp_enqueue_style( 'wporg-breathe', get_stylesheet_uri(), array( 'p2-breathe' ), '20161019' );
     49    wp_enqueue_style( 'wporg-breathe', get_stylesheet_uri(), array( 'p2-breathe' ), '20161027' );
    5050}
    5151add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\styles', 11 );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r4268 r4302  
    139139#secondary-content .navigation-main ul li:hover > a,
    140140#secondary-content .navigation-main ul li.current-menu-item a {
    141 }
    142 
    143 #secondary-content .menu-table-of-contents-container ul li > ul li ul {
    144     margin-top: 4px;
    145     margin-bottom: -4px;
    146141}
    147142
     
    746741    }
    747742}
     743
     744/** Menu */
     745
     746.widget_wporg_handbook_pages h1 {
     747    font-size: 1.6em;
     748    font-weight: bold;
     749    margin-bottom: 0.6em;
     750}
     751
     752.menu-table-of-contents-container > ul {
     753    border-bottom: 1px solid #eee;
     754}
     755
     756#secondary .menu-table-of-contents-container ul {
     757    margin-left: 0;
     758}
     759
     760#secondary .menu-table-of-contents-container li {
     761    border-top: 1px solid #eee;
     762    padding: 0;
     763}
     764
     765.menu-table-of-contents-container > ul > li ul {
     766    background-color: #f6f6f6;
     767}
     768
     769.menu-table-of-contents-container a {
     770    display: block;
     771    width: 100%;
     772    padding: 5px 0 5px 10px;
     773    color: #23282d;
     774}
     775
     776.menu-table-of-contents-container .current-menu-item a {
     777    color: #191e23;
     778    font-weight: bold;
     779}
     780
     781.menu-table-of-contents-container > ul > li > ul > li > ul a {
     782    border-left: 10px solid #d5d5d5;
     783    padding-left: 15px;
     784}
     785
     786.menu-table-of-contents-container a:hover {
     787    color: #fff;
     788    background-color: #0073aa;
     789}
     790
     791.menu-table-of-contents-container > ul > li > ul > li > ul a:hover {
     792    border-left: 0;
     793    padding-left: 25px;
     794}
Note: See TracChangeset for help on using the changeset viewer.