WordPress.org

Making WordPress.org

Changeset 894


Ignore:
Timestamp:
10/10/2014 08:41:10 PM (7 years ago)
Author:
coffee2code
Message:

Code Reference: improve table styling in handbook content

See #631.
props tjnowell.

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

    r893 r894  
    2222    #content, #content-area {
    2323        padding: 0 10px;
     24
    2425        .toc-heading {
    2526            clear: left;
     27        }
     28
     29        table {
     30            border: 1px solid #f0f0f0;
     31            th {
     32                padding: 1em;
     33                border-bottom: 1px solid #f0f0f0;
     34                background: #f0f0f0;
     35            }
     36            td {
     37                padding: 0.8em 1em;
     38            }
    2639        }
    2740    }
     
    4659        h6 {
    4760            color: #1e1e1e;
    48             margin-bottom: 1.5em;
     61            margin-bottom: 1.5rem;
    4962        }
    5063
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css

    r893 r894  
    318318  clear: left;
    319319}
     320.devhub-wrap #content table, .devhub-wrap #content-area table {
     321  border: 1px solid #f0f0f0;
     322}
     323.devhub-wrap #content table th, .devhub-wrap #content-area table th {
     324  padding: 1em;
     325  border-bottom: 1px solid #f0f0f0;
     326  background: #f0f0f0;
     327}
     328.devhub-wrap #content table td, .devhub-wrap #content-area table td {
     329  padding: 0.8em 1em;
     330}
    320331.devhub-wrap #content-area,
    321332.devhub-wrap .inner-wrap {
     
    335346.devhub-wrap .site-main h6 {
    336347  color: #1e1e1e;
    337   margin-bottom: 1.5em;
     348  margin-bottom: 1.5rem;
    338349}
    339350.devhub-wrap #headline h2 a {
Note: See TracChangeset for help on using the changeset viewer.