MediaWiki:Common.css — различия между версиями
Материал из TaxiMaster
| (не показано 11 промежуточных версий этого же участника) | |||
| Строка 75: | Строка 75: | ||
#toc { | #toc { | ||
| − | margin: | + | margin: 16px 0; |
| + | } | ||
| + | |||
| + | #toc { | ||
| + | font-size: 14px; | ||
} | } | ||
#mw-content-text { | #mw-content-text { | ||
font-size: 14px; | font-size: 14px; | ||
| + | margin: 0 0 10px 0; | ||
line-height: 1.6; | line-height: 1.6; | ||
| − | max-width: | + | width: 100%; |
| + | max-width: 180ch; | ||
| − | margin-left: | + | margin-left: left; |
| − | margin-right: | + | margin-right: auto; |
| − | padding-right: | + | padding-right: 16px; |
} | } | ||
| + | |||
| + | h1 { margin-top: 28px; margin-bottom: 12px; } | ||
| + | h2 { margin-top: 20px; margin-bottom: 10px; } | ||
| + | h3 { margin-top: 16px; margin-bottom: 8px; } | ||
| + | h4, h5, h6 { margin-top: 12px; margin-bottom: 6px; } | ||
Текущая версия на 14:25, 15 апреля 2026
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
pre, code, tt
{
font-family: Consolas, monospace, "Courier New";
}
pre
{
border: 1px solid #ddd;
background-color: #eee;
}
code
{
-moz-border-radius: 2px;
font-family: Consolas, monospace, "Courier New";
padding-left: 3px;
padding-right: 3px;
background-color: #eee;
}
table
{
border: 1px solid #000;
border-collapse: collapse;
border-spacing: 0;
margin-top: 15px;
width: 98%;
outline: #f0f0f0 solid 2px;
}
table.clean
{
border: none;
border-collapse: collapse;
border-spacing: 0;
margin-top: 15px;
width: 100%
}
table th
{
background-color: #efefef;
padding: 4px 7px;
font-size: 90%;
width: auto;
border: 1px solid #333;
}
table.clean th
{
background-color: transparent;
font-size: 100%;
border: none;
}
table td
{
padding: 4px 7px;
font-size: 100%;
border: 1px solid #333;
}
table.clean td
{
border: none;
font-size: 100%;
}
.toclevel-3,
.toclevel-4,
.toclevel-5,
.toclevel-6 {
display: none;
}
#toc {
margin: 16px 0;
}
#toc {
font-size: 14px;
}
#mw-content-text {
font-size: 14px;
margin: 0 0 10px 0;
line-height: 1.6;
width: 100%;
max-width: 180ch;
margin-left: left;
margin-right: auto;
padding-right: 16px;
}
h1 { margin-top: 28px; margin-bottom: 12px; }
h2 { margin-top: 20px; margin-bottom: 10px; }
h3 { margin-top: 16px; margin-bottom: 8px; }
h4, h5, h6 { margin-top: 12px; margin-bottom: 6px; }