Making WordPress.org


Ignore:
Timestamp:
05/31/2018 12:51:13 PM (7 years ago)
Author:
netweb
Message:

Support Theme: Update CSS to meet WordPress CSS Coding Standards

See https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/elements/_badges.scss

    r5904 r7256  
    44
    55.by-moderator {
    6     box-shadow: -4px 0 0 white, -6px 0 0 $color__moderator;
     6    box-shadow: -4px 0 0 #fff, -6px 0 0 $color__moderator;
    77}
     8
    89.by-plugin-author,
    910.by-plugin-contributor,
    1011.by-plugin-support-rep {
    11     box-shadow: -4px 0 0 white, -6px 0 0 $color__plugin-author;
     12    box-shadow: -4px 0 0 #fff, -6px 0 0 $color__plugin-author;
    1213}
    1314
     
    1516.by-theme-contributor,
    1617.by-theme-support-rep {
    17     box-shadow: -4px 0 0 white, -6px 0 0 $color__theme-author;
     18    box-shadow: -4px 0 0 #fff, -6px 0 0 $color__theme-author;
    1819}
    1920
     
    2122    position: absolute;
    2223    top: 14px;
    23     left: -4px; 
     24    left: -4px;
    2425    padding: 2px 6px;
    25     color: white;
     26    color: #fff;
    2627    font-size: 0.6rem;
    2728    letter-spacing: 1px;
     
    4445.bbp-search .bbp-search-results,
    4546.bbp-user-replies-created {
     47
    4648    div.author-has-badge {
    4749        box-shadow: none;
     
    7274
    7375@media screen and ( max-width: 480px ) {
     76
    7477    .author-badge {
    7578        top: -28px;
    7679    }
    7780}
    78 
Note: See TracChangeset for help on using the changeset viewer.