MediaWiki:Common.css: различия между версиями
Перейти к навигации
Нет описания правки |
Нет описания правки |
||
Строка 12: | Строка 12: | ||
.mn ul {padding:0; margin:0; list-style: none;} | .mn ul {padding:0; margin:0; list-style: none;} | ||
.mn ul li {float:bottom; position:relative;} | .mn ul li {float:bottom; position:relative;} | ||
.mn ul li p {display:block; text-decoration:none; width:188px; height:22px; text-align:left; font-color:black; border-top:1px solid grey; background:#fea; line-height:20px; font-size:12px; overflow:hidden; padding-left:5px;} | .mn ul li p {display:block; text-decoration:none; font-weight:normal; width:188px; height:22px; text-align:left; font-color:black; border-top:1px solid grey; background:#fea; line-height:20px; font-size:12px; overflow:hidden; padding-left:5px;} | ||
.mn ul li ul {display: none;} | .mn ul li ul {display: none;} | ||
Версия от 08:25, 19 января 2013
/** Размещённый здесь 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.data {backgroud:#feb; border-collapse:collapse; border:1px solid grey;} table.data th {background:#edb; font-size:medium;} table.data td {border-top:1px solid grey;} /* my menu */ .mn {width:188px; height:400px; position:relative; z-index:10;} .mn ul {padding:0; margin:0; list-style: none;} .mn ul li {float:bottom; position:relative;} .mn ul li p {display:block; text-decoration:none; font-weight:normal; width:188px; height:22px; text-align:left; font-color:black; border-top:1px solid grey; background:#fea; line-height:20px; font-size:12px; overflow:hidden; padding-left:5px;} .mn ul li ul {display: none;} .mn ul li:hover p {font-color:#fff; background:#eda;} .mn ul li:hover ul {display:block; position:absolute; top:0px; left:120px; width:120px; z-index:11;} .mn ul li:hover ul li p {display:block; text-decoration:none; width:188px; height:22px; text-align:left; font-color:black; border:1px solid black; background:#ddd; color:#000;}