MediaWiki:Common.css: различия между версиями
Строка 51: | Строка 51: | ||
span.tl ol li.ttl {background:#cbe; border-bottom:1px solid grey; border-right:1px solid grey;} | span.tl ol li.ttl {background:#cbe; border-bottom:1px solid grey; border-right:1px solid grey;} | ||
span.tl ol li.cp {background:#feb; border-right:0;} | span.tl ol li.cp {background:#feb; border-right:0;} | ||
+ | |||
+ | /*Менюшка*/ | ||
+ | #navBar1{ | ||
+ | float:left; | ||
+ | border:solid 2px #849c92; | ||
+ | border-radius:13px; | ||
+ | -moz-border-radius:13px; | ||
+ | -webkit-border-radius:13px; | ||
+ | background:-moz-linear-gradient(bottom,#596a63, #829a90); | ||
+ | background:-webkit-gradient(linear,left bottom, left top, from(#596a63), to(#829a90)); | ||
+ | -moz-box-shadow: 2px 5px 7px #161617; | ||
+ | box-shadow: 2px 5px 7px #161617; | ||
+ | } | ||
+ | #navBar1 ul ul{ | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #navBar1 ul { | ||
+ | padding:0; | ||
+ | margin:0; | ||
+ | list-style:none; | ||
+ | position:relative; | ||
+ | } | ||
+ | |||
+ | #navBar1 ul li{ | ||
+ | display:block; | ||
+ | float:left; | ||
+ | padding-top:9px; | ||
+ | padding-bottom:9px; | ||
+ | } | ||
+ | #navBar1 ul li span a{ | ||
+ | border-left:solid #8cab9e thin; | ||
+ | } | ||
+ | |||
+ | .headerList1 a{ | ||
+ | border-right:solid #505e58 thin; | ||
+ | } | ||
+ | #navBar1 ul li a{ | ||
+ | display:block; | ||
+ | padding:4px; | ||
+ | padding-left:13px; | ||
+ | padding-right:13px; | ||
+ | color:#d1d1d1; | ||
+ | text-decoration:none; | ||
+ | font-family:Tahoma, Geneva, sans-serif; | ||
+ | font-size:80%; | ||
+ | } | ||
+ | |||
+ | #navBar1 ul li a:hover{ | ||
+ | color:#ffffff; | ||
+ | text-decoration:underline; | ||
+ | } | ||
+ | |||
+ | #navBar1 ul ul{ | ||
+ | position:absolute; | ||
+ | top:42px; | ||
+ | background:url(menuDropBG.png); | ||
+ | width:310px; | ||
+ | border:thin solid #849c92; | ||
+ | font-size:70%; | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #navBar1 ul li:hover ul{ | ||
+ | position:absolute; | ||
+ | left:60px; | ||
+ | display:block; | ||
+ | } | ||
+ | |||
+ | #navBar1 ul ul li{ | ||
+ | padding:0; | ||
+ | padding-top:3px; | ||
+ | padding-bottom:2px; | ||
+ | } | ||
+ | #navBar1 ul ul li a{ | ||
+ | border:none; | ||
+ | color:white; | ||
+ | } |
Версия 09:34, 23 сентября 2013
/** Collapsible tables ********************************************************* * * Description: Allows tables to be collapsed, showing only the header. See * http://www.mediawiki.org/wiki/Manual:Collapsible_tables. * Maintainers: [[en:User:R. Koot]] */ 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; } /* navigation menu */ table.t2 {border-collapse:collapse; border:1px solid grey; margin-top:10px; font-size:80%; text-align:left;} table.t2 th {background:#edb; text-align:right; padding-right:4px; border-right:1px solid grey;} table.t2 td {background:#eee; border-bottom:1px solid grey; padding-left:8px;} /* 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;} /* table list */ span.tl ol {list-style-type:none; padding:0; margin:0; width:100%; background:#eef; border:0} span.tl ol li {border-bottom:1px solid #ccf; border-right:1px solid #ccf;} span.tl ol li:hover {background:#ddf;} span.tl ol li.ttl {background:#cbe; border-bottom:1px solid grey; border-right:1px solid grey;} span.tl ol li.cp {background:#feb; border-right:0;} /*Менюшка*/ #navBar1{ float:left; border:solid 2px #849c92; border-radius:13px; -moz-border-radius:13px; -webkit-border-radius:13px; background:-moz-linear-gradient(bottom,#596a63, #829a90); background:-webkit-gradient(linear,left bottom, left top, from(#596a63), to(#829a90)); -moz-box-shadow: 2px 5px 7px #161617; box-shadow: 2px 5px 7px #161617; } #navBar1 ul ul{ display:none; } #navBar1 ul { padding:0; margin:0; list-style:none; position:relative; } #navBar1 ul li{ display:block; float:left; padding-top:9px; padding-bottom:9px; } #navBar1 ul li span a{ border-left:solid #8cab9e thin; } .headerList1 a{ border-right:solid #505e58 thin; } #navBar1 ul li a{ display:block; padding:4px; padding-left:13px; padding-right:13px; color:#d1d1d1; text-decoration:none; font-family:Tahoma, Geneva, sans-serif; font-size:80%; } #navBar1 ul li a:hover{ color:#ffffff; text-decoration:underline; } #navBar1 ul ul{ position:absolute; top:42px; background:url(menuDropBG.png); width:310px; border:thin solid #849c92; font-size:70%; display:none; } #navBar1 ul li:hover ul{ position:absolute; left:60px; display:block; } #navBar1 ul ul li{ padding:0; padding-top:3px; padding-bottom:2px; } #navBar1 ul ul li a{ border:none; color:white; }