Making WordPress.org

Ticket #5033: 5033.patch

File 5033.patch, 916 bytes (added by milana_cap, 3 years ago)
  • sass/elements/_tables.scss

     
    22        margin: 0 0 1.5em;
    33        width: 100%;
    44}
     5
     6.helphub_article {
     7
     8        figure.wp-block-table {
     9                margin: 1em 0;
     10        }
     11
     12        table {
     13
     14                tr:nth-child(odd){
     15                        background-color: $color__table-odd;
     16                }
     17
     18                th,
     19                td {
     20                        padding: 0.5em 1em;
     21
     22                        &:not(:first-of-type) {
     23                                text-align: center;
     24                        }
     25                }
     26        }
     27}
  • sass/variables-site/_colors.scss

     
    2121$color__border-input: #ddd;
    2222$color__border-abbr: #666;
    2323
     24$color__table-odd: #f3f4f5;
    2425
     26
    2527// Colors
    2628$color__wp-blue: #0073aa;
    2729$color__base-gray: $color__text-main;