Jump to content
Toggle menu
  • 9 articles
  • 6 files
  • 1 users
  • 55 edits
ScotMesh Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
mc-pagelogo style
Fix callout box empty-paragraph spacing
 
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:.15rem 1rem;margin:1rem 0;border-left:4px solid #22324D;background:#101C30}
.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:.65rem}
.sm-cx > :first-child{margin-top:0}
.sm-cx > :last-child{margin-bottom:.65rem}
.sm-cx > :last-child{margin-bottom:0}
/* front-page community join */
.sm-cx p{margin:.5rem 0}
.sm-join{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0 .4rem}
.sm-join a{display:inline-flex;align-items:center;gap:.5rem;font-family:"IBM Plex Mono",ui-monospace,monospace;font-weight:600;font-size:.92rem;text-decoration:none;padding:.65rem 1.2rem;border-radius:999px;border:1px solid #22324D;transition:border-color .15s,background .15s}
.j-discord a{background:#5865F2;border-color:#5865F2;color:#fff}
.j-discord a:hover{background:#4654d0;border-color:#4654d0}
.j-forum a{background:#101C30;color:#E6EDF7}
.j-forum a:hover{border-color:#005EB8;color:#fff}
.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}
/* network lockup at the top of a network section page */
/* network lockup at the top of a network section page */
.mc-pagelogo{display:block;margin:.2rem 0 1.3rem}
.mc-pagelogo{display:block;margin:.2rem 0 1.3rem}
.mc-pagelogo img,.mc-pagelogo .mw-file-element{width:min(240px,62%);height:auto}
.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}