Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
 
(137 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/*******************************************************************************
/* Configure Numbering scheme */
* MediaWiki Styles Override
*/
 
/* Recent changes legend */
div.mw-changeslist-legend {
    background-color: #27292d;
}
 
/* Main page legend */
div.mw-changeslist-legend dt {
    float: left;
}
 
/* Reference notes */
div.mw-references-wrap {
    font-size: 0.9em;
    color: #ffffff;
}
div.mw-references-wrap:before {
    border-bottom: 1px solid #A2A9B1;
    content: 'Notes and References';
    display: block;
    font-family: monospace;
    font-size: 1.75em;
    margin: 3em auto 0.75em;
    color: #ffffff;
}
 
/* Navigation margin top */
#p-navigation {
    margin-top: -36px !important;
}
 
/* Hide <h3>&nbsp;</h3> at the top of the category pages list */
.mw-category > .mw-category-group:only-child > h3 {
    display: none;
}
.mw-category > .mw-category-group:first-child > h3 {
    margin: 0;
}
 
/* Table of contents */
.toc {
    border-radius: 0.3rem;
    background-color: #1f2024;
    color: #ffffff;
}
 
/* Content links */
#content a:link, #content a:visited, #content a:hover:link, #content a:hover:visited, #content a:focus:link, #content a:focus:visited {
    color: #ffffff;
}
#content a.new:link, #content a.new:visited, #content a.new:hover:link, #content a.new:hover:visited, #content a.new:focus:link, #content a.new:focus:visited {
    color: #BA0000;
}
#content a.oo-ui-buttonElement-button {
    color: #D33;
}
 
/* Button focus inner */
button::-moz-focus-inner {
    padding: 0;
}
 
/* Edit section margin top */
div.editsection {
    margin-top: 2em;
}
 
/* Heading margins and sizes */
.mw-body-content h2 { margin-top: 1.75em; font-size: 1.75em; }
.mw-body-content h3 { margin-top: 1.00em; font-size: 1.50em; }
.mw-body-content h4 { font-size: 1.25em; }
.mw-body-content h5 { font-size: 1.00em; }
.mw-body-content h6 { font-size: 0.90em; }
 
/* Edit section in headings */
h1 > span.mw-editsection, h2 > span.mw-editsection {
    font-style: italic;
    font-size: 0.5em;
}
h1 > span.mw-editsection > span.mw-editsection-bracket, h2 > span.mw-editsection > span.mw-editsection-bracket {
    display: none;
}
 
/* Edit section floating */
span.mw-editsection {
    float: right;
}
}
 
ol {
/* Hide "Variants" tab */
list-style-type: decimal;  
#p-variants {
    display: none;
}
}
 
ol li > ol {  
/* Hide Vector 2022 Skin */
list-style-type: lower-alpha;  
.oo-ui-widget.oo-ui-widget-enabled.oo-ui-labelElement.oo-ui-optionWidget.oo-ui-radioOptionWidget:has( > span > input[value="vector-2022"]) {
    display:none;
}
 
/* Preformatted text and code block styling */
pre {
    border-color: #DDD;
}
code:not(.mw-highlight), div:not(.mw-highlight) > pre {
    margin: 0.5em 0 0.5em 0.5em;
    padding: 0.5em;
    background-color: #1f2024;
    border: 1px dashed #2F6FAB;
    font-size: 0.9em;
    line-height: 1.4em;
    white-space: pre;
    overflow-x: auto;
    color: #ffffff;
}
 
/* Obsolete <tt> tag styling */
var, tt {
    background-color: #1f2024;
    font-family: "Lucida Console", Consolas, monospace;
    font-size: 0.9em;
    font-style: normal;
    line-height: 1.4em;
    padding: 0.2em 0.3em;
    color: #ffffff;
}
tt:after {
    color: #D33;
    content: "<tt> is obsolete, use {{hl|text}} template";
    font-family: arial;
    font-size: 75%;
    font-weight: bold;
    line-height: 0;
    margin-left: 1em;
    position: relative;
        top: -0.5em;
    vertical-align: baseline;
}
 
/* Technical writing style */
pre, code, tt, kbd, samp, .mw-code {
    font-family: "Lucida Console", monospace;
    tab-size: 4;
    color: #ffffff;
}
#wpTextbox1 {
    tab-size: 4;
}
 
/*
* Syntaxhighlight styling
*/
div.mw-highlight > pre > span > .k, div.mw-highlight > pre > span > .kc, div.mw-highlight > pre > span > .nc, div.mw-highlight > pre > span > .nn, div.mw-highlight > pre > span > .nt {
    font-weight: normal;
    text-shadow: 0 0 0.075em;        /* fake bold */
}
div.mw-highlight.mw-highlight-lang-css .cp {
    background-color: #FF8;
    color: #D00;
    margin: -0.125em;
    padding: 0.125em;
    text-shadow: 0 0 0.075em;        /* fake bold */
}
div.mw-highlight > pre {
    font-size: 0.9em;
    line-height: 1.4em;
    margin: 0.5em 0;
    padding: 0.5em;
    overflow-x: auto;
    white-space: pre;
    background-color: #1f2024;
    color: #ffffff;
}
 
/*
* Smaller Wiki-styled checkboxes, e.g [[Special:Search]] (after v1.39)
*/
.oo-ui-checkboxInputWidget [type="checkbox"], .oo-ui-checkboxInputWidget [type="checkbox"] + span {
    height: 1.2em;
    min-height: unset;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
    width: 1.2em;
    min-width: unset;
}
 
.oo-ui-layout.oo-ui-labelElement.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline {
    line-height: 1.1em;
}
 
/*
* Bigger native checkboxes, e.g [[Special:ReplaceText]]
*/
input[type="checkbox"] {
    height: 1.2em;
    width: 1.2em;
}
 
/* Hide subtitle and categories on Main Page */
.page-Main_Page #contentSub {
    display: none;
}
}
.page-Main_Page #catlinks {
ol li > ol li > ol {  
    display: none;
list-style-type: lower-roman;  
}
}
.page-Main_Page #firstHeading {
/* Underline all links */
     display: none;
a {
     text-decoration: underline;
}
}


/* Continue with more custom styles... */
/* Load FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

Latest revision as of 02:23, 13 November 2024

/* CSS placed here will be applied to all skins */

/* Configure Numbering scheme */
}
ol { 
	list-style-type: decimal; 
}
ol li > ol { 
	list-style-type: lower-alpha; 
}
ol li > ol li > ol { 
	list-style-type: lower-roman; 
}
/* Underline all links */
a {
    text-decoration: underline;
}

/* Load FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');