Шаблон:Note/styles.css: различия между версиями
Внешний вид
Vasilisa (обсуждение | вклад) Нет описания правки |
Vasilisa (обсуждение | вклад) Нет описания правки |
||
| Строка 44: | Строка 44: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
line-height: | line-height: 0.5; | ||
font-size: 3em; | font-size: 3em; | ||
} | } | ||
Версия от 12:56, 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.5;
font-size: 3em;
}
.mw-note-text {
display: inline;
white-space: nowrap;
}