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;}
 
{{MainMenu}}
 

Версия 16:03, 20 сентября 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;}