MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Нет описания правки |
Нет описания правки |
||
| (не показано 68 промежуточных версий этого же участника) | |||
| Строка 3: | Строка 3: | ||
/* Common cases */ | /* Common cases */ | ||
blockquote { | |||
margin-top: 10pt; | |||
font-size: 8pt; | |||
} | |||
blockquote .source { | |||
text-align: left; | |||
font-style: italic; | |||
} | |||
blockquote .author { | |||
font-weight: bold; | |||
} | |||
.nowrap { | .nowrap { | ||
| Строка 43: | Строка 57: | ||
border: 1px solid black; | border: 1px solid black; | ||
border-radius: 5pt; | 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 */ | /* Sample documents */ | ||
table.docSampleGroup td { | |||
padding: 10pt; | |||
vertical-align: top; | |||
} | |||
div.docSample { | div.docSample { | ||
| Строка 51: | Строка 84: | ||
margin-bottom: 20pt; | margin-bottom: 20pt; | ||
margin-left: 20pt; | margin-left: 20pt; | ||
overflow-x: auto; | |||
padding: 10pt; | |||
border: 2px solid #ccbbdd; | |||
border-radius: 5px; | |||
font-size: 8pt; | |||
} | |||
div.docSampleInGroup { | |||
height: 100%; | |||
margin: 0pt; | |||
overflow-x: auto; | |||
padding: 10pt; | padding: 10pt; | ||
border: 2px solid #ccbbdd; | border: 2px solid #ccbbdd; | ||
| Строка 58: | Строка 101: | ||
} | } | ||
.docSample code { | .docSample p, .docSampleInGroup p, { | ||
margin-top: 5pt; | |||
margin-bottom: 0; | |||
} | |||
.incorrect { | |||
background-color: #fff; | |||
background-image: repeating-linear-gradient( | |||
45deg, | |||
#eeeeee, | |||
#eeeeee 10px, | |||
transparent 10px, | |||
transparent 20px) | |||
} | |||
.docSample code, .docSampleInGroup code { | |||
margin: 0; | |||
padding: 0; | |||
background: none; | background: none; | ||
border: none; | border: none; | ||
font-family: monospace; | font-family: Consolas, monospace; | ||
} | } | ||
p.h1 { | p.h1 { | ||
margin-top: 0; | |||
margin-bottom: 0; | |||
font-family: sans-serif; | font-family: sans-serif; | ||
font-weight: bold; | font-weight: bold; | ||
| Строка 71: | Строка 133: | ||
p.h2 { | p.h2 { | ||
margin-top: 20pt; | |||
font-family: sans-serif; | font-family: sans-serif; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 10pt; | font-size: 10pt; | ||
} | |||
p.subtitle { | |||
margin-top: 10pt; | |||
font-weight: bold; | |||
} | |||
.docSample table, .docSampleInGroup table { | |||
margin-top: 10pt; | |||
margin-bottom: 10pt; | |||
border-collapse: collapse; | |||
border: 1px solid #000000; | |||
} | |||
.docSample td, .docSample th, .docSampleInGroup td, .docSampleInGroup th { | |||
padding: 3pt !important; | |||
border: 1px solid #000000; | |||
} | |||
.docSample table.grid, .docSampleInGroup table.grid { | |||
margin: 0; | |||
border-collapse: collapse; | |||
border: none; | |||
} | |||
.docSample table.grid td, .docSampleInGroup table.grid td { | |||
padding: 0; | |||
border: none; | |||
vertical-align: top; | |||
} | |||
.docSample .listing, .docSampleInGroup .listing { | |||
margin-top: 10pt; | |||
margin-bottom: 10pt; | |||
padding: 0; | |||
background: none; | |||
border: none; | |||
border-radius: 0; | |||
font-family: Consolas, monospace; | |||
} | |||
.markerGreen { | |||
background: #83ffde; | |||
} | |||
.markerBlue { | |||
background: #b7c9e2; | |||
} | |||
.markerRed { | |||
background: #ff83de; | |||
} | } | ||
| Строка 80: | Строка 195: | ||
inlineCode { | inlineCode { | ||
font-family: monospace; | font-family: Consolas, monospace; | ||
} | } | ||
Текущая версия от 07:04, 2 декабря 2024
.tocnumber {display: none;}
.toc ul {list-style-type: none;}
/* Common cases */
blockquote {
margin-top: 10pt;
font-size: 8pt;
}
blockquote .source {
text-align: left;
font-style: italic;
}
blockquote .author {
font-weight: bold;
}
.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 */
table.docSampleGroup td {
padding: 10pt;
vertical-align: top;
}
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;
}
div.docSampleInGroup {
height: 100%;
margin: 0pt;
overflow-x: auto;
padding: 10pt;
border: 2px solid #ccbbdd;
border-radius: 5px;
font-size: 8pt;
}
.docSample p, .docSampleInGroup p, {
margin-top: 5pt;
margin-bottom: 0;
}
.incorrect {
background-color: #fff;
background-image: repeating-linear-gradient(
45deg,
#eeeeee,
#eeeeee 10px,
transparent 10px,
transparent 20px)
}
.docSample code, .docSampleInGroup code {
margin: 0;
padding: 0;
background: none;
border: none;
font-family: Consolas, monospace;
}
p.h1 {
margin-top: 0;
margin-bottom: 0;
font-family: sans-serif;
font-weight: bold;
font-size: 12pt;
}
p.h2 {
margin-top: 20pt;
font-family: sans-serif;
font-weight: bold;
font-size: 10pt;
}
p.subtitle {
margin-top: 10pt;
font-weight: bold;
}
.docSample table, .docSampleInGroup table {
margin-top: 10pt;
margin-bottom: 10pt;
border-collapse: collapse;
border: 1px solid #000000;
}
.docSample td, .docSample th, .docSampleInGroup td, .docSampleInGroup th {
padding: 3pt !important;
border: 1px solid #000000;
}
.docSample table.grid, .docSampleInGroup table.grid {
margin: 0;
border-collapse: collapse;
border: none;
}
.docSample table.grid td, .docSampleInGroup table.grid td {
padding: 0;
border: none;
vertical-align: top;
}
.docSample .listing, .docSampleInGroup .listing {
margin-top: 10pt;
margin-bottom: 10pt;
padding: 0;
background: none;
border: none;
border-radius: 0;
font-family: Consolas, monospace;
}
.markerGreen {
background: #83ffde;
}
.markerBlue {
background: #b7c9e2;
}
.markerRed {
background: #ff83de;
}
/* Code samples */
inlineCode {
font-family: Consolas, monospace;
}