MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Brand callouts (Wiki.js -> ScotMesh) + content styles |
Fix callout box empty-paragraph spacing |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* ScotMesh content styles. Core brand (colours/fonts/cards) is render-blocking in LocalSettings. */ | /* ScotMesh content styles. Core brand (colours/fonts/cards) is render-blocking in LocalSettings. */ | ||
.sm-cx{border-radius:6px;padding:. | .sm-cx{border-radius:6px;padding:.75rem 1.1rem;margin:1.1rem 0;border-left:4px solid #22324D;background:#101C30} | ||
.sm-cx-info{border-left-color:#005EB8} | .sm-cx-info{border-left-color:#005EB8} | ||
.sm-cx-warning{border-left-color:#F2B33D} | .sm-cx-warning{border-left-color:#F2B33D} | ||
.sm-cx-success{border-left-color:#65C281} | .sm-cx-success{border-left-color:#65C281} | ||
.sm-cx > :first-child{margin-top: | .sm-cx > :first-child{margin-top:0} | ||
.sm-cx > :last-child{margin-bottom:. | .sm-cx > :last-child{margin-bottom:0} | ||
.sm-cx p{margin:.5rem 0} | |||
/* network lockup at the top of a network section page */ | |||
.mc-pagelogo{display:block;margin:.2rem 0 1.3rem} | |||
.mc-pagelogo img,.mc-pagelogo .mw-file-element{width:min(240px,62%);height:auto} | |||
/* front-page community join (legacy, still used on Main Page note) */ | |||
.sm-join-note{display:block;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.82rem;color:#8FA2BD;margin:.2rem 0 0} | |||
.sm-join-note code{color:#E6EDF7;background:#0C1729;border:1px solid #22324D;padding:.05rem .4rem;border-radius:3px} | |||
Latest revision as of 17:37, 3 November 2026
/* ScotMesh content styles. Core brand (colours/fonts/cards) is render-blocking in LocalSettings. */
.sm-cx{border-radius:6px;padding:.75rem 1.1rem;margin:1.1rem 0;border-left:4px solid #22324D;background:#101C30}
.sm-cx-info{border-left-color:#005EB8}
.sm-cx-warning{border-left-color:#F2B33D}
.sm-cx-success{border-left-color:#65C281}
.sm-cx > :first-child{margin-top:0}
.sm-cx > :last-child{margin-bottom:0}
.sm-cx p{margin:.5rem 0}
/* network lockup at the top of a network section page */
.mc-pagelogo{display:block;margin:.2rem 0 1.3rem}
.mc-pagelogo img,.mc-pagelogo .mw-file-element{width:min(240px,62%);height:auto}
/* front-page community join (legacy, still used on Main Page note) */
.sm-join-note{display:block;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.82rem;color:#8FA2BD;margin:.2rem 0 0}
.sm-join-note code{color:#E6EDF7;background:#0C1729;border:1px solid #22324D;padding:.05rem .4rem;border-radius:3px}