MediaWiki:Common.css: Difference between revisions

From DragonMoon
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tags: Manual revert Reverted
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/** CSS placed here will be applied to all skins */


.
/* keep the side padding, but enforce no gap between content area and tabs */
.yui-content {
margin-top: 0;
padding-top: 0.25em;
padding-left: 0.5em;
padding-right: 0.5em;
}


.a:hover, a:active {color:RoyalBlue}


/* Wikitable class */
.shadow {
.wikitable {
     -moz-box-shadow: 3px 3px 4px #666;
     background-color: #000033;
     -webkit-box-shadow: 3px 3px 4px #666;
     border-color: #808099;
     box-shadow: 3px 3px 4px #666;
     color: inherit;
    /* For IE 8 */
     text-align: left;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#666666')";
     /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#666666');
}
}


/* Item and Equipment Templates */
 
.item {
 
  float:left;
/* For template documentation */
  width:auto;
.template-documentation {
  width:300px;
    clear: both;
  border:1px solid #907854;
    margin: 1em 0 0 0;
  background-color: #1a1a1a;
    border: 1px solid #aaa;  
  color: #FFFFFF;
    background-color: #ecfcf4;  
  padding: 0.2em;
    padding: 5px;
  font-size: 0.90em;
  font-family: Verdana, Arial, sans-serif;
}
}


.item span {color:GreenYellow}
/* Auto-number rows in tables */
.item a:visited {color:SkyBlue}
.item a:link, a:hover, a:active {color:RoyalBlue}


.item_textbox {
table.numbered { counter-reset: row; }
  background-color:#e6dd80;
table.numbered td:first-child:before { counter-increment: row; content: counter(row) ". "; }
  border:1px solid #cc9900;
 
  color:#000000;
/* Make the list of references smaller */
  padding:30px;
ol.references {
  width:500px;
    font-size: 100%;
  margin:10px auto 0;
}
  text-align:justify;
.references-small {
    font-size: 90%;
}
}


.item_textbox #author {
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
  border-top:1px solid #cc9900;
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
  margin:10px 0;
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
    font-size: 90%;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}
}


.item ul, .item_textbox ul {
/* Highlight clicked reference in blue to help navigation */
  margin: 0;
ol.references > li:target {
  padding: 0;
    background-color: #DEF;
  list-style: none;
  list-style-type: none;
  list-style-image: none;
}
}


.item li.topbottomspace {margin:10px 0px;}
sup.reference:target {  
.item li.topspace {margin-top:10px;}
    background-color: #DEF;
.item li.bottomspace {margin-bottom:10px;}
}
.item li.dmgbonus {padding-left:6px;}
.item li.inscription {border-top:1px solid #907854;}


#item_header {
/* Styling for citations */
  display:table;
cite {
  padding:2px;
    font-style: normal;
  text-align:center;
    word-wrap: break-word;
  width:100%;
  font-weight:bold;
}
}


#item_header div {
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
  display:table-cell;
cite:target {
  vertical-align: middle;
    background-color: #DEF;
}
}


#item_header div + div {
/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */
  display:table-cell;
 
  vertical-align: middle;
@media screen, handheld, projection {
  width:40px;
    cite *.printonly {
        display: none;
    }
}
}


/* Creature and NPC Templates */
/* Wikitable (Prettytable) class for skinning normal tables */
.character-infobox {
table.wikitable,
    background:#000033;
table.prettytable {
    border:2px solid #996633;
  margin: 1em 1em 1em 0;
    padding:0.3em;
  background: #f9f9f9;
    width:22em;
  border: 1px #aaaaaa solid;
    float:right;
  border-collapse: collapse;
    font-size:95%;
  empty-cells: show;
    color:#ffffff;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
  background: #d6e0f5;
  text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
  background: #c5d8fc;
  text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
  background: #a7c1f2;
  text-align: center;
}
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}
}


.character-infobox th {
/* TabView extension */
    padding:0.5em;
 
    font-size:120%;
/*set the base backcolor of the 'off' tabs */
.yui-navset .yui-nav li
{
  background-color: #D4DEE8;
  padding-left: 10px;
  padding-right: 10px;
}
}


