MediaWiki:Common.css: различия между версиями

Материал из Wiki Grepolis RU
Перейти к навигации
Нет описания правки
Нет описания правки
Строка 9: Строка 9:


/* my menu */
/* my menu */
.mn {width:182px; position:relative; z-index:10;}
.mn {width:160px; position:relative; z-index:10;}
.mn ul {padding:0; margin:0; list-style:none;}
.mn ul {padding:0; margin:0; list-style:none;}
.mn ul li {position:relative; margin-top:0; margin-bottom:0; border: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; text-decoration:none; font-weight:normal; width:182px; height:20px; text-align:left; font-color:black; font-size:12px; overflow:hidden; background:#fea;}
.mn ul li p {margin-top:0; margin-bottom:0; display:block; text-decoration:none; font-weight:normal; width:160px; height:20px; text-align:left; font-color:black; font-size:12px; overflow:hidden; background:#fea;}
.mn ul li p.title {background:#ccc; padding-top:2px;}
.mn ul li p.title {background:#ccc; padding-top:2px;}
.mn ul li:hover ul li p.title {background:#ccc; padding-top:2px;}
.mn ul li:hover ul li p.title {background:#ccc; padding-top:2px;}
Строка 21: Строка 21:
.mn ul li:hover p {background:#eda;}
.mn ul li:hover p {background:#eda;}
.mn ul li:hover p.title {background:#ccc;}
.mn ul li:hover p.title {background:#ccc;}
.mn ul li:hover ul {display:block; position:absolute; top:0px; left:178px; width:179px; z-index:11; border-left:2px solid #cba; border-right:2px solid #cba; background:#eda;}
.mn ul li:hover ul {display:block; position:absolute; top:0px; left:156px; width:160px; z-index:11; border-left:2px solid #cba; border-right:2px solid #cba; background:#eda;}
.mn ul li:hover ul li {display:block; width:174px; height:20px; text-align:left; background:#eda;}
.mn ul li:hover ul li {display:block; width:160px; height:20px; text-align:left; background:#eda;}
.mn ul li:hover ul li p {margin-top:0; margin-bottom:0; display:block; text-decoration:none; width:182px; height:20px; text-align:left; font-color:black;}
.mn ul li:hover ul li p {margin-top:0; margin-bottom:0; display:block; text-decoration:none; width:160px; height:20px; text-align:left; font-color:black;}
.mn ul li:hover ul li:hover p {background:#dca;}
.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 p.title {background:#ccc;}


.mn ul li:hover ul li:hover ul {display:block; position:absolute; top:0px; left:178px; width:179px; z-index:11; border-left:2px solid #cba; border-right:2px solid #cba; background:#eda;}
.mn ul li:hover ul li:hover ul {display:block; position:absolute; top:0px; left:156px; width:160px; 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:182px; height:20px; text-align:left; background:#eda;}
.mn ul li:hover ul li:hover ul li {display:block; width:160px; height:20px; text-align:left; background:#eda;}
.mn ul li:hover ul li:hover ul li p {margin-top:0; margin-bottom:0; display:block; text-decoration:none; width:182px; height:20px; text-align:left; font-color:black;}
.mn ul li:hover ul li:hover ul li p {margin-top:0; margin-bottom:0; display:block; text-decoration:none; width:160px; height:20px; text-align:left; font-color:black;}
.mn ul li:hover ul li:hover ul li p {background:#eda;}
.mn ul li:hover ul li:hover ul li p {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 {background:#dca;}
.mn ul li:hover ul li:hover ul li:hover p.title {background:#ccc;}
.mn ul li:hover ul li:hover ul li:hover p.title {background:#ccc;}

Версия от 19:19, 3 февраля 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:160px; position:relative; z-index:10;}
.mn ul {padding:0; margin:0; list-style:none;}
.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; text-decoration:none; font-weight:normal; width:160px; height:20px; text-align:left; font-color:black; font-size:12px; overflow:hidden; background:#fea;}
.mn ul li p.title {background:#ccc; padding-top:2px;}
.mn ul li:hover ul li p.title {background:#ccc; padding-top:2px;}
.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:#eda;}
.mn ul li:hover p.title {background:#ccc;}
.mn ul li:hover ul {display:block; position:absolute; top:0px; left:156px; width:160px; z-index:11; border-left:2px solid #cba; border-right:2px solid #cba; background:#eda;}
.mn ul li:hover ul li {display:block; width:160px; height:20px; text-align:left; background:#eda;}
.mn ul li:hover ul li p {margin-top:0; margin-bottom:0; display:block; text-decoration:none; width:160px; height:20px; text-align:left; font-color:black;}
.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:156px; width:160px; 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:160px; height:20px; text-align:left; background:#eda;}
.mn ul li:hover ul li:hover ul li p {margin-top:0; margin-bottom:0; display:block; text-decoration:none; width:160px; height:20px; text-align:left; font-color:black;}
.mn ul li:hover ul li:hover ul li p {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;}