Making WordPress.org

Changeset 9545


Ignore:
Timestamp:
02/28/2020 01:07:29 AM (5 years ago)
Author:
coffee2code
Message:

Developer theme: Adjust some handbook styling.

  • Keep ToC aligned with first paragraph at widest breakpoint as the case for all other breakpoints.
  • Remove vertical padding from GitHub edit links.
Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
Files:
2 edited

Legend:

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

    r9483 r9545  
    2121        box-sizing: border-box;
    2222    }
     23
     24    /* Override inline style from wporg-markdown plugin. */
     25    a.github-edit {
     26        padding: 0 .6em 0;
     27    }
     28
    2329    #content, #content-area {
    2430        padding: 0 10px;
     
    19471953
    19481954    @media (min-width: 971px) {
    1949         margin: -15px -30px 15px 15px;
     1955        margin: 0 -30px 15px 15px;
    19501956    }
    19511957
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css

    r9483 r9545  
    283283.devhub-wrap {
    284284  padding-bottom: 1.5em;
     285  /* Override inline style from wporg-markdown plugin. */
    285286  /* Text meant only for screen readers */
    286287  /* Clearing */
     
    324325}
    325326
     327.devhub-wrap a.github-edit {
     328  padding: 0 .6em 0;
     329}
     330
    326331.devhub-wrap #content, .devhub-wrap #content-area {
    327332  padding: 0 10px;
     
    23272332@media (min-width: 971px) {
    23282333  .site-main .table-of-contents {
    2329     margin: -15px -30px 15px 15px;
     2334    margin: 0 -30px 15px 15px;
    23302335  }
    23312336}
Note: See TracChangeset for help on using the changeset viewer.