/* Dungeon Summary Template */
/*set the background color of the content and the 'on' tab the same*/
.location-infobox {
.yui-content, .yui-navset .yui-nav li.selected
    background:#000033;
{
    border:2px solid #996633;
  background-color: #E7F2FF;
    padding:0.3em;
    width:22em;
    float:right;
    font-size:95%;
    color:#ffffff;
}
}


.location-infobox th {
 
    padding:0.5em;
/** style the 'on' tab **/
    font-size:120%;
.yui-navset .yui-nav .selected {
border-style: solid;
border-width: 2px 0 0 0;
border-top-color: #2F5DBA;
}
}


/* Quest Summary Template */
.quest-infobox {
    background:#000033;
    border:2px solid #cc9933;
    padding:0.3em;
    width:22em;
    float:right;
    font-size:95%;
    color:#ffffff;
}


.quest-infobox th {
 
    padding:0.5em;
/* Wiki Tree and Menu CSS */
    text-align:center;
 
    font-size:120%;
.wikitext-sidebar ul { /* remove bullets and list indents */
list-style: none;
margin: 0;
padding: 0;
}
}
 
/* Quest Rewards Template */
/* this div is only for better handling and navigation  ... could also be done in inner ul*/
table.questrewards {
.wikitext-sidebar ul div {  
    width:375px;
position: absolute;
    background:#000033;
top: -6px;
    border:2px solid #996633;
left: 100%; /* to position them to the right of their containing block */
    margin-bottom:3px;
width: 100%; /* width is based on the containing block */
z-index: 100; /* show ul on top */
}
}
   
   
table.questrewards th {
.wikitext-sidebar ul ul {  
  background:#996633;
background-color: white;
  font: normal 105% Verdana;
border: 1px solid #aaaaaa;
margin-top: 5px; /* make navigation easier*/
margin-bottom: 5px; /* make navigation easier*/
z-index: 101; /* show on top; Needed for IE 7 */
width: 12em; /* width of inner menu, Needed for IE 7 */
}
}
   
   
table.questrewards td:first-child {
.wikitext-sidebar li {
  text-align:center;
position: relative; /* make li a container for inner elements */
  width:100px;
margin: 1px;
  font: normal 95% Verdana;
z-index: 102; /* show on top; Needed for IE 7 */
  color:#ffffff;
}
}
 
table.questrewards td:last-child {
/* style, color and size links and headings to suit */
  font: normal 100% Arial;
.wikitext-sidebar a {
font-weight: normal;
display: block;
border-width: 0px 0px 0px 0px;
border-style: solid;
border-color: #aaaaaa;
margin: 0px;
padding: 1px;
padding-left: 5px;
color: #0000ff;
text-decoration: none;
}
}
 
table.questrewards tr {
/* move the > to the right */
  vertical-align:top;
.wikitext-sidebar a em {
position: absolute;
right: 4px;
}
}
 
/* Item list templates */
.wikitext-sidebar li:hover, /* Needed for IE 7 */
.itemtable {
.wikitext-sidebar a:hover {
    display:table;
background: #ccccff;
    margin-left:6px;
    margin-bottom:10px;
}
}
 
.itemtable_row {
.wikitext-sidebar li.separator a:hover {
    display:table-row;
background: white;
}
}
 
.itemtable_cell {
/* Needed for IE 7 */
    display:table-cell;
.wikitext-sidebar li.separator a,
    padding:5px;
.wikitext-sidebar li.separator {
line-height: 0px;
height: 0px;
font-size: 0px;
}
}
 
