MediaWiki:Common.css: Difference between revisions
Appearance
m .i |
m .bracket |
||
Line 3: | Line 3: | ||
/* for Items, etc */ | /* for Items, etc */ | ||
.tts-only, .tts .aural { height: 0px; width: 0px; overflow: hidden; } /* hidden from visual rendering, shown to TTS */ | .tts-only, .tts .aural, .tts .bracket { height: 0px; width: 0px; overflow: hidden; } /* hidden from visual rendering, shown to TTS */ | ||
.tts .help { display: none; } .tts .aural { display: inline-block; } /* hide pronunciation from screen & print media, but not from audio */ | .tts .help { display: none; } .tts .aural, .tts .bracket { display: inline-block; } /* hide pronunciation from screen & print media, but not from audio */ | ||
.tts abbr[title] { text-decoration: none; } | .tts abbr[title] { text-decoration: none; } | ||
Revision as of 07:33, 24 August 2025
/* CSS placed here will be applied to all skins */
/* for Items, etc */
.tts-only, .tts .aural, .tts .bracket { height: 0px; width: 0px; overflow: hidden; } /* hidden from visual rendering, shown to TTS */
.tts .help { display: none; } .tts .aural, .tts .bracket { display: inline-block; } /* hide pronunciation from screen & print media, but not from audio */
.tts abbr[title] { text-decoration: none; }
.tok-jelo { font-size: 115%; }
strong.caps, b.caps, em.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; }
/* bop-related CSS */
.toc-only { border: none; margin: 0; padding: 0; display: none; } .toc-only + p { margin-top: 0.95em; }
/* removals */
del.dots, s.censor, s.thingamabob { text-decoration: none; } /* del.dots allows marking semantic omissions in del tags */
/* redaction tape, silly alternate names */
s.censor, s.thingamabob { white-space: pre-wrap !important; background-color: #303030; color: transparent; } /* .censor: for swear words in gray-areas, or SCP entries */
.censor a, s.thingamabob, .thingamabob a { color: inherit; }
s.thingamabob { background-color: #D0D0D0; 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,
dl.hue dt dfn:before, dl.hue dt dfn .figure, dl.hue dfn.manual:before, dl.hue .string dfn:before
{ content: none; display: none; } /* hide extraneous information on pages without Template:HueCSS */
/* [[Category:Fake Item lists]] [[Category:Hue-format fake Items]] */