Making WordPress.org

Changeset 14268


Ignore:
Timestamp:
12/11/2024 07:43:44 PM (15 months ago)
Author:
adamwood
Message:

Breathe 2024: Fix RTL issues

Primary and secondary column order.
List padding.
Local nav padding.

See https://github.com/WordPress/wordpress.org/issues/377

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/style.css

    r14260 r14268  
    7373}
    7474
    75 .rtl ul,
    76 .rtl ol {
    77     margin-left: 0;
    78     margin-right: 25px;
    79 }
    80 
    8175h1,
    8276h2,
     
    175169}
    176170
     171@media (max-width: 876px) {
     172    .content-area table {
     173        display: block;
     174        max-width: fit-content;
     175        overflow-x: auto;
     176    }
     177}
     178
    177179/*
    178180* Block styles
     
    195197.sticky .wp-block-table.is-style-stripes tbody tr:nth-child(even) {
    196198    background-color: color-mix( in srgb, currentColor 7%, transparent );
     199}
     200
     201/* TODO: This should be handled by RTL CSS in mu-plugins */
     202[dir="rtl"] .wp-block-wporg-local-navigation-bar {
     203    padding-right: var(--wp--preset--spacing--edge-space);
     204
     205    @media (max-width: 889px) {
     206        padding-left: unset;
     207    }
    197208}
    198209
     
    899910}
    900911
     912#primary {
     913    width: 68%;
     914    float: inline-start;
     915    padding-right: unset;
     916    padding-inline-end: var(--wp--preset--spacing--20);
     917}
     918
     919#secondary {
     920    float: inline-end;
     921    clear: inline-end;
     922}
     923
     924@media (max-width: 876px) {
     925    #primary {
     926        width: 100%;
     927    }
     928}
     929
    901930@media (max-width: 876px) {
    902931    #primary {
    903932        -webkit-backface-visibility: initial;
     933        padding-inline-end: unset;
    904934    }
    905935
     
    9761006    }
    9771007
    978 }
    979 
    980 .content-area {
    981     width: 68%;
    982 }
    983 
    984 @media (max-width: 876px) {
    985     .content-area {
    986         width: 100%;
    987     }
    988 
    989     .content-area table {
    990         display: block;
    991         max-width: fit-content;
    992         overflow-x: auto;
    993     }
    9941008}
    9951009
Note: See TracChangeset for help on using the changeset viewer.