Making WordPress.org


Ignore:
Timestamp:
09/15/2022 03:20:41 PM (4 years ago)
Author:
iandunn
Message:

Learn: Sync with git WordPress/learn@74f2974

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/css/objects/_prism.scss

    r12061 r12064  
    22 * Custom theme for learn.wordpress.org
    33 *
    4  * Forked from developer.wordpress.org
     4 * ⚠️  Forked from developer.wordpress.org. Please make changes in the "Learn Customizations" section at the
     5 * bottom, to make syncing upstream easier.
     6 *
    57 * Forked from a11y-dark theme by ericwbailey, which was based on the okaidia theme.
    68 *
     
    911 */
    1012
     13/* stylelint-disable value-keyword-case */
    1114$code-font:
    1215        Hack, "Fira Code", Consolas, Menlo, Monaco, "Andale Mono",
     
    1417        "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L",
    1518        "Courier New", Courier, monospace;
    16 
     19/* stylelint-enable value-keyword-case */
    1720code[class*="language-"],
    1821pre[class*="language-"] {
     
    247250 * Learn customizations
    248251 */
     252
     253/* stylelint-disable no-duplicate-selectors -- These are intentionally kept separate, see start of file. */
    249254.github-markdown pre.wp-block-code {
    250255        margin-top: 0;
    251256}
     257
     258.wp-code-block-button-container {
     259        padding: 0.5rem;
     260
     261        button {
     262                font-size: 0.8rem !important;
     263        }
     264
     265        + pre {
     266                padding: 1em;
     267        }
     268}
Note: See TracChangeset for help on using the changeset viewer.