Шаблон:Doc/styles.css: различия между версиями
Перейти к навигации
Перейти к поиску
ru>Admin м (1 версия импортирована) |
Admin (обсуждение | вклад) мНет описания правки |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 50: | Строка 50: | ||
display: inline-block; | display: inline-block; | ||
padding-left: 30px; | padding-left: 30px; | ||
height: 24px; | height: 24px; | ||
line-height: 24px; | line-height: 24px; | ||
Строка 83: | Строка 82: | ||
} | } | ||
} | } | ||
.infobox { | |||
border: 1px solid #aaa; | |||
background: #f9f9f9; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: .4em; | |||
float: right; | |||
clear: right; | |||
font-size: 88%; | |||
width: 22em; | |||
vertical-align: middle; | |||
text-align: left; | |||
line-height: 1.5em; | |||
border-collapse: separate; | |||
border-spacing: 2px | |||
} | |||
.infobox > caption { | |||
font-size: 125%; | |||
font-weight: bold | |||
} | |||
.infobox th { | |||
vertical-align: top; | |||
width: 40% | |||
} | |||
.infobox td { | |||
width: 60%; | |||
vertical-align: middle | |||
} | |||
table.infobox td p { | |||
margin: 0 !important | |||
} | |||
.infobox th { | |||
text-align: right | |||
} | |||
.infobox img { | |||
width: 100%; | |||
height: auto | |||
} | |||
.infobox th > ul,.infobox td > ul { | |||
list-style-type: none; | |||
list-style-image: none; | |||
list-style: none; | |||
margin: 0 | |||
} | |||
.infobox th > ol,.infobox td > ol { | |||
line-height: 1.1em; | |||
margin: 0 0 0 2em | |||
} | |||
/* [[Категория:Шаблоны:Подстраницы CSS]] */ | /* [[Категория:Шаблоны:Подстраницы CSS]] */ |
Текущая версия от 11:00, 19 января 2024
.ts-doc-doc {
background-color: #eaf3ff;
border: 1px solid #a3caff;
clear: both;
margin-top: 1em;
}
/* Ctrl+F ":target" in [[MediaWiki:Common.css]] */
.ts-doc-doc sup.reference:target,
.ts-doc-doc ol.references li:target,
.ts-doc-doc .highlight-target:target,
.ts-doc-doc cite:target,
.ts-doc-doc span.citation:target {
background: #c2dcff;
}
.ts-doc-header {
background-color: #c2dcff;
padding: .642857em 1em .5em;
overflow: hidden;
}
.ts-doc-header .ts-tlinks-tlinks {
line-height: 24px;
}
.ts-doc-header .ts-tlinks-tlinks a.external {
color: #0645ad;
}
.ts-doc-header .ts-tlinks-tlinks a.external:visited {
color: #0b0080;
}
.ts-doc-header .ts-tlinks-tlinks a.external:active {
color: #faa700;
}
.ts-doc-content {
padding: .214286em 1em;
}
.ts-doc-content:after {
content: '';
clear: both;
display: block;
}
.ts-doc-heading {
display: inline-block;
padding-left: 30px;
height: 24px;
line-height: 24px;
font-size: 13px;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
}
.ts-doc-content > *:first-child,
.ts-doc-footer > *:first-child {
margin-top: .5em;
}
.ts-doc-content > *:last-child,
.ts-doc-footer > *:last-child {
margin-bottom: .5em;
}
.ts-doc-footer {
background-color: #eaf3ff;
border: 1px solid #a3caff;
padding: .214286em 1em;
margin-top: .214286em;
margin-bottom: .214286em;
font-style: italic;
}
@media (max-width: 719px) {
.ts-doc-header .ts-tlinks-tlinks {
float: none;
}
}
.infobox {
border: 1px solid #aaa;
background: #f9f9f9;
margin-bottom: 0.5em;
margin-left: 1em;
padding: .4em;
float: right;
clear: right;
font-size: 88%;
width: 22em;
vertical-align: middle;
text-align: left;
line-height: 1.5em;
border-collapse: separate;
border-spacing: 2px
}
.infobox > caption {
font-size: 125%;
font-weight: bold
}
.infobox th {
vertical-align: top;
width: 40%
}
.infobox td {
width: 60%;
vertical-align: middle
}
table.infobox td p {
margin: 0 !important
}
.infobox th {
text-align: right
}
.infobox img {
width: 100%;
height: auto
}
.infobox th > ul,.infobox td > ul {
list-style-type: none;
list-style-image: none;
list-style: none;
margin: 0
}
.infobox th > ol,.infobox td > ol {
line-height: 1.1em;
margin: 0 0 0 2em
}
/* [[Категория:Шаблоны:Подстраницы CSS]] */