Making WordPress.org


Ignore:
Timestamp:
08/19/2014 05:45:03 PM (10 years ago)
Author:
coffee2code
Message:

Code Reference: add handbook name header to the top of handbook pages, per mockup. Related: #439

File:
1 edited

Legend:

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

    r798 r803  
    651651
    652652    .reference-landing {
    653         padding: 1em 0;
    654 
    655653        .section {
    656654            max-width: 700px;
     
    11681166        }
    11691167    }
     1168
     1169    .handbook-name {
     1170        text-align: center;
     1171        margin-bottom: 1em;
     1172        margin-right: 1.2rem;
     1173        overflow-x: hidden;
     1174        letter-spacing: 2px;
     1175        padding-top: 8px;
     1176
     1177        div {
     1178            font-weight: 100;
     1179            margin: 0.5rem 0 0;
     1180            font-size: 36px;
     1181        }
     1182
     1183        span {
     1184            display: inline-block;
     1185            position: relative;
     1186            color: #aaa;
     1187            text-transform: uppercase;
     1188
     1189            &:before,
     1190            &:after {
     1191                content: "";
     1192                position: absolute;
     1193                border-top: 1px solid #ccc;
     1194                top: 49%;
     1195                width: 600px;
     1196            }
     1197
     1198            &:before {
     1199                right: 100%;
     1200                margin-right: 10px;
     1201            }
     1202
     1203            &:after {
     1204                left: 100%;
     1205                margin-left: 10px;
     1206            }
     1207
     1208            &.wpicon div {
     1209                margin: -0.7rem 2rem 0 -1.8rem;
     1210                font-size: 2.5em;
     1211                padding: 0 2rem;
     1212
     1213                &:before {
     1214                    content: "\f324";
     1215                }
     1216
     1217                &:before,
     1218                &:after {
     1219                    border-top-width: 3px;
     1220                }
     1221            }
     1222
     1223            .dashicons {
     1224                font-size: 2.5em;
     1225            }
     1226        }
     1227    }
    11701228}
    11711229
Note: See TracChangeset for help on using the changeset viewer.