.itemtable_caption {
.wikitext-sidebar ul li:last-Child a {  
    font-weight: bold;
border-width: 2px 2px 2px 2px; // remove the last bottom line
padding-bottom: 0px;
}
}
/* hides the first level */
.wikitext-sidebar ul li div { display: none; }
/* shows the first level and hide the second */
.wikitext-sidebar ul li:hover div,
.wikitext-sidebar ul li div:hover { display: block; } /* div is again used for easier navigation*/
.wikitext-sidebar ul li:hover ul li div { display: none; } /* hide the next level */
/* second level*/
.wikitext-sidebar ul li ul li:hover div,
.wikitext-sidebar ul li ul li div:hover  { display: block; } /* div is again used for easier navigation*/
.wikitext-sidebar ul li ul li:hover ul li div { display: none; }  /* hide the next level */
/* third level */
.wikitext-sidebar ul li ul li ul li:hover div,
.wikitext-sidebar ul li ul li ul li div:hover  { display: block; } /* div is again used for easier navigation*/
.wikitext-sidebar ul li ul li ul li:hover ul li div { display: none; }  /* hide the next level */


.itemlist ul {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
}


.creatureitems {
    display:inline-block;
    padding:3px;
    margin-bottom:1px;
}


.creatureitems > span {
/*
    position: absolute;
* MenuSidebar
*/
/* this has to be overridden for every menu */
#p-Menu,
#p-Menu2,
#p-Menu3 {
overflow: visible;  
}
}
 
.creatureitems > span > span {
/* this has to be overridden for every menu */
    font-size:29px;
#p-Menu div,
    z-index:1;
#p-Menu2 div,
    position: absolute;
#p-Menu3 div {
    right: -32px;
margin: 0;
    bottom: -26px;
padding: 0;
}
}
 
/* Horizontal ToC bar (dungeon and quest templates) */
/* this is an example to make the list of the second entry bigger e.g. when there is a longer text in a list item
.contentsbar {
#p-Menu ul li.item2 ul {
    background:#000033;
width: 16em;
    padding:5px;
    width:100%;
    text-align:center;
}
}
 
*/
/* Map point template */
.mappoint {
/* this an example to change the background color of every second list item
    position:relative;
li.even {
    top:0px;
background-color: #eeeeee;
    left:0px;
    width:260px;
}
}
.mappoint span:first-child {
*/
    position:absolute;
    top:2px;
.menuSidebar ul { /* remove bullets and list indents */
    left:2px;
list-style: none;
    z-index:1;
margin: 0;
padding: 0;
}
}
 
.mappoint span + span, .mappointloc {
/* this div is only for better handling and navigation  ... could also be done in inner ul*/
    z-index:2;
.menuSidebar ul div {  
position: absolute;
top: -6px;
left: 100%; /* to position them to the right of their containing block */
width: 100%; /* width is based on the containing block */
z-index: 100; /* show ul on top */
}
}
 
/* Tooltips */
.menuSidebar ul ul {
.htt .tooltip-content .tooltip-hide, .hidden { display:none; }
background-color: white;
 
border: 1px solid #aaaaaa;
.tooltip-error {
margin-top: 5px; /* make navigation easier*/
  background-color: black;
margin-bottom: 5px; /* make navigation easier*/
  color: white;
z-index: 101; /* show on top; Needed for IE 7 */
  max-width: 18em;
width: 12em; /* width of inner menu, Needed for IE 7 */
}
}
 
.tooltip-ready {
.menuSidebar li {
  visibility:hidden;
position: relative; /* make li a container for inner elements */
  display:block;
margin: 1px;
  z-index:999;
z-index: 102; /* show on top; Needed for IE 7 */
}
}
 
.creaturetooltip {
/* style, color and size links and headings to suit */
  background-color: #f9f9f9;
.menuSidebar a {
font-weight: normal;
display: block;
border-width: 0px 0px 0px 0px;
border-style: solid;
border-color: #aaaaaa;
margin: 0px;
padding: 1px;
padding-left: 5px;
color: #0000ff;
text-decoration: none;
}
}
 
/* Chat colors */
/* move the > to the right */
span.say {
.menuSidebar a em {
color:black;
position: absolute;
right: 4px;
}
}
 
span.emote {
.menuSidebar li:hover, /* Needed for IE 7 */
color:grey;
.menuSidebar a:hover {
background: #ccccff;
}
}
 
