Making WordPress.org

Changeset 14179


Ignore:
Timestamp:
11/20/2024 03:49:58 AM (2 months ago)
Author:
adamwood
Message:

Breathe 2024: Adjust inline block copy styles

Make styling of pre, code and glossary terms consistent, and stop them overlapping.

Fixes https://github.com/WordPress/wordpress.org/issues/416

File:
1 edited

Legend:

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

    r14166 r14179  
    125125}
    126126
    127 pre, code {
    128     font-size: 0.9em;
     127pre,
     128code,
     129.glossary-item-container {
     130    background: var(--wp--preset--color--light-grey-2);
     131    padding: 3px 0;
     132}
     133
     134.glossary-item-container {
     135    border-radius: unset;
     136}
     137
     138pre,
     139code {
     140    font-size: inherit;
     141    padding: 3px;
     142    border-radius: 2px;
     143    max-width: 100%;
    129144}
    130145
Note: See TracChangeset for help on using the changeset viewer.