Making WordPress.org

Changeset 4716


Ignore:
Timestamp:
01/18/2017 03:35:55 AM (10 years ago)
Author:
pento
Message:

Breathe: Beautify (not beatify) standard table layouts.

Props dingo_bastard.
Fixes #2372.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/functions.php

    r4715 r4716  
    4747
    4848        // Cacheing hack
    49         wp_enqueue_style( 'wporg-breathe', get_stylesheet_uri(), array( 'p2-breathe' ), '20170118' );
     49        wp_enqueue_style( 'wporg-breathe', get_stylesheet_uri(), array( 'p2-breathe' ), '20170118a' );
    5050}
    5151add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\styles', 11 );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r4715 r4716  
    1717.site-header .site-title {
    1818        font-family: 'Open Sans', sans-serif;
     19}
     20
     21table {
     22/* tables still need 'cellspacing="0"' in the markup */
     23        border-collapse: separate;
     24        border-spacing: 0;
     25        border: 1px solid #eee;
     26}
     27
     28thead {
     29        background: #eee;
     30}
     31
     32caption,
     33th,
     34td {
     35        font-weight: 400;
     36        text-align: left;
     37}
     38
     39td {
     40        border-bottom: 1px solid #eee;
     41        padding: 10px;
     42}
     43
     44td:first-of-type {
     45        width: 30%;
     46        border-right: 1px solid #eee;
     47}
     48
     49tr:last-of-type td {
     50        border-bottom: 0;
    1951}
    2052
Note: See TracChangeset for help on using the changeset viewer.