MediaWiki:Common.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
Нет описания правки |
Нет описания правки |
||
| Строка 73: | Строка 73: | ||
line-height: inherit; | line-height: inherit; | ||
white-space: normal; | white-space: normal; | ||
} | |||
.wikinotice { | |||
margin: 1em 0; | |||
padding: 15px; | |||
border-radius: 5px; | |||
border-left: 5px solid #ccc; | |||
background-color: #f9f9f9; | |||
color: #000; | |||
} | |||
.wikinotice-title { | |||
font-weight: bold; | |||
margin-bottom: 5px; | |||
font-size: 1.1em; | |||
} | |||
.wikinotice-content { | |||
line-height: 1.5; | |||
} | |||
.wikinotice.notice-warning { | |||
background-color: #fff8e1; | |||
border-left-color: #ffab00; | |||
} | |||
.wikinotice.notice-warning .wikinotice-title { | |||
color: #c67c00; | |||
} | |||
.wikinotice.notice-info { | |||
background-color: #e3f2fd; | |||
border-left-color: #2962ff; | |||
} | |||
.wikinotice.notice-info .wikinotice-title { | |||
color: #0039cb; | |||
} | |||
.wikinotice.notice-success { | |||
background-color: #e8f5e9; | |||
border-left-color: #4caf50; | |||
} | |||
.wikinotice.notice-success .wikinotice-title { | |||
color: #1b5e20; | |||
} | } | ||
Версия от 00:05, 27 сентября 2025
.infobox {
width: auto;
max-width: 400px;
min-width: 100px;
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-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 a.mw-file-description {
display: block;
margin-bottom: 0.5em;
}
.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;
}
.wikinotice {
margin: 1em 0;
padding: 15px;
border-radius: 5px;
border-left: 5px solid #ccc;
background-color: #f9f9f9;
color: #000;
}
.wikinotice-title {
font-weight: bold;
margin-bottom: 5px;
font-size: 1.1em;
}
.wikinotice-content {
line-height: 1.5;
}
.wikinotice.notice-warning {
background-color: #fff8e1;
border-left-color: #ffab00;
}
.wikinotice.notice-warning .wikinotice-title {
color: #c67c00;
}
.wikinotice.notice-info {
background-color: #e3f2fd;
border-left-color: #2962ff;
}
.wikinotice.notice-info .wikinotice-title {
color: #0039cb;
}
.wikinotice.notice-success {
background-color: #e8f5e9;
border-left-color: #4caf50;
}
.wikinotice.notice-success .wikinotice-title {
color: #1b5e20;
}