MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Нет описания правки |
Нет описания правки |
||
| Строка 84: | Строка 84: | ||
p.h2 { | p.h2 { | ||
margin-top: 10pt; | |||
font-family: sans-serif; | font-family: sans-serif; | ||
font-weight: bold; | font-weight: bold; | ||
| Строка 90: | Строка 91: | ||
p.subtitle { | p.subtitle { | ||
margin-top: 10pt; | |||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.docSample table { | .docSample table { | ||
margin-top: 10pt; | |||
border-collapse: collapse; | border-collapse: collapse; | ||
border: 1px solid #000000; | border: 1px solid #000000; | ||
| Строка 104: | Строка 107: | ||
.docSample .listing { | .docSample .listing { | ||
margin-top: 10pt; | |||
background: #dddddd; | background: #dddddd; | ||
border: none; | border: none; | ||
Версия от 10:13, 19 апреля 2024
.tocnumber {display: none;}
.toc ul {list-style-type: none;}
/* Common cases */
.nowrap {
white-space: nowrap;
}
.noTopMargin {
margin-top: 0;
}
/* Notes */
div.note {
margin: 20pt;
padding: 10pt;
border: 2px solid black;
border-radius: 5pt;
}
div.attention {
background: #ffffcf;
border-color: #e9ab17;
}
div.callToAction {
background: #ccffcc;
border-color: #004225;
}
div.headlineBanner {
text-align: center;
font-weight: bold;
}
div.editorialNote {
margin: 20pt;
padding: 10pt;
background: #efefef;
border: 1px solid black;
border-radius: 5pt;
}
/* Listings */
.listing {
margin-top: 20pt;
margin-bottom: 20pt;
margin-left: 20pt;
overflow-x: auto;
padding: 10pt;
border: 2px solid #888888;
border-radius: 5px;
font-size: 8pt;
}
/* Sample documents */
div.docSample {
margin-top: 20pt;
margin-bottom: 20pt;
margin-left: 20pt;
overflow-x: auto;
padding: 10pt;
border: 2px solid #ccbbdd;
border-radius: 5px;
font-size: 8pt;
}
.docSample code {
background: none;
border: none;
font-family: Consolas, monospace;
}
p.h1 {
font-family: sans-serif;
font-weight: bold;
font-size: 12pt;
}
p.h2 {
margin-top: 10pt;
font-family: sans-serif;
font-weight: bold;
font-size: 10pt;
}
p.subtitle {
margin-top: 10pt;
font-weight: bold;
}
.docSample table {
margin-top: 10pt;
border-collapse: collapse;
border: 1px solid #000000;
}
.docSample td, .docSample th {
padding: 3pt;
border: 1px solid #000000;
}
.docSample .listing {
margin-top: 10pt;
background: #dddddd;
border: none;
border-radius: 0;
font-family: Consolas, monospace;
}
/* Code samples */
inlineCode {
font-family: Consolas, monospace;
}