MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
YuSer (обсуждение | вклад) Нет описания правки |
Knurov (обсуждение | вклад) Нет описания правки |
||
| (не показано 19 промежуточных версий 1 участника) | |||
| Строка 1: | Строка 1: | ||
/** Размещённый здесь CSS будет применяться ко всем темам оформления */ | /** Размещённый здесь CSS будет применяться ко всем темам оформления */ | ||
table.hilite {padding:2px; border:red 1px dashed; background:#FAFAFA; border-spacing:1px;} | /* Убираем строчку вверху для анонимов */ | ||
table.hilite td {spacing:0px; padding:2px;} | #ca-edit { display: none; } | ||
/*<pre>*/ | |||
/* [[Википедия:Оформление таблиц]] */ | |||
table.standard, table.wide | |||
{border:1px solid #AAAAAA; border-collapse: collapse} | |||
table.standard th, table.wide th, table.wikitable th | |||
{border:1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#EEEEFF} | |||
table.standard td, table.wide td | |||
{border: 1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em} | |||
table.standard caption, table.wide caption, table.tiles caption | |||
{font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em} | |||
table.wide {width: 100%} | |||
table.simple {border-color:#AAAAAA; border-collapse:collapse} | |||
table.simple th, table.simple td {border-color:#AAAAAA; padding-left:0.2em; padding-right:0.2em} | |||
table.tiles {border-collapse:separate; border-spacing:2px} | |||
table.tiles th {padding-left:0.2em; padding-right:0.2em; background-color: #EEEEFF} | |||
table.tiles td {padding-left:0.2em; padding-right:0.2em; background-color: #F0F0F0} | |||
table.graytable {background:#f0f0f0; padding:1em; width: 100%} | |||
table.graytable caption {padding:0.5em 0 0 0; background:#f0f0f0; font-size:100%; font-weight:bold} | |||
table.graytable caption span.subcaption {font-size:80%; font-weight:normal} | |||
table.graytable th, table.graytable td {font-size:80%} | |||
table.wikitable, table.prettytable | |||
{margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAAAAA; border-collapse:collapse} | |||
table.wikitable th, table.wikitable td, | |||
table.prettytable th, table.prettytable td | |||
{border:1px solid #AAAAAA; padding:0.2em} | |||
table.wikitable caption, table.prettytable caption | |||
{margin-left:inherit; margin-right:inherit; font-size:larger; font-weight:bold} | |||
table.prettytable th | |||
{background:#f2f2f2} | |||
tr.highlight th {background-color: #EEEEFF} | |||
tr.highlight td {background-color: #FFFFEE} | |||
tr.bright th {background-color: #CCCCFF} | |||
tr.bright td {background-color: #FFEECC} | |||
tr.shadow th, tr.shadow td {background-color: #F0F0F0} | |||
tr.dark th, tr.dark td {background-color: #CCCCCC} | |||
table th.highlight {background-color: #EEEEFF} | |||
table td.highlight {background-color: #FFFFEE} | |||
table th.bright {background-color: #CCCCFF} | |||
table td.bright {background-color: #FFEECC} | |||
table th.shadow, table td.shadow {background-color: #F0F0F0} | |||
table th.dark, table td.dark {background-color: #CCCCCC} | |||
table th.transparent, table td.transparent, .transparent {background-color: transparent} | |||
table.toccolours th {background-color: #ccccff} | |||
table.hilite {width:100%; padding:2px; border:red 1px dashed; background:#FAFAFA; border-spacing:1px;} | |||
table.hilite td {border-spacing:0px; padding:2px; border:0px;} | |||
/*</pre>*/ | |||
/* Добавить полосу прокрутки на слишком широких <рre> */ | |||
pre {overflow: auto} | |||
#disambig {border-top: 3px double #cccccc; border-bottom: 3px double #cccccc} | |||
/*<pre>*/ | |||
/*{Навигационная полоса}, {Hider}, ... */ | |||
div.Boxmerge, | |||
div.NavFrame { | |||
margin: 0px; | |||
padding: 2px; | |||
border: 1px solid #aaa; | |||
text-align: center; | |||
border-collapse: collapse; | |||
font-size: 95%; | |||
} | |||
div.Boxmerge div.NavFrame { | |||
border-style: none; | |||
border-style: hidden; | |||
} | |||
div.NavFrame + div.NavFrame { | |||
border-top-style: none; | |||
border-top-style: hidden; | |||
} | |||
div.NavPic { | |||
background-color: #fff; | |||
margin: 0px; | |||
padding: 2px; | |||
float: left; | |||
} | |||
div.NavFrame div.NavHead { | |||
height: 1.6em; | |||
font-weight: bold; | |||
font-size: 100%; | |||
background-color: #efefff; | |||
position:relative; | |||
padding: 0px 5px; | |||
} | |||
div.NavFrame p, | |||
div.NavFrame div.NavContent, | |||
div.NavFrame div.NavContent p { | |||
padding: 0px 5px; | |||
font-size: 100%; | |||
text-align: left; | |||
} | |||
div.NavEnd { | |||
text-align: right; | |||
background-color: ghostwhite; | |||
} | |||
div.NavShow, div.NavHide { | |||
display: none; | |||
} | |||
a.NavToggle { | |||
position:absolute; | |||
top:0px; | |||
right:3px; | |||
font-weight:normal; | |||
font-size:smaller; | |||
} | |||
/*</pre>*/ | |||
div.mw-geshi { | |||
padding: 1em; | |||
margin: 1em 0; | |||
border: 1px dashed #2f6fab; | |||
background-color: #f9f9f9; | |||
} | |||
Текущая версия от 09:17, 30 августа 2011
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Убираем строчку вверху для анонимов */
#ca-edit { display: none; }
/*<pre>*/
/* [[Википедия:Оформление таблиц]] */
table.standard, table.wide
{border:1px solid #AAAAAA; border-collapse: collapse}
table.standard th, table.wide th, table.wikitable th
{border:1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#EEEEFF}
table.standard td, table.wide td
{border: 1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em}
table.standard caption, table.wide caption, table.tiles caption
{font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em}
table.wide {width: 100%}
table.simple {border-color:#AAAAAA; border-collapse:collapse}
table.simple th, table.simple td {border-color:#AAAAAA; padding-left:0.2em; padding-right:0.2em}
table.tiles {border-collapse:separate; border-spacing:2px}
table.tiles th {padding-left:0.2em; padding-right:0.2em; background-color: #EEEEFF}
table.tiles td {padding-left:0.2em; padding-right:0.2em; background-color: #F0F0F0}
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
table.graytable caption {padding:0.5em 0 0 0; background:#f0f0f0; font-size:100%; font-weight:bold}
table.graytable caption span.subcaption {font-size:80%; font-weight:normal}
table.graytable th, table.graytable td {font-size:80%}
table.wikitable, table.prettytable
{margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAAAAA; border-collapse:collapse}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td
{border:1px solid #AAAAAA; padding:0.2em}
table.wikitable caption, table.prettytable caption
{margin-left:inherit; margin-right:inherit; font-size:larger; font-weight:bold}
table.prettytable th
{background:#f2f2f2}
tr.highlight th {background-color: #EEEEFF}
tr.highlight td {background-color: #FFFFEE}
tr.bright th {background-color: #CCCCFF}
tr.bright td {background-color: #FFEECC}
tr.shadow th, tr.shadow td {background-color: #F0F0F0}
tr.dark th, tr.dark td {background-color: #CCCCCC}
table th.highlight {background-color: #EEEEFF}
table td.highlight {background-color: #FFFFEE}
table th.bright {background-color: #CCCCFF}
table td.bright {background-color: #FFEECC}
table th.shadow, table td.shadow {background-color: #F0F0F0}
table th.dark, table td.dark {background-color: #CCCCCC}
table th.transparent, table td.transparent, .transparent {background-color: transparent}
table.toccolours th {background-color: #ccccff}
table.hilite {width:100%; padding:2px; border:red 1px dashed; background:#FAFAFA; border-spacing:1px;}
table.hilite td {border-spacing:0px; padding:2px; border:0px;}
/*</pre>*/
/* Добавить полосу прокрутки на слишком широких <рre> */
pre {overflow: auto}
#disambig {border-top: 3px double #cccccc; border-bottom: 3px double #cccccc}
/*<pre>*/
/*{Навигационная полоса}, {Hider}, ... */
div.Boxmerge,
div.NavFrame {
margin: 0px;
padding: 2px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.Boxmerge div.NavFrame {
border-style: none;
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
font-size: 100%;
background-color: #efefff;
position:relative;
padding: 0px 5px;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
padding: 0px 5px;
font-size: 100%;
text-align: left;
}
div.NavEnd {
text-align: right;
background-color: ghostwhite;
}
div.NavShow, div.NavHide {
display: none;
}
a.NavToggle {
position:absolute;
top:0px;
right:3px;
font-weight:normal;
font-size:smaller;
}
/*</pre>*/
div.mw-geshi {
padding: 1em;
margin: 1em 0;
border: 1px dashed #2f6fab;
background-color: #f9f9f9;
}