MediaWiki:Common.css: Difference between revisions
Appearance
Content deleted Content added
Main page in the website style |
Seamless hex texture |
||
| Line 195: | Line 195: | ||
.arise-home a, .arise-home a:visited { text-decoration: none !important; color: inherit; } |
.arise-home a, .arise-home a:visited { text-decoration: none !important; color: inherit; } |
||
.ah-hero { position: relative; min-height: 340px; margin: 0 0 3em; border: 1px solid var( --border-color-subtle ); |
.ah-hero { position: relative; min-height: 340px; margin: 0 0 3em; border: 1px solid var( --border-color-subtle ); |
||
background: var( --background-color-base ) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width=' |
background: var( --background-color-base ) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='1008' height='144'><g font-family='monospace' font-size='12' fill='%231c1714'><text x='2' y='14' textLength='999' lengthAdjust='spacing'>ba 45 90 97 53 a1 49 a7 ba e9 b7 60 eb c6 f0 53 51 74 33 9f 63 d5 45 8d 42 76 82 9d d1 27 11 7d 14 20 c1 03 a9 53 2b dc 10 59 fa df 8d 75 70 d3</text><text x='2' y='32' textLength='999' lengthAdjust='spacing'>b1 29 b9 01 03 83 55 f6 c7 bc bc 48 4c ad ce e0 b9 fc 7a 2d 2b 3a 6a 2d 4a bc 13 b7 98 ad ed ea a9 62 a6 c6 28 8b f2 19 a7 2f 6d 56 8c 42 c9 4b</text><text x='2' y='50' textLength='999' lengthAdjust='spacing'>13 0e 8f d6 3d 4d 0f 4c 1e ac 6b 74 24 27 ad 19 ee b8 46 f6 be e6 b9 7f 78 db 2f 3c c9 4e fa a7 da 69 29 ea 15 14 7b eb 1b 09 0a e9 8b c0 aa ca</text><text x='2' y='68' textLength='999' lengthAdjust='spacing'>68 b7 5c 10 bc c1 99 3b 89 23 85 3d b2 61 44 b1 0f 76 0c 2e 1b fe e4 cf d8 72 46 c5 14 91 c6 83 14 f6 26 b4 2c 42 57 32 a9 b5 33 f5 fc 75 9d a8</text><text x='2' y='86' textLength='999' lengthAdjust='spacing'>a5 0a 31 45 93 4f b2 44 9d 93 06 ee 64 0c dd cd 04 1d ab 9d 68 95 89 bc 99 82 38 59 b3 cf 8c 4f 21 6f ac ff 55 43 47 05 dc 57 3a e6 37 1d 5f 65</text><text x='2' y='104' textLength='999' lengthAdjust='spacing'>fd 81 eb 93 9d 2c 5b 61 10 90 cd 16 dc f7 8d 9b 06 4a 50 6e c2 4f db 42 a4 83 85 9d df 39 88 d0 aa 9c d8 de cc 6f e2 41 e6 02 55 7c cd 78 54 02</text><text x='2' y='122' textLength='999' lengthAdjust='spacing'>0e 0f de b1 60 29 21 04 8f 7f 0e 94 5b 3c 5e e7 7e af b6 47 77 e3 43 d7 d6 c7 5e 13 20 76 5e 9f 4a 73 f9 4b 3b bf 55 2e 32 e2 18 13 9e 87 f9 38</text><text x='2' y='140' textLength='999' lengthAdjust='spacing'>c5 8a 9a a9 a8 d2 63 e1 31 c1 41 80 73 f1 7d 9b cc d2 02 e9 1a 8f de 9f a7 e8 2b 14 2f 48 19 10 40 b5 53 48 f7 d6 0d 0d 6f 95 0d 42 b1 44 de 6d</text></g></svg>") repeat; } |
||
.ah-term { position: absolute; left: 24px; bottom: 58px; max-width: calc( 100% - 48px ); padding: 13px 17px; |
.ah-term { position: absolute; left: 24px; bottom: 58px; max-width: calc( 100% - 48px ); padding: 13px 17px; |
||
background: color-mix( in srgb, var( --background-color-base ) 92%, transparent ); border: 1px solid #2b241f; font-size: .9em; } |
background: color-mix( in srgb, var( --background-color-base ) 92%, transparent ); border: 1px solid #2b241f; font-size: .9em; } |
||
Revision as of 17:52, 16 November 2026
/* Project: Arise wiki: the website's look (dark "Ember" palette, JetBrains Mono, one signal colour #e8571c).
The palette replaces Vector's night theme; the light theme stays stock Vector. */
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(/arise/fonts/JetBrainsMono-400.14f14c39.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(/arise/fonts/JetBrainsMono-500.df292ef4.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 800; font-display: swap; src: url(/arise/fonts/JetBrainsMono-800.52c99762.woff2) format('woff2'); }
html.skin-theme-clientpref-night {
color-scheme: dark;
--background-color-base: #0b0908;
--background-color-neutral-subtle: #110d0b;
--background-color-neutral: #1c1714;
--background-color-interactive-subtle: #14100e;
--background-color-interactive: #1e1815;
--background-color-disabled: #261f1a;
--background-color-disabled-subtle: #14100e;
--background-color-progressive: #e8571c;
--background-color-progressive--hover: #f06a30;
--background-color-progressive--active: #c9480f;
--background-color-progressive--focus: #e8571c;
--background-color-progressive-subtle: #26140b;
--background-color-notice-subtle: #14100e;
--background-color-warning-subtle: #241b0a;
--background-color-error-subtle: #2a110d;
--background-color-destructive-subtle: #2a110d;
--background-color-success-subtle: #0f1d11;
--background-color-inverted: #e6dccb;
--background-color-backdrop-light: rgba( 11, 9, 8, 0.7 );
--background-color-button-quiet--hover: rgba( 230, 220, 203, 0.07 );
--background-color-button-quiet--active: rgba( 230, 220, 203, 0.14 );
--background-color-content-added: #12263a;
--background-color-content-removed: #3a2a0e;
--border-color-base: #3a302a;
--border-color-subtle: #261f1a;
--border-color-muted: #1e1815;
--border-color-divider: #261f1a;
--border-color-interactive: #3a302a;
--border-color-input--hover: #7d7268;
--border-color-disabled: #261f1a;
--border-color-progressive: #e8571c;
--border-color-progressive--hover: #f06a30;
--border-color-progressive--active: #c9480f;
--border-color-progressive--focus: #e8571c;
--border-color-inverted: #0b0908;
--color-base: #e6dccb;
--color-base--hover: #f5ecdc;
--color-emphasized: #f5ecdc;
--color-subtle: #9a8e80;
--color-base--subtle: #9a8e80;
--color-placeholder: #6a6058;
--color-disabled: #5a5048;
--color-inverted: #0b0908;
--color-progressive: #e6dccb;
--color-progressive--hover: #e8571c;
--color-progressive--active: #e8571c;
--color-progressive--focus: #e8571c;
--color-visited: #e6dccb;
--color-link-red: #c9715f;
--color-link-red--hover: #e8571c;
--color-link-red--visited: #c9715f;
--color-destructive: #e0604c;
--color-error: #e0604c;
--color-warning: #d4a72c;
--color-success: #5cb85c;
--color-notice: #e6dccb;
--box-shadow-color-progressive--focus: #e8571c;
--outline-color-progressive--focus: #e8571c;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os {
color-scheme: dark;
--background-color-base: #0b0908;
--background-color-neutral-subtle: #110d0b;
--background-color-neutral: #1c1714;
--background-color-interactive-subtle: #14100e;
--background-color-interactive: #1e1815;
--background-color-disabled: #261f1a;
--background-color-disabled-subtle: #14100e;
--background-color-progressive: #e8571c;
--background-color-progressive--hover: #f06a30;
--background-color-progressive--active: #c9480f;
--background-color-progressive--focus: #e8571c;
--background-color-progressive-subtle: #26140b;
--background-color-notice-subtle: #14100e;
--background-color-warning-subtle: #241b0a;
--background-color-error-subtle: #2a110d;
--background-color-destructive-subtle: #2a110d;
--background-color-success-subtle: #0f1d11;
--background-color-inverted: #e6dccb;
--background-color-backdrop-light: rgba( 11, 9, 8, 0.7 );
--background-color-button-quiet--hover: rgba( 230, 220, 203, 0.07 );
--background-color-button-quiet--active: rgba( 230, 220, 203, 0.14 );
--background-color-content-added: #12263a;
--background-color-content-removed: #3a2a0e;
--border-color-base: #3a302a;
--border-color-subtle: #261f1a;
--border-color-muted: #1e1815;
--border-color-divider: #261f1a;
--border-color-interactive: #3a302a;
--border-color-input--hover: #7d7268;
--border-color-disabled: #261f1a;
--border-color-progressive: #e8571c;
--border-color-progressive--hover: #f06a30;
--border-color-progressive--active: #c9480f;
--border-color-progressive--focus: #e8571c;
--border-color-inverted: #0b0908;
--color-base: #e6dccb;
--color-base--hover: #f5ecdc;
--color-emphasized: #f5ecdc;
--color-subtle: #9a8e80;
--color-base--subtle: #9a8e80;
--color-placeholder: #6a6058;
--color-disabled: #5a5048;
--color-inverted: #0b0908;
--color-progressive: #e6dccb;
--color-progressive--hover: #e8571c;
--color-progressive--active: #e8571c;
--color-progressive--focus: #e8571c;
--color-visited: #e6dccb;
--color-link-red: #c9715f;
--color-link-red--hover: #e8571c;
--color-link-red--visited: #c9715f;
--color-destructive: #e0604c;
--color-error: #e0604c;
--color-warning: #d4a72c;
--color-success: #5cb85c;
--color-notice: #e6dccb;
--box-shadow-color-progressive--focus: #e8571c;
--outline-color-progressive--focus: #e8571c;
}
}
html.skin-theme-clientpref-night, html.skin-theme-clientpref-night body { background-color: var( --background-color-base ); }
/* One typeface, like the website */
html, body, .mw-body h1, .mw-body-content h1, .mw-body-content h2, .mw-heading1, .mw-heading2,
.mw-body .firstHeading, .cdx-button, input, textarea, select, button, .oo-ui-widget {
font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}
.mw-body .firstHeading, .mw-body-content h1, .mw-body-content h2, .mw-heading1 h1, .mw-heading2 h2 {
font-weight: 800; letter-spacing: -0.01em;
}
.mw-body-content h3, .mw-heading3 h3 { font-weight: 500; }
/* Plain rectangles, no rounded corners */
*, *::before, *::after { border-radius: 0 !important; }
html.skin-theme-clientpref-night .cdx-radio__input:enabled:not(:checked) + .cdx-radio__icon,
html.skin-theme-clientpref-night .cdx-checkbox__input:enabled:not(:checked) + .cdx-checkbox__icon {
background-color: var( --background-color-base ) !important; border-color: var( --border-color-input--hover ) !important;
}
/* No "powered by" badges */
#footer-icons { display: none; }
/* Links in running text: bone with a signal-coloured underline */
.mw-body-content a:not(.new):not(.mw-file-description):not(.cdx-button) {
text-decoration: underline; text-decoration-color: rgba( 232, 87, 28, 0.6 ); text-underline-offset: 3px;
}
.mw-body-content a:hover { color: #e8571c; }
/* Light theme: the bone wordmark is inverted to dark */
html.skin-theme-clientpref-day .mw-logo-wordmark { filter: invert( 1 ); }
@media (prefers-color-scheme: light) { html.skin-theme-clientpref-os .mw-logo-wordmark { filter: invert( 1 ); } }
/* Main page: no "Main Page" heading */
.page-Main_Page .mw-first-heading { display: none; }
/* Notices ({{Stub}}, {{Draft}}) */
.arise-notice { border-left: 4px solid var( --border-color-base, #c8ccd1 ); background: var( --background-color-neutral-subtle, #f8f9fa ); padding: .5em 1em; margin-bottom: 1em; }
.arise-notice-stub { border-left-color: #e8571c; }
/* Infoboxes ({{Infobox item}}, {{Infobox creature}}) */
.infobox {
float: right; clear: right; width: 260px; margin: 0 0 1em 1.5em;
border: 1px solid var( --border-color-subtle, #c8ccd1 );
background: var( --background-color-neutral-subtle, #f8f9fa );
font-size: 0.9em;
}
.infobox-title { padding: .5em .75em; font-weight: 800; font-size: 1.1em; border-bottom: 3px solid #e8571c; }
.infobox-image { text-align: center; padding: .5em; }
.infobox-row { display: grid; grid-template-columns: 90px 1fr; gap: .5em; padding: .35em .75em; border-top: 1px solid var( --border-color-subtle, #eaecf0 ); }
.infobox-row > span:first-child { font-weight: 500; color: var( --color-subtle, #54595d ); }
@media (max-width: 720px) { .infobox { float: none; width: auto; margin: 0 0 1em; } }
/* {{Rarity}}: mid tones that read on both themes */
.rarity { font-weight: 500; }
.rarity-common { color: #8a8f96; }
.rarity-uncommon { color: #3e9e4f; }
.rarity-rare { color: #3b82e0; }
.rarity-heroic { color: #c99a1e; }
.rarity-epic { color: #a061d8; }
.rarity-legendary { color: #e8571c; }
/* Main page (Main Page wikitext, class arise-home): the website's start page in wiki form */
.arise-home a, .arise-home a:visited { text-decoration: none !important; color: inherit; }
.ah-hero { position: relative; min-height: 340px; margin: 0 0 3em; border: 1px solid var( --border-color-subtle );
background: var( --background-color-base ) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='1008' height='144'><g font-family='monospace' font-size='12' fill='%231c1714'><text x='2' y='14' textLength='999' lengthAdjust='spacing'>ba 45 90 97 53 a1 49 a7 ba e9 b7 60 eb c6 f0 53 51 74 33 9f 63 d5 45 8d 42 76 82 9d d1 27 11 7d 14 20 c1 03 a9 53 2b dc 10 59 fa df 8d 75 70 d3</text><text x='2' y='32' textLength='999' lengthAdjust='spacing'>b1 29 b9 01 03 83 55 f6 c7 bc bc 48 4c ad ce e0 b9 fc 7a 2d 2b 3a 6a 2d 4a bc 13 b7 98 ad ed ea a9 62 a6 c6 28 8b f2 19 a7 2f 6d 56 8c 42 c9 4b</text><text x='2' y='50' textLength='999' lengthAdjust='spacing'>13 0e 8f d6 3d 4d 0f 4c 1e ac 6b 74 24 27 ad 19 ee b8 46 f6 be e6 b9 7f 78 db 2f 3c c9 4e fa a7 da 69 29 ea 15 14 7b eb 1b 09 0a e9 8b c0 aa ca</text><text x='2' y='68' textLength='999' lengthAdjust='spacing'>68 b7 5c 10 bc c1 99 3b 89 23 85 3d b2 61 44 b1 0f 76 0c 2e 1b fe e4 cf d8 72 46 c5 14 91 c6 83 14 f6 26 b4 2c 42 57 32 a9 b5 33 f5 fc 75 9d a8</text><text x='2' y='86' textLength='999' lengthAdjust='spacing'>a5 0a 31 45 93 4f b2 44 9d 93 06 ee 64 0c dd cd 04 1d ab 9d 68 95 89 bc 99 82 38 59 b3 cf 8c 4f 21 6f ac ff 55 43 47 05 dc 57 3a e6 37 1d 5f 65</text><text x='2' y='104' textLength='999' lengthAdjust='spacing'>fd 81 eb 93 9d 2c 5b 61 10 90 cd 16 dc f7 8d 9b 06 4a 50 6e c2 4f db 42 a4 83 85 9d df 39 88 d0 aa 9c d8 de cc 6f e2 41 e6 02 55 7c cd 78 54 02</text><text x='2' y='122' textLength='999' lengthAdjust='spacing'>0e 0f de b1 60 29 21 04 8f 7f 0e 94 5b 3c 5e e7 7e af b6 47 77 e3 43 d7 d6 c7 5e 13 20 76 5e 9f 4a 73 f9 4b 3b bf 55 2e 32 e2 18 13 9e 87 f9 38</text><text x='2' y='140' textLength='999' lengthAdjust='spacing'>c5 8a 9a a9 a8 d2 63 e1 31 c1 41 80 73 f1 7d 9b cc d2 02 e9 1a 8f de 9f a7 e8 2b 14 2f 48 19 10 40 b5 53 48 f7 d6 0d 0d 6f 95 0d 42 b1 44 de 6d</text></g></svg>") repeat; }
.ah-term { position: absolute; left: 24px; bottom: 58px; max-width: calc( 100% - 48px ); padding: 13px 17px;
background: color-mix( in srgb, var( --background-color-base ) 92%, transparent ); border: 1px solid #2b241f; font-size: .9em; }
.ah-term p { margin: 0; color: var( --color-subtle ); }
.ah-term p em { font-style: normal; color: var( --color-base ); }
.ah-term p i { font-style: normal; color: #e8571c; }
.ah-title { margin: 10px 0 14px; font-weight: 800; font-size: 1.5em; line-height: 1.15; letter-spacing: -.01em; color: var( --color-emphasized ); }
.ah-title span, .ah-h span { color: #e8571c; }
.ah-btn { display: inline-block; margin: 0 8px 4px 0; border: 1px solid var( --color-base ); font-weight: 500; transition: .12s; }
.ah-btn a { display: block; padding: 7px 15px; }
.ah-btn:hover { background: var( --color-base ); color: var( --background-color-base ); }
.ah-btn.ah-p { background: #e8571c; border-color: #e8571c; color: #0b0908; font-weight: 800; }
.ah-btn.ah-p:hover { background: var( --color-base ); border-color: var( --color-base ); }
.ah-status { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; background: #e6dccb; color: #0b0908;
font-size: 12px; font-weight: 500; text-transform: uppercase; }
.ah-status span { flex: 1 0 auto; padding: 7px 14px; text-align: center; border-right: 1px solid rgba( 11, 9, 8, .25 ); }
.ah-status span:first-child { background: #e8571c; font-weight: 800; }
.ah-status span:last-child { border-right: 0; }
.ah-off { margin: 2.5em 0 .6em; font-size: 13px; color: var( --color-subtle ); }
.ah-off em { font-style: normal; color: var( --color-base ); }
.ah-h { margin: 0 0 .7em; font-weight: 800; font-size: 2.6em; line-height: 1; letter-spacing: -.03em; color: var( --color-emphasized ); }
.ah-files { border-top: 1px solid var( --border-color-subtle ); }
.ah-file { display: grid; grid-template-columns: 5ch 1fr; gap: 0 18px; padding: 16px 0; border-bottom: 1px solid var( --border-color-subtle ); transition: .2s; }
.ah-file:hover { background: linear-gradient( 90deg, rgba( 232, 87, 28, .08 ), transparent ); padding-left: 10px; }
.ah-file b { grid-row: span 2; color: #e8571c; font-weight: 800; font-size: 1.4em; }
.ah-ft { font-weight: 800; font-size: 1.25em; letter-spacing: -.01em; }
.ah-ft a:hover { color: #e8571c; }
.ah-fp { margin-top: 4px; color: var( --color-subtle ); }
.ah-fp a { text-decoration: underline !important; text-decoration-color: rgba( 232, 87, 28, .6 ) !important; text-underline-offset: 3px; }
.ah-halves { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var( --border-color-subtle ); }
.ah-half + .ah-half { border-left: 1px solid var( --border-color-subtle ); }
.ah-half a { display: flex; flex-direction: column; min-height: 220px; padding: 60px 28px 28px; transition: .2s; }
.ah-half a:hover { background: var( --color-base ); color: var( --background-color-base ); }
.ah-big { font-weight: 800; font-size: 3.4em; line-height: .9; letter-spacing: -.05em; margin-bottom: .3em; }
.ah-hp { color: var( --color-subtle ); max-width: 26em; margin-bottom: 18px; }
.ah-half a:hover .ah-hp { color: rgba( 11, 9, 8, .63 ); }
.ah-go { font-weight: 800; color: #e8571c; }
.ah-half a:hover .ah-go { color: #0b0908; }
.ah-small { margin-top: 14px; font-size: .9em; color: var( --color-subtle ); }
.ah-small a:hover { color: #e8571c; }
.ah-foot { margin-top: 3em; padding-top: 1em; border-top: 1px solid var( --border-color-subtle ); font-size: .85em; color: var( --color-subtle ); }
@media (max-width: 720px) {
.ah-hero { min-height: 420px; }
.ah-term { left: 12px; right: 12px; max-width: none; bottom: 80px; }
.ah-h { font-size: 2em; }
.ah-halves { grid-template-columns: 1fr; }
.ah-half + .ah-half { border-left: 0; border-top: 1px solid var( --border-color-subtle ); }
}