Ло:Бабил/styles.css
< Ло:Бабил
/**
* Фикс для отображения шаблонов Babel в мобильной версии
* пока не добавят в расширение. Скопированно из расширения
* плюс фикс из нашего MediaWiki:Common.css
*
* Stylesheet for Babel extension.
*
* You can override the CSS code on the MediaWiki:Common.css page
* on your wiki to adjust colours etc.
*
* @file
* @ingroup Extensions
*/
@media screen and (max-width: 1000px) {
/* Babel wrapper layout. */
/* @noflip */table.mw-babel-wrapper {
width: 238px !important;
float: right;
clear: right;
margin: 0;
background-color: #fff;
border: 1px solid #99b3ff;
}
/* @noflip */.mw-content-ltr table.mw-babel-wrapper {
float: right;
clear: right;
}
/* @noflip */.mw-content-rtl table.mw-babel-wrapper {
float: left;
clear: left;
}
/* Babel box layout */
/* @noflip */div.mw-babel-box {
margin: 1px;
width: 238px;
}
/* @noflip */.mw-content-ltr table.mw-babel-box {
float: left;
clear: left;
}
/* @noflip */.mw-content-rtl table.mw-babel-box {
float: right;
clear: right;
}
div.mw-babel-box table {
width: 238px;
margin: 0;
}
div.mw-babel-box table th {
width: 45px;
height: 45px;
font-size: 14pt;
font-family: sans-serif;
}
div.mw-babel-box table td {
font-size: 8pt;
padding: 4pt;
line-height: 1.25em;
}
/* Babel box colours. */
div.mw-babel-box-0 {
border: 1px solid #fbb;
}
div.mw-babel-box-1 {
border: 1px solid #e0c0e0;
}
div.mw-babel-box-2 {
border: 1px solid #bcb9ef;
}
div.mw-babel-box-3 {
border: 1px solid #99b3ff;
}
div.mw-babel-box-4 {
border: 1px solid #77e0e8;
}
div.mw-babel-box-5 {
border: 1px solid #ffcf4d;
}
div.mw-babel-box-N {
border: 1px solid #6ef7a7;
}
div.mw-babel-box-0 table th {
background-color: #fbb;
}
div.mw-babel-box-1 table th {
background-color: #e0c0e0;
}
div.mw-babel-box-2 table th {
background-color: #bcb9ef;
}
div.mw-babel-box-3 table th {
background-color: #99b3ff;
}
div.mw-babel-box-4 table th {
background-color: #77e0e8;
}
div.mw-babel-box-5 table th {
background-color: #ffcf4d;
}
div.mw-babel-box-N table th {
background-color: #6ef7a7;
}
div.mw-babel-box-0 table {
background-color: #fee;
}
div.mw-babel-box-1 table {
background-color: #f3e0f3;
}
div.mw-babel-box-2 table {
background-color: #e9e5f9;
}
div.mw-babel-box-3 table {
background-color: #e0e8ff;
}
div.mw-babel-box-4 table {
background-color: #d0f8ff;
}
div.mw-babel-box-5 table {
background-color: #ffefa6;
}
div.mw-babel-box-N table {
background-color: #c5fcdc;
}
/* header and footer */
.mw.babel-box th.mw-babel-header {
text-align: center;
font-weight: bold;
}
.mw.babel-box th.mw-babel-footer {
text-align: center;
font-weight: normal;
}
/* Скрытие буквы N у родных языков, по аналогии со стандарными шаблонами */
.mw-babel-box-level-N {
display: none;
}
}