Шаблон:Инфобокс/styles.css: различия между версиями
Материал из YastreWiki
Дополнительные действия
Нет описания правки |
Нет описания правки |
||
| Строка 1: | Строка 1: | ||
.infobox { | .infobox { | ||
width: | width: 325px; | ||
max-width: 400px; | max-width: 400px; | ||
min-width: 150px; | min-width: 150px; | ||
Версия от 23:44, 12 апреля 2026
.infobox {
width: 325px;
max-width: 400px;
min-width: 150px;
border: 1px solid #3A3D4A;
border-radius: 0 0 8px 8px;
border-spacing: 0;
background-color: #12141A;
padding: 12px;
color: #e0e0e0;
font-size: 90%;
line-height: 1.5;
float: right;
margin: 0.5em 0 0.5em 1em;
clear: right;
}
.infobox .infobox-title {
font-size: 125%;
font-weight: bold;
text-align: center;
padding: 0.5em;
background-color: #000;
border: 1px solid #222;
border-bottom: none;
border-radius: 8px 8px 0 0;
}
.infobox .infobox-image {
text-align: center;
padding: 10px;
}
.infobox .infobox-header {
font-weight: bold;
text-align: center;
padding: 0.4em;
background-color: #22242B;
}
.infobox .infobox-label {
font-weight: bold;
padding: 0.4em 1em 0.4em 0.4em;
color: #b0b0b0;
vertical-align: top;
text-align: left;
border-top: 1px solid #3A3D4A;
}
.infobox .infobox-data {
text-align: left;
padding: 0.4em 0.4em 0.4em 0;
border-top: 1px solid #3A3D4A;
}
.infobox .infobox-image .mw-file-element {
display: inline-block;
margin-bottom: 0.5em;
border-radius: 0.25rem;
}
.infobox .infobox-data ul {
margin: 0;
padding-left: 1.5em;
list-style-position: inside;
}
.infobox .infobox-data pre,
.infobox .infobox-data p {
background-color: transparent;
border: none;
margin: 0;
padding: 0;
font-family: inherit;
line-height: inherit;
white-space: normal;
}
@media screen and (max-width: 650px) {
.infobox {
float: none !important;
margin: 1em auto !important;
width: 100% !important;
max-width: 100% !important;
display: table !important;
clear: both !important;
}
}