span.tell {
.menuSidebar li.separator a:hover {
color:darkgoldenrod;
background: white;
}
}
 
span.event {
/* Needed for IE 7 */
color:green;
.menuSidebar li.separator a,
.menuSidebar li.separator {
line-height: 0px;
height: 0px;
font-size: 0px;
}
}
 
span.magic {
.menuSidebar ul li:last-Child a {  
color:cornflowerblue;
border-width: 0px 0px 0px 0px; // remove the last bottom line
padding-bottom: 0px;
}
}
/* hides the first level */
.menuSidebar ul li div { display: none; }
/* shows the first level and hide the second */
.menuSidebar ul li:hover div,
.menuSidebar ul li div:hover { display: block; } /* div is again used for easier navigation*/
.menuSidebar ul li:hover ul li div { display: none; } /* hide the next level */
/* second level*/
.menuSidebar ul li ul li:hover div,
.menuSidebar ul li ul li div:hover  { display: block; } /* div is again used for easier navigation*/
.menuSidebar ul li ul li:hover ul li div { display: none; }  /* hide the next level */
/* third level */
.menuSidebar ul li ul li ul li:hover div,
.menuSidebar ul li ul li ul li div:hover  { display: block; } /* div is again used for easier navigation*/
.menuSidebar ul li ul li ul li:hover ul li div { display: none; }  /* hide the next level */


/* Buffed/debuffed stat color */
/*
span.buffed {
* This is the CSS for all skins (for both mobile and desktop) on MediaWiki.org.
color:greenyellow;
* Styling inside .mw-parser-output should generally use TemplateStyles.
}
*/


span.debuffed {
/* Force lining numbers in headers (for fonts like Georgia) */
color:red;
h1,
h2,
.firstHeading {
    font-variant-numeric: lining-nums;
}
}


