MediaWiki:Common.css
Iš FragoriaWiki.
(Skirtumai tarp versijų)
| (21 tarpinis keitimas nėra rodomas.) | |||
| Eilutė 1: | Eilutė 1: | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
/** Размещённый здесь CSS будет применяться ко всем темам оформления */ | /** Размещённый здесь CSS будет применяться ко всем темам оформления */ | ||
/* [[wikipedia:ru:Википедия:Правила оформления таблиц]] */ | /* [[wikipedia:ru:Википедия:Правила оформления таблиц]] */ | ||
| - | table.simple {border-color: rgb( | + | table.simple {border-color: rgb(255,0,255,0.3); border-collapse: collapse} |
| - | table.simple th, table.simple td {border-color: rgb( | + | table.simple th, table.simple td {border-color: rgb(255,0,255,0.3); padding-left: 0.2em; padding-right: 0.2em} |
| - | table.standard, table.wide, table.wikitable, table.standart {border: 1px solid rgb( | + | table.standard, table.wide, table.wikitable, table.standart {border: 1px solid rgb(255,0,0,0.3);border-collapse: collapse} |
| - | table.standard th, table.wide th, table.wikitable th, table.standart th {border: 1px solid rgb( | + | table.standard th, table.wide th, table.wikitable th, table.standart th {border: 1px solid rgb(255,0,255,0.3);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 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.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} | ||
| Eilutė 44: | Eilutė 36: | ||
margin: 0 10%; | margin: 0 10%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| - | background: # | + | background: #00FFFF; |
border: 1px solid #AAAAAA; | border: 1px solid #AAAAAA; | ||
border-left: 10px solid #1E90FF | border-left: 10px solid #1E90FF | ||
| Eilutė 105: | Eilutė 97: | ||
/* default skin for navigation boxes */ | /* default skin for navigation boxes */ | ||
table.navbox { | table.navbox { | ||
| - | background-color: # | + | background-color: #e8dd48#6abd22; |
| - | border: 1px | + | border: 1px double #aaa; |
clear: both; | clear: both; | ||
font-size: 90%; | font-size: 90%; | ||
Dabartinė 10:34, 2016 sausio 8 versija
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
/* [[wikipedia:ru:Википедия:Правила оформления таблиц]] */
table.simple {border-color: rgb(255,0,255,0.3); border-collapse: collapse}
table.simple th, table.simple td {border-color: rgb(255,0,255,0.3); padding-left: 0.2em; padding-right: 0.2em}
table.standard, table.wide, table.wikitable, table.standart {border: 1px solid rgb(255,0,0,0.3);border-collapse: collapse}
table.standard th, table.wide th, table.wikitable th, table.standart th {border: 1px solid rgb(255,0,255,0.3);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}
/* Оформление {{ambox}} */
table.ambox {
width: auto;
margin: 0 10%;
border-collapse: collapse;
background: #00FFFF;
border: 1px solid #AAAAAA;
border-left: 10px solid #1E90FF
}
table.ambox th, table.ambox td {
padding: 0.25em 0.5em;
}
table.ambox td.ambox-widthhack {
padding: 0;
}
table.ambox td.ambox-text {
width:100%;
}
table.ambox td.ambox-image {
width: 52px;
padding: 2px 0px 2px 0.5em;
text-align: center;
}
table.ambox td.ambox-imageright {
width: 52px;
padding: 2px 4px 2px 0px;
text-align: center;
}
table.ambox td.ambox-image div,
table.ambox td.ambox-imageright div {
width:52px /* Фикс для изображений разной ширины */
}
table.ambox-delete,
table.ambox-serious {
border-left: 10px solid #B22222
}
table.ambox-content {
border-left: 10px solid #F28500
}
table.ambox-style {
border-left: 10px solid #F4C430
}
table.ambox-good {
border-left: 10px solid #66CC44
}
table.ambox-discussion {
border-left: 10px solid #339966
}
table.ambox-notice {
border-left: 10px solid #1E90ff
}
table.ambox-merge {
border-left: 10px solid #9932CC
}
table.ambox-protection {
border-left: 10px solid #BBBBAA
}
table.ambox.ambox-mini {
float: right;
clear: right;
margin: 0 0 0.5em 1em;
width: 20%;
}
/* default skin for navigation boxes */
table.navbox {
background-color: #e8dd48#6abd22;
border: 1px double #aaa;
clear: both;
font-size: 90%;
margin: 1em 0em 0em;
padding: 2px;
text-align: center;
width: 100%;
}
table.navbox th {
background-color: #ccf;
padding-left: 1em;
padding-right: 1em;
}
table.navbox tr:not(:first-child) th {
background-color: #ddf;
}
@media print {
.navbox {
display: none;
}
}
/* navbox hiding, see [[wikipedia:en:Wikipedia:NavFrame]]. */
div.Boxmerge,
div.NavFrame {
margin: 0px;
padding: 4px;
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;
background-color: #ccccff;
position:relative;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
font-size: 100%;
}
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
a.NavToggle {
position:absolute;
top:0px;
right:3px;
font-weight:normal;
font-size:smaller;
}
