MediaWiki:Common.css: Rozdiel medzi revíziami
Jump to navigation
dBez shrnutí editace |
dBez shrnutí editace |
||
Riadok 4: | Riadok 4: | ||
text-align: center; | text-align: center; | ||
color:#fc6; | color:#fc6; | ||
font-size: | font-size:120%; | ||
font-family:Nyala; | font-family:Nyala; | ||
font-weight:bold; | font-weight:bold; |
Verzia z 11:56, 15. február 2016
/* Tu umiestnené CSS bude ovplyvňovať všetky štýly */ /*Tooltips*/ #tooltip { text-align: center; color:#fc6; font-size:120%; font-family:Nyala; font-weight:bold; background:url(https://gpsk.innogamescdn.com/images/game/box/background_2.56_compressed.jpg) 0 -61px; border: outset 3px #fc6; border-radius:12px; box-shadow: black 5px 7px 30px; position: absolute; z-index: 100; padding: 15px; } #tooltip:after { width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid #BAA472; content: ''; position: absolute; left: 50%; bottom: -10px; margin-left: -10px; } #tooltip.top:after { border-top-color: transparent; border-bottom: 10px solid #BAA472; top: -20px; bottom: auto; } #tooltip.left:after { left: 10px; margin: 0; } #tooltip.right:after { right: 10px; left: auto; margin: 0; } .mbt-tooltip { display: none; width: auto; max-width: 100% !important; } /* Hlavné menu - odkazy */ .odkazy{ color:#fc6; transition: color 1s ease-in-out; } .odkazy:hover{ text-decoration:none; color:#0082BE; font-size:120%; } /*Zpruhledneni*/ div.mvisto:hover { opacity:0.7; filter:alpha(opacity=70); } /* Z Anglickej Wiki Grepolis - Wolfy*/ 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; } /* Z klasickej Wikipédie - Wolfy*/ /* 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; } /* 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:177.5px; z-index:11; border-left:2px solid #cba; border-right:2px solid #cba;} .mn ul li:hover ul li {display:block; width:177.5px; 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:177.5px; 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:177.5px; 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:177.5px; 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:177.5px; 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;}