Making WordPress.org


Ignore:
Timestamp:
07/08/2016 06:42:57 AM (7 years ago)
Author:
drewapicture
Message:

developer.wordpress.org: Add hover styles to table of contents links in Code Reference pages.

Also slightly tightens up unordered lists within the ToC.

h/t kevinwhoffman.

See #1814.

File:
1 edited

Legend:

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

    r3626 r3649  
    10561056        .table-of-contents {
    10571057            width: 300px;
     1058
     1059            ul {
     1060                margin-top: 6px;
     1061            }
     1062        }
     1063        ul.items {
     1064            li {
     1065                padding-bottom: 0px !important;
     1066            }
     1067            a {
     1068                &:hover {
     1069                    color: #d54e21 !important;
     1070                }
     1071            }
    10581072        }
    10591073        .toc-jump {
     
    14131427    }
    14141428
     1429    // Handbook ToC items.
    14151430    ul.items {
    14161431        margin-bottom: 8px !important;
Note: See TracChangeset for help on using the changeset viewer.