Making WordPress.org

Changeset 1902


Ignore:
Timestamp:
09/21/2015 09:52:49 PM (9 years ago)
Author:
Otto42
Message:

Update style.css to use dashicons for categories on showcase. Fixes #122.

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

Legend:

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

    r1474 r1902  
    1111$prefix = is_ssl() ? 'https://' : 'http://s.';
    1212wp_enqueue_style( 'blog-wp4', $prefix.'wordpress.org/style/blog-wp4.css', array(), 4 );
    13 wp_enqueue_style( 'showcase', $prefix.'wordpress.org/wp-content/themes/showcase/style.css', array(), 13 );
     13wp_enqueue_style( 'showcase', $prefix.'wordpress.org/wp-content/themes/pub/wporg-showcase/style.css', array(), 13 );
    1414require WPORGPATH . 'header.php';
    1515?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/style.css

    r1474 r1902  
    624624}
    625625
    626 .secondary .cat-item-5 a,
    627 .secondary .cat-item-186 a,
    628 .secondary .cat-item-187 a,
    629 .secondary .cat-item-188 a {
    630     background: url(images/wp-logo-16.png) no-repeat;
    631     padding: 0 0 0 22px;
    632 }
    633 
    634 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    635     .secondary .cat-item-5 a,
    636     .secondary .cat-item-186 a,
    637     .secondary .cat-item-187 a,
    638     .secondary .cat-item-188 a {
    639         background: url(images/wp-logo-16-2x.png) no-repeat;
    640         background-size: 16px 16px;
    641     }
    642 }
    643 
    644 .secondary .cat-item-3 a {
    645     background: url(images/bp-logo-16.png) no-repeat;
    646     padding: 0 0 0 22px;
    647 }
    648 
    649 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    650     .secondary .cat-item-3 a {
    651         background: url(images/bp-logo-16-2x.png) no-repeat;
    652         background-size: 16px 16px;
    653     }
    654 }
     626.secondary .cat-item-5 a:before,
     627.secondary .cat-item-186 a:before,
     628.secondary .cat-item-187 a:before,
     629.secondary .cat-item-188 a:before {
     630    content: "\f120";
     631    font-family: dashicons;
     632    font-size: 16px;
     633    padding: 0 6px 0 0;
     634    position: relative;
     635    top: 2px;
     636}
     637
     638.secondary .cat-item-3 a:before {
     639    content: "\f448";
     640    font-family: dashicons;
     641    font-size: 16px;
     642    padding: 0 6px 0 0;
     643    position: relative;
     644    top: 2px;
     645}
     646
     647.secondary .cat-item-218 a:before {
     648    content: "\f477";
     649    font-family: dashicons;
     650    font-size: 16px;
     651    padding: 0 6px 0 0;
     652    position: relative;
     653    top: 2px;
     654}
     655
    655656
    656657/* Main Content Area */
     
    741742    position: absolute;
    742743    bottom: 0;
    743    
     744    height:auto;   
    744745    border-top: 1px #EFEFEF solid;
    745746    padding: 5px 0 0 0;
    746    
    747747    text-align: right;
    748748}
Note: See TracChangeset for help on using the changeset viewer.