https://www.tlkmuck.org/index.php?title=MediaWiki:Common.css&feed=atom&action=history
MediaWiki:Common.css - Revision history
2024-03-29T06:57:40Z
Revision history for this page on the wiki
MediaWiki 1.40.0
https://www.tlkmuck.org/index.php?title=MediaWiki:Common.css&diff=44&oldid=prev
Ketekh: Created page with "/* CSS placed here will be applied to all skins */ /* * This is the CSS common to all desktop skins on en.Wikipedia. * Styling inside .mw-parser-output should generally use TemplateStyles. */ /* Reset italic styling set by user agent */ cite, dfn { font-style: inherit; } /* Straight quote marks for <q> */ q { quotes: '"' '"' "'" "'"; } /* Avoid collision of blockquote with floating elements by swapping margin and padding */ blockquote { overflow: hidden; margin:..."
2023-09-09T04:18:12Z
<p>Created page with "<span dir="auto"><span class="autocomment">CSS placed here will be applied to all skins: </span> <span dir="auto"><span class="autocomment">* This is the CSS common to all desktop skins on en.Wikipedia. * Styling inside .mw-parser-output should generally use TemplateStyles.: </span> <span dir="auto"><span class="autocomment">Reset italic styling set by user agent: </span> cite, dfn { font-style: inherit; } <span dir="auto"><span class="autocomment">Straight quote marks for <q>: </span> q { quotes: '"' '"' "'" "'"; } <span dir="auto"><span class="autocomment">Avoid collision of blockquote with floating elements by swapping margin and padding: </span> blockquote { overflow: hidden; margin:..."</span></span></span></span></span></p>
<p><b>New page</b></p><div>/* CSS placed here will be applied to all skins */<br />
/*<br />
* This is the CSS common to all desktop skins on en.Wikipedia.<br />
* Styling inside .mw-parser-output should generally use TemplateStyles.<br />
*/<br />
/* Reset italic styling set by user agent */<br />
cite,<br />
dfn {<br />
font-style: inherit;<br />
}<br />
<br />
/* Straight quote marks for <q> */<br />
q {<br />
quotes: '"' '"' "'" "'";<br />
}<br />
<br />
/* Avoid collision of blockquote with floating elements by swapping margin and padding */<br />
blockquote {<br />
overflow: hidden;<br />
margin: 1em 0;<br />
padding: 0 40px;<br />
}<br />
<br />
/* Consistent size for <small>, <sub> and <sup> */<br />
small {<br />
font-size: 85%;<br />
}<br />
<br />
.mw-body-content sub,<br />
.mw-body-content sup {<br />
font-size: 80%;<br />
}<br />
<br />
/* Same spacing for indented and unindented paragraphs on talk pages */<br />
.ns-talk .mw-body-content dd {<br />
margin-top: 0.4em;<br />
margin-bottom: 0.4em;<br />
}<br />
<br />
/* Reduce page jumps by hiding collapsed/dismissed content */<br />
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),<br />
<br />
/* Avoid FOUC/reflows on collapsed elements. */<br />
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */<br />
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */<br />
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */<br />
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,<br />
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,<br />
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,<br />
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),<br />
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,<br />
<br />
/* Hide charinsert base for those not using the gadget */<br />
#editpage-specialchars {<br />
display: none;<br />
}<br />
<br />
/* Make the list of references smaller<br />
* Keep in sync with Template:Refbegin/styles.css<br />
* And Template:Reflist/styles.css<br />
*/<br />
ol.references {<br />
font-size: 90%;<br />
margin-bottom: 0.5em;<br />
}<br />
<br />
/* Cite customizations for Parsoid<br />
* Once everything uses the one true parser these are just customizations<br />
*/<br />
span[ rel="mw:referencedBy" ] {<br />
counter-reset: mw-ref-linkback 0;<br />
}<br />
<br />
span[ rel='mw:referencedBy' ] > a::before {<br />
content: counter( mw-ref-linkback, lower-alpha );<br />
font-size: 80%;<br />
font-weight: bold;<br />
font-style: italic;<br />
}<br />
<br />
a[ rel="mw:referencedBy" ]::before {<br />
font-weight: bold;<br />
content: "^";<br />
}<br />
<br />
span[ rel="mw:referencedBy" ]::before {<br />
content: "^ ";<br />
}<br />
<br />
.mw-ref > a[data-mw-group=lower-alpha]::after {<br />
content: '[' counter( mw-Ref, lower-alpha ) ']';<br />
}<br />
<br />
.mw-ref > a[data-mw-group=upper-alpha]::after {<br />
content: '[' counter( mw-Ref, upper-alpha ) ']';<br />
}<br />
<br />
.mw-ref > a[data-mw-group=decimal]::after {<br />
content: '[' counter( mw-Ref, decimal ) ']';<br />
}<br />
<br />
.mw-ref > a[data-mw-group=lower-roman]::after {<br />
content: '[' counter( mw-Ref, lower-roman ) ']';<br />
}<br />
<br />
.mw-ref > a[data-mw-group=upper-roman]::after {<br />
content: '[' counter( mw-Ref, upper-roman ) ']';<br />
}<br />
<br />
.mw-ref > a[data-mw-group=lower-greek]::after {<br />
content: '[' counter( mw-Ref, lower-greek ) ']';<br />
}<br />
<br />
/* Styling for jQuery makeCollapsible, matching that of collapseButton */<br />
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {<br />
font-weight: normal;<br />
padding-right: 0.2em;<br />
padding-left: 0.2em;<br />
}<br />
<br />
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {<br />
/* @noflip */<br />
float: left;<br />
}<br />
<br />
/* Lists in wikitable data cells are always left-aligned */<br />
.wikitable td ul,<br />
.wikitable td ol,<br />
.wikitable td dl {<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
/* Change the external link icon to a PDF icon for all PDF files */<br />
.mw-parser-output a[href$=".pdf"].external,<br />
.mw-parser-output a[href*=".pdf?"].external,<br />
.mw-parser-output a[href*=".pdf#"].external,<br />
.mw-parser-output a[href$=".PDF"].external,<br />
.mw-parser-output a[href*=".PDF?"].external,<br />
.mw-parser-output a[href*=".PDF#"].external {<br />
background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;<br />
/* @noflip */<br />
padding: 8px 18px 8px 0;<br />
}<br />
<br />
/* System messages styled similarly to fmbox */<br />
/* for .mw-warning-with-logexcerpt, behavior of this line differs between<br />
* the edit-protected notice and the special:Contribs for blocked users<br />
* The latter has specificity of 3 classes so we have to triple up here.<br />
*/<br />
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,<br />
div.mw-lag-warn-high,<br />
div.mw-cascadeprotectedwarning,<br />
div#mw-protect-cascadeon {<br />
clear: both;<br />
margin: 0.2em 0;<br />
border: 1px solid #bb7070;<br />
background-color: #ffdbdb;<br />
padding: 0.25em 0.9em;<br />
box-sizing: border-box;<br />
}<br />
<br />
/* default colors for partial block message */<br />
/* gotta get over the hump introduced by the triple class above */<br />
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {<br />
border-color: #fc3;<br />
background-color: #fef6e7;<br />
}<br />
<br />
/* Minimum thumb width */<br />
figure[typeof~='mw:File/Thumb'],<br />
figure[typeof~='mw:File/Frame'],<br />
.thumbinner {<br />
min-width: 100px;<br />
}<br />
<br />
/* Prevent floating boxes from overlapping any category listings,<br />
file histories, edit previews, and edit [Show changes] views. */<br />
#mw-subcategories,<br />
#mw-pages,<br />
#mw-category-media,<br />
#filehistory,<br />
#wikiPreview,<br />
#wikiDiff {<br />
clear: both;<br />
}<br />
<br />
/* Styling for tags in changes pages */<br />
.mw-tag-markers {<br />
font-style: italic;<br />
font-size: 90%;<br />
}<br />
<br />
/* Hide stuff meant for accounts with special permissions. Made visible again in<br />
[[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],<br />
[[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],<br />
[[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],<br />
[[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */<br />
.checkuser-show,<br />
.sysop-show,<br />
.abusefilter-show,<br />
.abusefilter-helper-show,<br />
.patroller-show,<br />
.templateeditor-show,<br />
.extendedmover-show,<br />
.extendedconfirmed-show,<br />
.autoconfirmed-show,<br />
.user-show {<br />
display: none;<br />
}<br />
<br />
/* Hide the redlink generated by {{Editnotice}},<br />
this overrides the ".sysop-show { display: none; }" above that applies<br />
to the same link as well. See [[phab:T45013]]<br />
<br />
Hide the images in editnotices to keep them readable in VE view.<br />
Long term, editnotices should become a core feature so that they can be designed responsive. */<br />
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,<br />
.ve-ui-mwNoticesPopupTool-item .mbox-image,<br />
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {<br />
display: none !important;<br />
}<br />
<br />
/* Remove bullets when there are multiple edit page warnings */<br />
ul.permissions-errors {<br />
margin: 0;<br />
}<br />
<br />
ul.permissions-errors > li {<br />
list-style: none;<br />
}<br />
<br />
/* larger inline math */<br />
span.mwe-math-mathml-inline {<br />
font-size: 118%;<br />
}<br />
<br />
/* Make <math display="block"> be left aligned with one space indent for <br />
* compatibility with style conventions<br />
*/<br />
.mwe-math-fallback-image-display,<br />
.mwe-math-mathml-display {<br />
margin-left: 1.6em !important;<br />
margin-top: 0.6em;<br />
margin-bottom: 0.6em;<br />
}<br />
<br />
.mwe-math-mathml-display math {<br />
display: inline;<br />
}<br />
<br />
@media screen {<br />
/* Put a chequered background behind images, only visible if they have transparency,<br />
* except on main, user, and portal namespaces<br />
*/<br />
body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {<br />
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;<br />
}<br />
<br />
/* Display "From Wikipedia, the free encyclopedia" in skins that support it,<br />
do not apply to print mode */<br />
#siteSub {<br />
display: block;<br />
}<br />
}<br />
<br />
/* Hide FlaggedRevs notice UI when there are no pending changes */<br />
.flaggedrevs_draft_synced,<br />
.flaggedrevs_stable_synced,<br />
/* "Temporary" to remove links in sidebar T255381 */<br />
#t-upload,<br />
/* Hide broken download box on Special:Book pending T285400 */<br />
.mw-special-Book #coll-downloadbox {<br />
display: none;<br />
}<br />
<br />
/*<br />
* BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;<br />
* SEE [[MediaWiki talk:Common.css/to do]]<br />
*/<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0.5em 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox-header,<br />
.infobox-label,<br />
.infobox-above,<br />
.infobox-full-data,<br />
.infobox-data,<br />
.infobox-below,<br />
.infobox-subheader,<br />
.infobox-image,<br />
.infobox-navbar,<br />
/* Remove element selector when every .infobox thing is using the standard module/templates */<br />
.infobox th,<br />
.infobox td {<br />
vertical-align: top;<br />
}<br />
<br />
.infobox-label,<br />
.infobox-data,<br />
/* Remove element selector when every .infobox thing is using the standard module/templates */<br />
.infobox th,<br />
.infobox td {<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
/* Remove .infobox when element selectors above are removed */<br />
.infobox .infobox-above,<br />
.infobox .infobox-title,<br />
/* Remove element selector when every .infobox thing is using the standard module/templates */<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
text-align: center;<br />
}<br />
<br />
.infobox-title,<br />
/* Remove element selector when every .infobox thing is using the standard module/templates */<br />
.infobox caption {<br />
padding: 0.2em;<br />
}<br />
<br />
/* Remove .infobox when element selectors above are removed */<br />
.infobox .infobox-header,<br />
.infobox .infobox-subheader,<br />
.infobox .infobox-image,<br />
.infobox .infobox-full-data,<br />
.infobox .infobox-below {<br />
text-align: center;<br />
}<br />
<br />
/* Remove .infobox when element selectors above are removed */<br />
.infobox .infobox-navbar {<br />
/* @noflip */<br />
text-align: right;<br />
}<br />
<br />
/* Normal font styling for wikitable row headers with scope="row" tag */<br />
.wikitable.plainrowheaders th[scope=row],<br />
.wikitable.plainrowheaders th[scope=rowgroup] {<br />
font-weight: normal;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
/* Remove underlines from certain links */<br />
.nounderlines a,<br />
.IPA a:link,<br />
.IPA a:visited {<br />
text-decoration: none !important;<br />
}<br />
<br />
/* Prevent line breaks in silly places where desired (nowrap)<br />
and links when we don't want them to (nowraplinks a) */<br />
.nowrap,<br />
.nowraplinks a {<br />
white-space: nowrap;<br />
}<br />
<br />
/* But allow wrapping where desired: */<br />
.wrap,<br />
.wraplinks a {<br />
white-space: normal;<br />
}<br />
<br />
/* texhtml class for inline math (based on generic times-serif class) */<br />
span.texhtml {<br />
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;<br />
font-size: 118%;<br />
line-height: 1;<br />
white-space: nowrap;<br />
/* Force tabular and lining display for texhtml */<br />
font-variant-numeric: lining-nums tabular-nums;<br />
font-kerning: none;<br />
}<br />
<br />
span.texhtml span.texhtml {<br />
font-size: 100%;<br />
}<br />
<br />
@media screen {<br />
.nochecker .gallerybox .thumb img {<br />
background-image: none;<br />
}<br />
}<br />
<br />
/* Put anything you mean to be a sitewide addition above the TemplateStyles<br />
* comment above.<br />
*/</div>
Ketekh