Шаблон:Notice/styles.css: различия между версиями
Admin (обсуждение | вклад) import TemplateStyles CSS |
Admin (обсуждение | вклад) import TemplateStyles CSS |
||
| Строка 1: | Строка 1: | ||
.notice-wrapper { | .notice-wrapper { | ||
overflow: hidden; | |||
position: relative; | |||
width: 100%; | |||
border-radius: 12px; | |||
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12); | |||
border: 1px solid rgba(0, 0, 0, 0.12); | |||
} | |||
.notice-header-row { | |||
display: flex; | |||
align-items: stretch; | |||
width: 100%; | |||
} | } | ||
.notice-lines { | .notice-lines { | ||
flex: 1 1 10%; | |||
min-width: 2.5rem; | |||
height: 2.75rem; | |||
box-shadow: 0 3px 0 rgba(0, 0, 0, 0.14); | |||
z-index: 1; | |||
} | } | ||
.notice-title { | .notice-title { | ||
overflow: hidden; | |||
position: relative; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
flex: 0 1 auto; | |||
padding: 0.25em 0.75em; | |||
min-width: min(50%, 28rem); | |||
max-width: 80%; | |||
border-radius: 0 0 12px 12px; | |||
box-shadow: 0 3px 0 rgba(0, 0, 0, 0.14); | |||
z-index: 2; | |||
} | } | ||
.notice-title-text { | .notice-title-text { | ||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
gap: 0.5rem; | |||
width: 100%; | |||
font-size: 1.15rem; | |||
font-weight: 700; | |||
font-family: "Exo 2", "Segoe UI", sans-serif; | |||
text-align: center; | |||
color: #ffffff; | |||
line-height: 1.2; | |||
} | |||
.notice-title-text img, | |||
.notice-title-text .mw-file-element { | |||
width: 48px; | |||
height: 48px; | |||
object-fit: contain; | |||
flex-shrink: 0; | |||
} | } | ||
.notice-content { | .notice-content { | ||
display: flex; | |||
align-items: center; | |||
flex-direction: column; | |||
margin: 0.85em 1em 1em; | |||
} | } | ||
.notice-content-text { | .notice-content-text { | ||
font-size: 0.9rem; | |||
font-family: "Exo 2", "Segoe UI", sans-serif; | |||
text-align: center; | |||
color: #1a1a1a; | |||
line-height: 1.45; | |||
} | } | ||
Версия от 19:56, 6 августа 2026
.notice-wrapper {
overflow: hidden;
position: relative;
width: 100%;
border-radius: 12px;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
border: 1px solid rgba(0, 0, 0, 0.12);
}
.notice-header-row {
display: flex;
align-items: stretch;
width: 100%;
}
.notice-lines {
flex: 1 1 10%;
min-width: 2.5rem;
height: 2.75rem;
box-shadow: 0 3px 0 rgba(0, 0, 0, 0.14);
z-index: 1;
}
.notice-title {
overflow: hidden;
position: relative;
display: flex;
align-items: center;
justify-content: center;
flex: 0 1 auto;
padding: 0.25em 0.75em;
min-width: min(50%, 28rem);
max-width: 80%;
border-radius: 0 0 12px 12px;
box-shadow: 0 3px 0 rgba(0, 0, 0, 0.14);
z-index: 2;
}
.notice-title-text {
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
width: 100%;
font-size: 1.15rem;
font-weight: 700;
font-family: "Exo 2", "Segoe UI", sans-serif;
text-align: center;
color: #ffffff;
line-height: 1.2;
}
.notice-title-text img,
.notice-title-text .mw-file-element {
width: 48px;
height: 48px;
object-fit: contain;
flex-shrink: 0;
}
.notice-content {
display: flex;
align-items: center;
flex-direction: column;
margin: 0.85em 1em 1em;
}
.notice-content-text {
font-size: 0.9rem;
font-family: "Exo 2", "Segoe UI", sans-serif;
text-align: center;
color: #1a1a1a;
line-height: 1.45;
}