Making WordPress.org


Ignore:
Timestamp:
05/22/2014 04:31:20 PM (12 years ago)
Author:
coffee2code
Message:

Code Reference: handbook sidebar styles. props nicolealleyinteractivecom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss

    r620 r637  
    636636
    637637    .reference-landing .box,
    638     .sidebar .box,
    639     .sidebar .widget_wporg_handbook_pages {
     638    .sidebar .box {
    640639        padding: 0;
    641640        border: 2px solid #cccccc;
     
    658657
    659658    }
     659    #sidebar {
     660        padding: 0;
     661        border: 2px solid #cecece;
     662        background-color: #f4f3f3;
     663        & > ul {
     664            padding: 0;
     665            margin: 0;
     666            list-style-type: none;
     667            li {
     668                h2.widgettitle {
     669                background-color: #cecece;
     670                color: #8a8989;
     671                text-align: center;
     672                text-transform: uppercase;
     673                font-size: 14px;
     674                letter-spacing: 2px;
     675                }
     676                ul {
     677                    list-style-type: none;
     678                    margin-left: 10px;
     679                    padding: 15px 0;
     680                    counter-reset: item;
     681                    li {
     682                        &:before {
     683                            content: counter(item);
     684                            counter-increment: item;
     685                            background-color: #cecece;
     686                            width: 25px;
     687                            display: inline-block;
     688                            color: #fff;
     689                            margin-right: 10px;
     690                            text-align: center;
     691                            padding: 3px 0;
     692                            font-size: 13px;
     693                            border-radius: 50%;
     694                        }
     695                        a {
     696                            font-size: 14px;
     697                            color: #4b4b4b;
     698                            font-weight: bold;
     699                        }
     700                        ul {
     701                            list-style-type: none;
     702                            padding: 0;
     703                            margin-left: 44px;
     704                            li {
     705                                &:before {
     706                                    content: none;
     707                                }
     708                                a {
     709                                    font-weight: normal;
     710                                }
     711                                ul {
     712                                    margin-left: 20px;
     713                                }
     714                            }
     715                        }
     716                    }
     717                }
     718            }
     719        }
     720    }
    660721
    661722    .reference-landing .box ul {
     
    675736
    676737
     738    #sidebar,
    677739    .no-bullets,
    678740    .sidebar .widget ul {
Note: See TracChangeset for help on using the changeset viewer.