/* Section background colors */
/* Consistent size for sub/sup */
.accwikibgc {background: #996633}
.mw-body sub,
.characterbgc {background: #996633}
.mw-body sup {
.gameplaybgc {background: #996633}
     font-size: 80%;
.newsbgc {background: #996633}
.questsbgc {background: #996633}
.itemsbgc {background: #996633}
.craftingbgc {background: #996633}
.worldbgc {background: #996633}
.lorebgc {background: #996633}
.gettingstartedbgc {background: #996633}
.mediabgc {background: #996633}
.turbinebgc {background: #996633}
 
/* Homepage styling */
#mainpage_container {
     width:100%;
    margin:1em 0 0;
    padding:2px;
}
}


.mainpage_box {
/* Public Domain background in the Help namespace */
    width:33%;
.action-view.ns-12 #bodyContent {
    padding:5 0em;
background-image: url(//upload.wikimedia.org/wikipedia/commons/6/67/PD-icon-faded.png);
    vertical-align:top;
background-repeat: no-repeat;
/* @noflip */
background-position: right 5em;
}
}


.mainpage_boxheader {
/*
    border:1px solid #996633;
* Hide elements on the main page.
    padding:5px;
*/
    margin:3px;
.page-MediaWiki #lastmod,
    text-align: center;
.page-MediaWiki #siteSub,
.page-MediaWiki #contentSub,
.page-MediaWiki .subtitle,
.page-MediaWiki #jump-to-nav,
/* can be removed when Template:Main_page translations are updated. */
.page-MediaWiki #firstHeading,
[lang="en"] .page-MediaWiki .mw-parser-output h2 {
display: none;  
}
}


.mainpage_boxheader div {
[lang="en"] .page-MediaWiki #firstHeading {
    float:right;
  font-size: 1.5em;
  display: block;
}
}


.mainpage_boxcontents {
/* Give a bit of space to the TOC */
    padding:0 2em;
#toc {
margin: 1em 0;
}
}


/* Hide main page title */
/* Fonts for Persian language for consistency with other Wikimedia wikis */
body.page-Home h1.firstHeading {display:none;}
:lang(fa) {
 
font-family: '.Arabic UI Text', Tahoma, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
.Optim_link {
    background-image: url(https://acportalstorm.com/w/mw/images/c/c0/Prime24.png);
    background-position: 5px center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
 
}
}


.Optim {
/* Div based "warning" style fmbox messages. */
    display: inline-block;
div.mw-warning-with-logexcerpt,
    font-weight: 400;
div.mw-lag-warn-high,
    text-align: center;
div.mw-cascadeprotectedwarning,
    white-space: nowrap;
div#mw-protect-cascadeon,
    vertical-align: middle;
div.titleblacklist-warning {
    -webkit-user-select: none;
clear: both;
    -moz-user-select: none;
margin: 0.2em 0;
    -ms-user-select: none;
border: 1px solid var( --border-color-error, #9f3526 );
    user-select: none;
background-color: var( --background-color-error-subtle, #ffdbdb );
    /*border: 2px solid #c90;*/
color: var( --color-base, #202122 );
    padding: 0.475rem 2.0rem;
padding: 0.25em 0.9em;
    font-size: 1.5rem;
box-sizing: border-box;
    line-height: 1.5;
  /* border-radius: 0.25rem;*/
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
 
}
a.external {
    background: none;
    padding-right: 0;
}
#optimlink {
    color: #fff;
}
}


a.external.text {
/* Hide confusing "Discussion" tab on [[Project:Support_desk]].
    color: #fff;
* For sanity, only do this if [[Project_talk:Support_desk]] is a
* redirect (which goes back to [[Project:Support_desk]]).
* If that is changed for some reason, it automatically comes back.
*/
.page-Project_Support_desk #ca-talk a.mw-redirect {
display: none;
}
}

Revision as of 02:50, 21 February 2025

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

/* keep the side padding, but enforce no gap between content area and tabs */
.yui-content {
margin-top: 0;
padding-top: 0.25em;
padding-left: 0.5em;
padding-right: 0.5em;
}


.shadow {
    -moz-box-shadow: 3px 3px 4px #666;
    -webkit-box-shadow: 3px 3px 4px #666;
    box-shadow: 3px 3px 4px #666;
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#666666')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#666666');
}



/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa; 
    background-color: #ecfcf4; 
    padding: 5px;
}

/* Auto-number rows in tables */

table.numbered { counter-reset: row; }
table.numbered td:first-child:before { counter-increment: row; content: counter(row) ". "; }

/* Make the list of references smaller */
ol.references {
    font-size: 100%;
}
.references-small { 
    font-size: 90%;
}

/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
    font-size: 90%;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}

/* Highlight clicked reference in blue to help navigation */
ol.references > li:target {
    background-color: #DEF;
}

sup.reference:target { 
    background-color: #DEF;
}

/* Styling for citations */
cite {
    font-style: normal;
    word-wrap: break-word;
}

/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target { 
    background-color: #DEF;
}

/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */

@media screen, handheld, projection {
    cite *.printonly {
        display: none;
    }
}

/* Wikitable (Prettytable) class for skinning normal tables */
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
  empty-cells: show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
  background: #d6e0f5;
  text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
  background: #c5d8fc;
  text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
  background: #a7c1f2;
  text-align: center;
}
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

/* TabView extension */

/*set the base backcolor of the 'off' tabs */
.yui-navset .yui-nav li
{
  background-color: #D4DEE8;
  padding-left: 10px;
  padding-right: 10px;
}

/*set the background color of the content and the 'on' tab the same*/
.yui-content, .yui-navset .yui-nav li.selected
{
  background-color: #E7F2FF;
}


/** style the 'on' tab **/
.yui-navset .yui-nav .selected {
border-style: solid;
border-width: 2px 0 0 0;
border-top-color: #2F5DBA;
}



/* Wiki Tree and Menu CSS */

.wikitext-sidebar ul { /* remove bullets and list indents */
 list-style: none;
 margin: 0;
 padding: 0;
}
 
/* this div is only for better handling and navigation  ... could also be done in inner ul*/
.wikitext-sidebar ul div { 
 position: absolute;
 top: -6px;
 left: 100%; /* to position them to the right of their containing block */
 width: 100%; /* width is based on the containing block */
 z-index: 100; /* show ul on top */
}
 
.wikitext-sidebar ul ul { 
 background-color: white;
 border: 1px solid #aaaaaa;
 margin-top: 5px; /* make navigation easier*/
 margin-bottom: 5px; /* make navigation easier*/
 z-index: 101; /* show on top; Needed for IE 7 */
 width: 12em; /* width of inner menu, Needed for IE 7 */
}
 
.wikitext-sidebar li {
 position: relative; /* make li a container for inner elements */
 margin: 1px;
 z-index: 102; /* show on top; Needed for IE 7 */
}
 
/* style, color and size links and headings to suit */
.wikitext-sidebar a {
 font-weight: normal;
 display: block;
 border-width: 0px 0px 0px 0px;
 border-style: solid;
 border-color: #aaaaaa;
 margin: 0px;
 padding: 1px;
 padding-left: 5px;
 color: #0000ff;
 text-decoration: none;
}
 
/* move the > to the right */
.wikitext-sidebar a em {
 position: absolute;
 right: 4px;
}
 
.wikitext-sidebar li:hover, /* Needed for IE 7 */
.wikitext-sidebar a:hover {
 background: #ccccff;
}
 
.wikitext-sidebar li.separator a:hover {
 background: white;
}
 
/* Needed for IE 7 */
.wikitext-sidebar li.separator a,
.wikitext-sidebar li.separator {
 line-height: 0px;
 height: 0px;
 font-size: 0px;
}
 
.wikitext-sidebar ul li:last-Child a { 
 border-width: 2px 2px 2px 2px; // remove the last bottom line 
 padding-bottom: 0px;
}
 
/* hides the first level */
.wikitext-sidebar ul li div { display: none; }
 
/* shows the first level and hide the second */
.wikitext-sidebar ul li:hover div, 
.wikitext-sidebar ul li div:hover { display: block; } /* div is again used for easier navigation*/
.wikitext-sidebar ul li:hover ul li div { display: none; } /* hide the next level */
 
/* second level*/
.wikitext-sidebar ul li ul li:hover div,
.wikitext-sidebar ul li ul li div:hover  { display: block; } /* div is again used for easier navigation*/
.wikitext-sidebar ul li ul li:hover ul li div { display: none; }  /* hide the next level */
 
/* third level */
.wikitext-sidebar ul li ul li ul li:hover div,
.wikitext-sidebar ul li ul li ul li div:hover   { display: block; } /* div is again used for easier navigation*/
.wikitext-sidebar ul li ul li ul li:hover ul li div { display: none; }  /* hide the next level */



/*
* MenuSidebar
*/
/* this has to be overridden for every menu */
#p-Menu,
#p-Menu2,
#p-Menu3 {
 overflow: visible; 
}
 
/* this has to be overridden for every menu */
#p-Menu div,
#p-Menu2 div,
#p-Menu3 div {
 margin: 0;
 padding: 0;
}
 
/* this is an example to make the list of the second entry bigger e.g. when there is a longer text in a list item
#p-Menu ul li.item2 ul {
 width: 16em;
}
*/
 
/* this an example to change the background color of every second list item
li.even {
 background-color: #eeeeee;
}
*/
 
.menuSidebar ul { /* remove bullets and list indents */
 list-style: none;
 margin: 0;
 padding: 0;
}
 
/* this div is only for better handling and navigation  ... could also be done in inner ul*/
.menuSidebar ul div { 
 position: absolute;
 top: -6px;
 left: 100%; /* to position them to the right of their containing block */
 width: 100%; /* width is based on the containing block */
 z-index: 100; /* show ul on top */
}
 
.menuSidebar ul ul { 
 background-color: white;
 border: 1px solid #aaaaaa;
 margin-top: 5px; /* make navigation easier*/
 margin-bottom: 5px; /* make navigation easier*/
 z-index: 101; /* show on top; Needed for IE 7 */
 width: 12em; /* width of inner menu, Needed for IE 7 */
}
 
.menuSidebar li {
 position: relative; /* make li a container for inner elements */
 margin: 1px;
 z-index: 102; /* show on top; Needed for IE 7 */
}
 
/* style, color and size links and headings to suit */
.menuSidebar a {
 font-weight: normal;
 display: block;
 border-width: 0px 0px 0px 0px;
 border-style: solid;
 border-color: #aaaaaa;
 margin: 0px;
 padding: 1px;
 padding-left: 5px;
 color: #0000ff;
 text-decoration: none;
}
 
/* move the > to the right */
.menuSidebar a em {
 position: absolute;
 right: 4px;
}
 
.menuSidebar li:hover, /* Needed for IE 7 */
.menuSidebar a:hover {
 background: #ccccff;
}
 
.menuSidebar li.separator a:hover {
 background: white;
}
 
/* Needed for IE 7 */
.menuSidebar li.separator a,
.menuSidebar li.separator {
 line-height: 0px;
 height: 0px;
 font-size: 0px;
}
 
.menuSidebar ul li:last-Child a { 
 border-width: 0px 0px 0px 0px; // remove the last bottom line 
 padding-bottom: 0px;
}
 
/* hides the first level */
.menuSidebar ul li div { display: none; }
 
/* shows the first level and hide the second */
.menuSidebar ul li:hover div, 
.menuSidebar ul li div:hover { display: block; } /* div is again used for easier navigation*/
.menuSidebar ul li:hover ul li div { display: none; } /* hide the next level */
 
/* second level*/
.menuSidebar ul li ul li:hover div,
.menuSidebar ul li ul li div:hover  { display: block; } /* div is again used for easier navigation*/
.menuSidebar ul li ul li:hover ul li div { display: none; }  /* hide the next level */
 
/* third level */
.menuSidebar ul li ul li ul li:hover div,
.menuSidebar ul li ul li ul li div:hover   { display: block; } /* div is again used for easier navigation*/
.menuSidebar ul li ul li ul li:hover ul li div { display: none; }  /* hide the next level */

/*
 * This is the CSS for all skins (for both mobile and desktop) on MediaWiki.org.
 * Styling inside .mw-parser-output should generally use TemplateStyles.
 */

/* Force lining numbers in headers (for fonts like Georgia) */
h1,
h2,
.firstHeading {
    font-variant-numeric: lining-nums;
}

/* Consistent size for sub/sup */
.mw-body sub,
.mw-body sup {
    font-size: 80%;
}

/* Public Domain background in the Help namespace */
.action-view.ns-12 #bodyContent {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/6/67/PD-icon-faded.png);
	background-repeat: no-repeat;
	/* @noflip */
	background-position: right 5em;
}

/*
 * Hide elements on the main page. 
 */
.page-MediaWiki #lastmod,
.page-MediaWiki #siteSub,
.page-MediaWiki #contentSub,
.page-MediaWiki .subtitle,
.page-MediaWiki #jump-to-nav,
/* can be removed when Template:Main_page translations are updated. */ 
.page-MediaWiki #firstHeading,
[lang="en"] .page-MediaWiki .mw-parser-output h2 {
	display: none; 
}

[lang="en"] .page-MediaWiki #firstHeading {
  font-size: 1.5em;
  display: block;
}

/* Give a bit of space to the TOC */
#toc {
	margin: 1em 0;
}

/* Fonts for Persian language for consistency with other Wikimedia wikis */
:lang(fa) {
	font-family: '.Arabic UI Text', Tahoma, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
}

/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid var( --border-color-error, #9f3526 );
	background-color: var( --background-color-error-subtle, #ffdbdb );
	color: var( --color-base, #202122 );
	padding: 0.25em 0.9em;
	box-sizing: border-box;
}

/* Hide confusing "Discussion" tab on [[Project:Support_desk]].
 * For sanity, only do this if [[Project_talk:Support_desk]] is a
 * redirect (which goes back to [[Project:Support_desk]]).
 * If that is changed for some reason, it automatically comes back.
 */
.page-Project_Support_desk #ca-talk a.mw-redirect {
	display: none;
}