Difference between revisions of "MediaWiki:Common.css"
From Pathfinder Wiki
(Created page with "→CSS placed here will be applied to all skins: @import url("/w/index.php?title=MediaWiki:Common.css/Autocount.css&action=raw&ctype=text/css") screen; @import url("/w/index...") |
(Disable TOC autonumbering) |
||
Line 122: | Line 122: | ||
.geo-nondefault, .geo-multi-punct { display: none; } | .geo-nondefault, .geo-multi-punct { display: none; } | ||
.longitude, .latitude { white-space: nowrap; } | .longitude, .latitude { white-space: nowrap; } | ||
+ | |||
+ | /* Disable TOC autonumbering */ | ||
+ | .noautonum .tocnumber { display: none; } |
Revision as of 02:27, 9 October 2020
/* CSS placed here will be applied to all skins */
.PrettyTextBox { background-color:#F9F9F9; color:#000000; border:1px solid #AAAAAA; padding:0.2em; }
.archive-box {
border: 1px solid #aaaaff;
background-color: #f2f2f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
text-align: center;
}
/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-expanded {
padding-left: 20px !important;
background-image: url('//upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png');
background-repeat: no-repeat;
background-position: center left;
}
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-collapsed {
padding-left: 20px !important;
background-image: url('//upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png');
background-repeat: no-repeat;
background-position: center left;
}
/* Fixes for portal pages */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body.page-Main_Page #firstHeading,
body.page-Wikijunior #deleteconfirm,
body.page-Wikijunior #t-cite,
body.page-Wikijunior #footer-info-lastmod,
body.page-Wikijunior #firstHeading {
display: none;
}
body.page-Main_Page h2,
body.page-Wikijunior h2 { font-size:16pt; margin:0; padding: 0; border-bottom:0; font-weight: bold; }
body #siteSub { display: none; }
/* Fix the background color on the sitenotice */
table#mw-dismissable-notice { background-color: transparent; }
/* For template documentation */
.template-documentation { clear:both; margin:1em 0em 0em 0em; border: 1px solid #aaddff; background-color:#eef5ff; padding:1em; }
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext { border:none; background:transparent; padding:0px; }
/* Selectively hide headers in WikiProject banners */
.wpb .wpb-header { display: none; }
.wpbs-inner .wpb .wpb-header { display: block; } /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for other browsers */
.wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */
.nowraplinks a, .nowraplinks .selflink { white-space: nowrap; }
/* Hack to remove comment box for FlaggedRevs, since we seem unable to remove it from configuration. */
#mw-fr-commentbox { display:none; }
/* User block messages */
div.user-block { padding: 5px; margin-bottom: 0.5em; border: 1px solid #A9A9A9; background-color: #FFEFD5; }
/* Keep menus in toolbox from growing too long */
.wikiEditor-ui-toolbar .group .menu .options { height:300px; overflow: auto; }
/* Accessibility experiment: make diff changes not just color-based */
.diffchange { font-weight:bold; background-color: inherit; }
td.diff-addedline, td.diff-deletedline, td.diff-context { font-size:85%; color: inherit; }
/* Show only when printing */
@media screen, projection, handheld {
.printonly { display: none !important; }
}
/* Disable the automatic text-size adjust of WebKit on iPhones etc.
It scales some text, and not the other. Use none, or fixed percentage instead.
Use media selector, because defining a value, overwrites platform defaults. */
@media only screen and (max-device-width: 480px) {
body {
-webkit-text-size-adjust: none;
}
}
/* Re-bold-en minor and bot edits in contributions, history, recent changes */
abbr.minoredit, abbr.botedit {
font-weight: bold;
}
#catlinks li {
padding:0 .3em;
margin:0;
}
#catlinks li:first-child {
padding-left:0;
}
/* Category tree */
#mw-subcategories ul {
list-style: none none;
margin-left: 0.25em;
}
.CategoryTreeChildren {
margin-left: 1.25em;
}
/* To color the "updated since my last visit" in the history */
span.updatedmarker {
color: #000;
background: #99D642;
}
/* Geographical coordinates defaults. See [[Template:Coord/link]]
for how these are used. The classes "geo", "longitude", and
"latitude" are used by the [[w:Geo microformat]].
*/
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }
/* Disable TOC autonumbering */
.noautonum .tocnumber { display: none; }