Make WordPress Core

Changeset 29976


Ignore:
Timestamp:
10/20/2014 07:38:41 PM (10 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: updated styles for skip link.

Props afercia and iamtakashi, fixes #30043.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/style.css

    r29974 r29976  
    11561156}
    11571157
    1158 .screen-reader-text:hover,
    1159 .screen-reader-text:focus {
     1158/* must have higher specificity than alternative color schemes inline styles */
     1159.site .skip-link {
    11601160    background-color: #f1f1f1;
    1161     border-radius: 0;
    11621161    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
    1163     clip: auto;
    11641162    color: #21759b;
    11651163    display: block;
    1166     font: bold 14px/normal "Open Sans", sans-serif;
    1167     height: auto;
     1164    font: bold 14px/normal "Noto Sans", sans-serif;
     1165    left: -9999em;
    11681166    outline: none;
    11691167    padding: 15px 23px 14px;
    1170     position: absolute;
    1171     top: 5px;
    1172     left: 5px;
    11731168    text-decoration: none;
    11741169    text-transform: none;
     1170    top: -9999em;
     1171}
     1172
     1173.logged-in .site .skip-link {
     1174    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
     1175    font: bold 14px/normal "Open Sans", sans-serif;
     1176}
     1177
     1178.site .skip-link:focus {
     1179    clip: auto;
     1180    height: auto;
     1181    left: 6px;
     1182    top: 7px;
    11751183    width: auto;
    11761184    z-index: 100000;
Note: See TracChangeset for help on using the changeset viewer.