MediaWiki:Common.css — различия между версиями
Материал из S.T.A.L.K.E.R. Inside Wiki
Neo (обсуждение | вклад) (Начало) |
Neo (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
/* Этот стиль подключается ко всем загружаемым страницам. | /* Этот стиль подключается ко всем загружаемым страницам. | ||
Разрешено править только сисопам, можно добавить свой вариант на странице обсуждения */ | Разрешено править только сисопам, можно добавить свой вариант на странице обсуждения */ | ||
| + | |||
| + | /* Этот стиль подключается ко всем загружаемым страницам. | ||
| + | Разрешено править только сисопам, можно добавить свой вариант на странице обсуждения */ | ||
| + | /*<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>*/ | ||
Версия 13:47, 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>*/