MediaWiki:Common.css: Difference between revisions
Appearance
m .tts .bracket |
.toctext "ruby" |
||
| (32 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
/* for Items, etc */ | /* for Items, etc */ | ||
.tts, .tts . | .tts .help, .tts .bracket, .tts .aural, dl.hue .tts .help, dl.hue .tts .bracket, .toctext span span s { display: none; } | ||
.tok-jelo { font-size: 115%; } | |||
. | |||
. | |||
strong.caps, b.caps, em.caps, del.caps, s.caps, span.caps { text-transform: uppercase; font-weight: inherit; } | |||
strong.caps, b.caps, em.caps { text-transform: uppercase; font-weight: inherit; } | |||
em.i, b.i, strong.i { font-style: italic; } | em.i, b.i, strong.i { font-style: italic; } | ||
cite.article, cite.tale { font-style: normal; } | |||
cite.article, cite.tale { font-style: normal; } | |||
cite.article:before, cite.tale:before { content: open-quote; } cite.article:after, cite.tale:after { content: close-quote; } | cite.article:before, cite.tale:before { content: open-quote; } cite.article:after, cite.tale:after { content: close-quote; } | ||
/* emphasis used inside bop entries */ | |||
.bop i { font-style: italic; } | |||
.bop i i { font-style: normal; } | |||
h1.bop.subtitle, .bop h1 .subtitle, .bop h2 .subtitle { display: block; font-size: 85%; } | |||
/* bop-related CSS */ | /* bop-related CSS */ | ||
.toc-only { border: none; margin: 0; padding: 0; display: none; } .toc-only + p { margin-top: 0.95em; } | |||
div.bop { padding-top: 0.9em; padding-bottom: 0.9em; } | |||
div.bop.bottom { padding-bottom: 0.2em; } | |||
div.bop div, div.bop.top, div.bop.academic { border: none; } | |||
div.bop.academic { padding-top: 0.2em; padding-bottom: 0; } /* .academic - an article section with a heading, which is at least partly edited */ | |||
div.bop > div, .bop-text { white-space: pre-wrap; font-family: inherit; background: inherit; } /* pre-formatted text area */ | |||
/* removals */ | |||
del.dots, .censor, .thingamabob { text-decoration: none; } /* del.dots allows marking semantic omissions in del tags */ | |||
/* redaction tape, silly alternate names */ | |||
.censor, .thingamabob { white-space: pre-wrap !important; background-color: #D0D0D0; color: transparent; } /* .censor: for swear words in gray-areas, or SCP entries */ | |||
.thingamabob, .thingamabob a, span.plainlinks.thingamabob a, .censor a { color: inherit; } | |||
.thingamabob { padding: 0 0.1em 0 0.1em; } /* .thingamabob: for marking up things that are being called by names that are Lewis Carroll level of arbitrary. highly optional. */ | |||
/* Hue-specific CSS - for main files, see [[Template:HueCSS]], [[Template:HueDrop]]. these are the rules that are needed even if those don't load */ | |||
.hue:not(.data_wavebuild) dfn .wave-score, dl.hue .data-structure, .hue dd dfn .field, | |||
dl.hue dt dfn:before, dl.hue dt dfn .figure, dl.hue dfn.manual:before, dl.hue .string dfn:before, | |||
dl.hue.data_wavebuild dfn .figure .flag | |||
{ content: none; display: none; } /* hide extraneous information on pages without Template:HueCSS */ | |||
/* dialogue - silliness, but do not remove */ | |||
.comic-sans { font-family: "Comic Sans Bold", "Comic Sans MS", sans; } .papyrus { font-family: "Papyrus Bold", Papyrus, serif; } | |||
/* these fonts look better in bold, but it also looks worse to put text in bold if you don't have them. so you'll see exactly as much Papyrus as you want to. */ | |||
@media screen { | @media screen { | ||
. | /* for Items, etc */ | ||
.tts, .tts .visual, .tts .aural, .tts .bracket, dl.hue .tts .aural, .toctext span span i { display: inline-block; } | |||
.tts .help { display: none; } /* hide "help" text except when totally unstyled */ | |||
.tts-only, .tts .aural, .tts .bracket, | |||
.toctext span span s, .toctext span span i /* TOC sections are really harsh on HTML, and require different tags */ | |||
{ height: 0px; width: 0px; overflow: hidden !important; min-width: 0 !important; max-width: 0 !important; } /* hidden from visual rendering, shown to TTS. this got very buggy in combination with hue.css so it had to be elaborated */ | |||
.hue dfn .tts span.visual, .hue dfn .tts i.aural, .hue dfn .tts a { position: static; } | |||
abbr[title] { text-decoration: initial; border-bottom: initial; cursor: help; } | |||
p > .tts[title] { text-decoration: none; } | |||
p > ins .tts[title] { text-decoration: inherit; } | |||
blockquote.poem { border: 2px solid #d6d2c5; padding: 1em; margin: 0 1em 0 1em; } /* #d6d2c5,#f9f4e6 */ | |||
/* removals */ | /* removals */ | ||
/* redaction tape, silly alternate names */ | /* redaction tape, silly alternate names */ | ||
.censor, .thingamabob | .censor, .thingamabob.censor { background-color: #303030; } /* .thingamabob: for marking up things that are being called by names that are Lewis Carroll level of arbitrary. highly optional. */ | ||
.thingamabob.censor, .thingamabob.censor a { color: white; } | |||
/* | /* dialogue - silliness, but do not remove */ | ||
. | .wingdings { font-family: Wingdings; } | ||
} | |||
/* [[Category:Fake Item lists]] [[Category:Hue-format fake Items]] */ | /* [[Category:Fake Item lists]] [[Category:Hue-format fake Items]] */ | ||
Latest revision as of 13:56, 2 December 2025
/* CSS placed here will be applied to all skins */
/* for Items, etc */
.tts .help, .tts .bracket, .tts .aural, dl.hue .tts .help, dl.hue .tts .bracket, .toctext span span s { display: none; }
.tok-jelo { font-size: 115%; }
strong.caps, b.caps, em.caps, del.caps, s.caps, span.caps { text-transform: uppercase; font-weight: inherit; }
em.i, b.i, strong.i { font-style: italic; }
cite.article, cite.tale { font-style: normal; }
cite.article:before, cite.tale:before { content: open-quote; } cite.article:after, cite.tale:after { content: close-quote; }
/* emphasis used inside bop entries */
.bop i { font-style: italic; }
.bop i i { font-style: normal; }
h1.bop.subtitle, .bop h1 .subtitle, .bop h2 .subtitle { display: block; font-size: 85%; }
/* bop-related CSS */
.toc-only { border: none; margin: 0; padding: 0; display: none; } .toc-only + p { margin-top: 0.95em; }
div.bop { padding-top: 0.9em; padding-bottom: 0.9em; }
div.bop.bottom { padding-bottom: 0.2em; }
div.bop div, div.bop.top, div.bop.academic { border: none; }
div.bop.academic { padding-top: 0.2em; padding-bottom: 0; } /* .academic - an article section with a heading, which is at least partly edited */
div.bop > div, .bop-text { white-space: pre-wrap; font-family: inherit; background: inherit; } /* pre-formatted text area */
/* removals */
del.dots, .censor, .thingamabob { text-decoration: none; } /* del.dots allows marking semantic omissions in del tags */
/* redaction tape, silly alternate names */
.censor, .thingamabob { white-space: pre-wrap !important; background-color: #D0D0D0; color: transparent; } /* .censor: for swear words in gray-areas, or SCP entries */
.thingamabob, .thingamabob a, span.plainlinks.thingamabob a, .censor a { color: inherit; }
.thingamabob { padding: 0 0.1em 0 0.1em; } /* .thingamabob: for marking up things that are being called by names that are Lewis Carroll level of arbitrary. highly optional. */
/* Hue-specific CSS - for main files, see [[Template:HueCSS]], [[Template:HueDrop]]. these are the rules that are needed even if those don't load */
.hue:not(.data_wavebuild) dfn .wave-score, dl.hue .data-structure, .hue dd dfn .field,
dl.hue dt dfn:before, dl.hue dt dfn .figure, dl.hue dfn.manual:before, dl.hue .string dfn:before,
dl.hue.data_wavebuild dfn .figure .flag
{ content: none; display: none; } /* hide extraneous information on pages without Template:HueCSS */
/* dialogue - silliness, but do not remove */
.comic-sans { font-family: "Comic Sans Bold", "Comic Sans MS", sans; } .papyrus { font-family: "Papyrus Bold", Papyrus, serif; }
/* these fonts look better in bold, but it also looks worse to put text in bold if you don't have them. so you'll see exactly as much Papyrus as you want to. */
@media screen {
/* for Items, etc */
.tts, .tts .visual, .tts .aural, .tts .bracket, dl.hue .tts .aural, .toctext span span i { display: inline-block; }
.tts .help { display: none; } /* hide "help" text except when totally unstyled */
.tts-only, .tts .aural, .tts .bracket,
.toctext span span s, .toctext span span i /* TOC sections are really harsh on HTML, and require different tags */
{ height: 0px; width: 0px; overflow: hidden !important; min-width: 0 !important; max-width: 0 !important; } /* hidden from visual rendering, shown to TTS. this got very buggy in combination with hue.css so it had to be elaborated */
.hue dfn .tts span.visual, .hue dfn .tts i.aural, .hue dfn .tts a { position: static; }
abbr[title] { text-decoration: initial; border-bottom: initial; cursor: help; }
p > .tts[title] { text-decoration: none; }
p > ins .tts[title] { text-decoration: inherit; }
blockquote.poem { border: 2px solid #d6d2c5; padding: 1em; margin: 0 1em 0 1em; } /* #d6d2c5,#f9f4e6 */
/* removals */
/* redaction tape, silly alternate names */
.censor, .thingamabob.censor { background-color: #303030; } /* .thingamabob: for marking up things that are being called by names that are Lewis Carroll level of arbitrary. highly optional. */
.thingamabob.censor, .thingamabob.censor a { color: white; }
/* dialogue - silliness, but do not remove */
.wingdings { font-family: Wingdings; }
}
/* [[Category:Fake Item lists]] [[Category:Hue-format fake Items]] */