Шаблон:Note/styles.css: различия между версиями
Внешний вид
Vasilisa (обсуждение | вклад) Нет описания правки |
Vasilisa (обсуждение | вклад) Нет описания правки |
||
| Строка 45: | Строка 45: | ||
justify-content: center; | justify-content: center; | ||
line-height: 0; | line-height: 0; | ||
font-size: | font-size: 2em; | ||
} | } | ||
Версия от 13:00, 3 декабря 2025
.mw-note {
display: flex;
align-items: center;
gap: 1em;
border: 1px solid #36c;
border-left: 4px solid #36c;
background: #f8f9fa;
padding: 0.5em 1em;
margin: 0.5em 0;
border-radius: 2px;
font-size: 95%;
}
span.mw-note {
display: inline-flex;
}
.mw-note-inline {
display: inline-block;
}
.mw-note-note {
border-color: #36c;
background-color: #f8f9fa;
}
.mw-note-info {
border-color: #0a7;
background-color: #e0f7e0;
}
.mw-note-warning {
border-color: #f80;
background-color: #fff3e0;
}
.mw-note-error {
border-color: #e40101;
background-color: #ffc7c7;
}
.mw-note-icon {
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 0;
font-size: 2em;
}
.mw-note-text {
display: inline;
white-space: nowrap;
}