MediaWiki:Common.css
Ir para navegação
Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/** o código CSS colocado aqui será aplicado a todos os temas */ /* Zde uvedené CSS bude ovlivňovat všechny styly */ /* Z holandskej Wiki Grepolis - Wolfy */ /* Spriesvitnenie obrázka po ukázaní myšou. */ .rssRow { list-style-type: none; list-style-image: none; padding: 0px; margin: 0px; } .rssBody ul { padding: 0px; margin: 0px; } .even { background-color:#FFE1A1; } .odd { background-color:#E5CB90; } div.mvisto:hover { opacity:0.7; filter:alpha(opacity=70); } div.NavFrame { margin: 0; padding: 1px; border: 2px solid #322618; text-align: center; border-collapse: collapse; font-size: 95%; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.9em; font-weight: bold; background-color: #C0A875; position: relative; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 12px; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; right: 3px; font-weight: normal; font-size: 93%; } /* Z anglickej Wiki Grepolis - Wolfy */ /* Skládacie tabuľky. */ table.collapsed tr.collapsible { display: none; } .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; color: white; } /* Z klasickej Wikipédie - Wolfy */ /* Limitovaný obsah */ /* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). */ .toclimit-2 .toclevel-2, .toclimit-3 .toclevel-3, .toclimit-4 .toclevel-4, .toclimit-5 .toclevel-5, .toclimit-6 .toclevel-6, .toclimit-7 .toclevel-7 { display: none; } /* Z ruskej Wiki Grepolis - Wolfy */ /* Skládacie zoznamy. */ /** Размещённый здесь CSS будет применяться ко всем темам оформления */ table.struct {margin-left:5%; width:90%; cellpadding:2px; margin-top:10px; backgroud:#feb; border-radius:8px; border:2px solid black; text-align:center;} table.struct th {background:#edb; border-top:1px solid grey; border-right:1px solid grey; padding: 8px 0px 8px 0px;} table.struct td {background:#feb; border-top:1px solid grey;} table.t1 {backgroud:#feb; border-radius:8px; border:2px solid black; text-align:center;} table.t1 th {background:#edb; border-top:1px solid grey; border-right:1px solid grey; padding: 8px 0px 8px 0px;} table.t1 td {background:#feb; border-top:1px solid grey;} table.data {backgroud:#feb; border-collapse:collapse; border:1px solid grey;} table.data th {background:#edb; font-size:small;} table.data td {border-top:1px solid grey;} /* my menu */ .mn {width:140px; position:relative; z-index:10;} .mn ul {padding:0; margin:0;} .mn ul li {position:relative; margin-top:0; margin-bottom:0; border:0;} .mn ul li p {margin-top:0; margin-bottom:0; display:block; width:135px; height:18px; text-align:left; font-color:black; font-size:12px; overflow:hidden;} .mn ul li ul {display: none;} .mn ul li ul li ul {display: none;} .mn ul li:hover li ul {display: none;} .mn ul li:hover p {background:#ef8;} .mn ul li:hover p.title {background:#ccc;} .mn ul li:hover ul {display:block; position:absolute; top:0px; left:128px; width:180px; z-index:11; border-left:2px solid #cba; border-right:2px solid #cba;} .mn ul li:hover ul li {display:block; width:180px; height:20px; text-align:left; background:#eda;} .mn ul li:hover ul li p {padding-left:4px; margin-top:0; margin-bottom:0; display:block; text-decoration:none; width:180px; height:20px; text-align:left; font-color:black; background:#eda;} .mn ul li:hover ul li:hover p {background:#dca;} .mn ul li:hover ul li:hover p.title {background:#ccc;} .mn ul li:hover ul li:hover ul {display:block; position:absolute; top:0px; left:176px; width:180px; z-index:11; border-left:2px solid #cba; border-right:2px solid #cba; background:#eda;} .mn ul li:hover ul li:hover ul li {display:block; width:180px; height:20px; text-align:left; background:#eda;} .mn ul li:hover ul li:hover ul li p {padding-left:4px; margin-top:0; margin-bottom:0; display:block; text-decoration:none; width:180px; height:20px; text-align:left; font-color:black; background:#eda;} .mn ul li:hover ul li:hover ul li:hover p {background:#dca;} .mn ul li:hover ul li:hover ul li:hover p.title {background:#ccc;} /* tlacitko zpet */ a{ text-decoration:none; } .tlacitko{ background-image: url('http://wiki.cz.grepolis.com/images/c/cf/Button.png'); background-repeat: no-repeat; text-align:center; background-position:center; color:#fc6; font-size:15px; font-weight:700; font-family:Arial; text-decoration:none; } .tlacitko:hover{ background-image:url('http://wiki.cz.grepolis.com/images/6/65/Buttonhover.png'); background-repeat: no-repeat; cursor: pointer; background-position:center; color:#fc6; font-weight:700; } /* * 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 ther 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: bold; display: block; border-width: 0px 0px 1px 0px; border-style: solid; border-color: #aaaaaa; margin: 0px; padding: 1px; padding-left: 5px; color: #000000; 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 */