MediaWiki:Common.css — различия между версиями
Материал из S.T.A.L.K.E.R. Inside Wiki
Neo (обсуждение | вклад) м |
Neo (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
| − | /* Этот | + | /* Этот стиль подключается ко всем загружаемым страницам. |
| + | Разрешено править только сисопам, можно добавить свой вариант на странице обсуждения */ | ||
/*<source lang="css">*/ | /*<source lang="css">*/ | ||
| − | /* wikitable/prettytable class for skinning normal tables */ | + | /***************** wikitable/prettytable class for skinning normal tables ************************/ |
table.wikitable, | table.wikitable, | ||
| Строка 13: | Строка 14: | ||
table.prettytable caption {margin-left: inherit;margin-right: inherit;font-size: larger;font-weight: bold;} | table.prettytable caption {margin-left: inherit;margin-right: inherit;font-size: larger;font-weight: bold;} | ||
| − | /* graytable */ | + | /***************************************** graytable **********************************************/ |
table.graytable {background: #f0f0f0;padding: 1em;width: 100%;} | table.graytable {background: #f0f0f0;padding: 1em;width: 100%;} | ||
| Строка 20: | Строка 21: | ||
table.graytable th, table.graytable td {font-size: 80%;} | table.graytable th, table.graytable td {font-size: 80%;} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | /*******************************Класс для рамок сообщений******************************************/ | ||
.messagebox {border:thin solid #aaaaaa;background-color:#f9f9f9;width:88%;margin:0 auto 1em auto;padding:.4em;vertical-align:middle;font-size: 90%} | .messagebox {border:thin solid #aaaaaa;background-color:#f9f9f9;width:88%;margin:0 auto 1em auto;padding:.4em;vertical-align:middle;font-size: 90%} | ||
.messagebox.merge {border: 1px solid #cf9fff;background-color: #f5edf5;text-align: center} | .messagebox.merge {border: 1px solid #cf9fff;background-color: #f5edf5;text-align: center} | ||
| Строка 48: | Строка 30: | ||
.messagebox .image{margin:0;padding:0;} | .messagebox .image{margin:0;padding:0;} | ||
| − | |||
| − | /* | + | /************************************Классы оформления таблиц*************************************/ |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
table.simple {border-color: rgb(170,170,170); border-collapse: collapse} | table.simple {border-color: rgb(170,170,170); border-collapse: collapse} | ||
table.simple th, table.simple td {border-color: rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em} | table.simple th, table.simple td {border-color: rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em} | ||
| Строка 110: | Строка 66: | ||
table td.transparent {background-color: transparent} | table td.transparent {background-color: transparent} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | /* | + | /********************* Добавление прозрачным изображениям клетчатого фона ***********************/ |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
#file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} | #file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | /********************** Выделение разницы в байтах между версиями цветом. | |
| − | + | Положительная - зелёным; отрицательная - красным *************************************************/ | |
| − | /* | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | Положительная - зелёным; отрицательная - красным */ | + | |
.mw-plusminus-pos { | .mw-plusminus-pos { | ||
color: #006400; /* darkgreen */ | color: #006400; /* darkgreen */ | ||
| Строка 262: | Строка 79: | ||
color: #8B0000; /* darkred */ | color: #8B0000; /* darkred */ | ||
} | } | ||
| − | + | /*</source>*/ | |
| − | /*</source> | + | |
| − | + | ||
Версия 13:56, 30 мая 2007
/* Этот стиль подключается ко всем загружаемым страницам.
Разрешено править только сисопам, можно добавить свой вариант на странице обсуждения */
/*<source lang="css">*/
/***************** wikitable/prettytable class for skinning normal tables ************************/
table.wikitable,
table.prettytable {margin: 1em 1em 1em 0;background: #f9f9f9;border: 1px #aaaaaa solid;border-collapse: collapse;}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {border: 1px #aaaaaa solid;padding: 0.2em;}
table.wikitable th,
table.prettytable th {background: #f2f2f2;text-align: center;}
table.wikitable caption,
table.prettytable caption {margin-left: inherit;margin-right: inherit;font-size: larger;font-weight: bold;}
/***************************************** graytable **********************************************/
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%;}
/*******************************Класс для рамок сообщений******************************************/
.messagebox {border:thin solid #aaaaaa;background-color:#f9f9f9;width:88%;margin:0 auto 1em auto;padding:.4em;vertical-align:middle;font-size: 90%}
.messagebox.merge {border: 1px solid #cf9fff;background-color: #f5edf5;text-align: center}
.messagebox.cleanup {border: 1px solid #9f9fff;background-color: #efefff;text-align: center}
.messagebox.standard-talk {border: 1px solid #c0c090;background-color: #f8eaba}
.messagebox .floatleft{vertical-align:middle;clear:both;margin:2px;padding:0;}
.messagebox .image{margin:0;padding:0;}
/************************************Классы оформления таблиц*************************************/
table.simple {border-color: rgb(170,170,170); border-collapse: collapse}
table.simple th, table.simple td {border-color: rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em}
table.standard, table.wide, table.wikitable, table.standart {border: 1px solid rgb(170,170,170);border-collapse: collapse}
table.standard th, table.wide th, table.wikitable th, table.standart th {border: 1px solid rgb(170,170,170);padding-left: 0.2em;padding-right: 0.2em;background-color: #EEEEFF}
table.standard td, table.wide td, table.wikitable td, table.standart td {border: 1px solid rgb(170,170,170);padding-left: 0.2em;padding-right: 0.2em}
table.standard caption, table.wide caption, table.wikitable caption, table.standart caption, table.tiles caption {font-weight: bold;padding-top: 0.2em;padding-bottom: 0.2em}
table.wide {width: 100%}
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}
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 {background-color: #F0F0F0}
tr.shadow td {background-color: #F0F0F0}
tr.dark th {background-color: #CCCCCC}
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 {background-color: #F0F0F0}
table td.shadow {background-color: #F0F0F0}
table th.dark {background-color: #CCCCCC}
table td.dark {background-color: #CCCCCC}
table th.transparent {background-color: transparent}
table td.transparent {background-color: transparent}
/********************* Добавление прозрачным изображениям клетчатого фона ***********************/
#file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}
/********************** Выделение разницы в байтах между версиями цветом.
Положительная - зелёным; отрицательная - красным *************************************************/
.mw-plusminus-pos {
color: #006400; /* darkgreen */
}
.mw-plusminus-neg {
color: #8B0000; /* darkred */
}
/*</source>*/