MediaWiki:Common.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
Red Star UI pass 2 |
Clean Red Star UI theme |
||
| Строка 1: | Строка 1: | ||
/* Красная Звезда — | /* Красная Звезда — clean Citizen theme */ | ||
:root { | :root { | ||
| Строка 5: | Строка 5: | ||
--color-primary--hover: #ff3b3b; | --color-primary--hover: #ff3b3b; | ||
--color-primary--active: #9f1717; | --color-primary--active: #9f1717; | ||
--color-progressive: #d72626; | --color-progressive: #d72626; | ||
--color-progressive--hover: #ff3b3b; | --color-progressive--hover: #ff3b3b; | ||
--color-link: #ff4545; | --color-link: #ff4545; | ||
--color-link--visited: #d73636; | --color-link--visited: #d73636; | ||
--background-color-base: #080a0e; | |||
--background-color-base: # | --background-color-neutral: #10131a; | ||
--background-color-neutral: # | --background-color-interactive: #171b24; | ||
--background-color-interactive: # | |||
--border-color-base: #2b303a; | --border-color-base: #2b303a; | ||
--color-base: #eef1f7; | --color-base: #eef1f7; | ||
--color-subtle: #aeb7c8; | --color-subtle: #aeb7c8; | ||
| Строка 28: | Строка 20: | ||
body { | body { | ||
background: | background: | ||
radial-gradient(circle at 50% 0%, rgba(215, 38, 38, 0. | radial-gradient(circle at 50% 0%, rgba(215, 38, 38, 0.20), transparent 34rem), | ||
radial-gradient(circle at | radial-gradient(circle at 90% 18%, rgba(90, 0, 0, 0.25), transparent 28rem), | ||
linear-gradient(180deg, # | linear-gradient(180deg, #06070a 0%, #0b0d12 48%, #07080b 100%) !important; | ||
} | } | ||
| Строка 38: | Строка 30: | ||
a:hover { | a:hover { | ||
color: # | color: #ff6b6b; | ||
} | } | ||
| Строка 53: | Строка 40: | ||
} | } | ||
. | .page-Заглавная_страница .citizen-toc, | ||
.mw- | .page-Заглавная_страница .citizen-toc-container, | ||
.mw-parser-output | .page-Заглавная_страница .citizen-page-sidebar, | ||
.page-Заглавная_страница .citizen-page-header__toc, | |||
.page-Заглавная_страница .citizen-sticky-header-toc { | |||
display: none !important; | |||
} | |||
.page-Заглавная_страница .citizen-body, | |||
.page-Заглавная_страница .mw-body { | |||
max-width: 1500px !important; | |||
margin-inline: auto !important; | |||
} | |||
.page-Заглавная_страница .mw-parser-output { | |||
max-width: 1280px; | |||
margin-inline: auto; | |||
} | } | ||
| Строка 62: | Строка 62: | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
padding: | min-height: 430px; | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
padding: 3rem 2rem; | |||
margin-bottom: 1.4rem; | margin-bottom: 1.4rem; | ||
border: 1px solid rgba(215, 38, 38, 0. | border: 1px solid rgba(215, 38, 38, 0.48); | ||
border-radius: 18px; | border-radius: 18px; | ||
background: | background: | ||
linear-gradient(135deg, rgba( | radial-gradient(circle at 28% 36%, rgba(255, 45, 45, 0.24), transparent 20rem), | ||
radial-gradient(circle at 82% 34%, rgba(180, 0, 0, 0.22), transparent 22rem), | |||
box-shadow: 0 0 | linear-gradient(135deg, rgba(90, 10, 12, 0.78), rgba(7, 9, 13, 0.96) 58%), | ||
repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px); | |||
box-shadow: 0 0 60px rgba(215, 38, 38, 0.18); | |||
} | } | ||
| Строка 75: | Строка 81: | ||
content: "★"; | content: "★"; | ||
position: absolute; | position: absolute; | ||
left: 2rem; | left: 2.2rem; | ||
top: 0. | top: 0.6rem; | ||
color: rgba(215, 38, 38, 0.22); | |||
color: rgba(215, 38, 38, 0. | font-size: 10rem; | ||
line-height: 1; | line-height: 1; | ||
} | |||
.redstar-hero::after { | |||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
background: | |||
linear-gradient(90deg, transparent, rgba(255,255,255,0.035), transparent), | |||
radial-gradient(circle at 84% 58%, rgba(255, 60, 60, 0.08), transparent 18rem); | |||
pointer-events: none; | |||
} | } | ||
.redstar-hero-content { | .redstar-hero-content { | ||
position: relative; | position: relative; | ||
z-index: 1; | |||
text-align: center; | text-align: center; | ||
} | |||
.redstar-hero-kicker { | |||
color: #ff4545; | |||
font-size: 0.95rem; | |||
font-weight: 800; | |||
letter-spacing: 0.22em; | |||
text-transform: uppercase; | |||
} | |||
.redstar-hero-logo { | |||
color: #d72626; | |||
font-size: 4.2rem; | |||
line-height: 1; | |||
text-shadow: 0 0 30px rgba(215, 38, 38, 0.55); | |||
} | } | ||
.redstar-hero-title { | .redstar-hero-title { | ||
margin: 0; | margin: 0.4rem 0 0; | ||
color: #fff; | color: #fff; | ||
font-size: clamp( | font-size: clamp(3rem, 6vw, 6rem); | ||
font-weight: 900; | font-weight: 900; | ||
line-height: 0.95; | |||
letter-spacing: 0.08em; | letter-spacing: 0.08em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
text-shadow: 0 0 | text-shadow: 0 0 26px rgba(215, 38, 38, 0.32); | ||
} | } | ||
.redstar-hero-subtitle { | .redstar-hero-subtitle { | ||
margin: | max-width: 780px; | ||
margin: 1.4rem auto 1.8rem; | |||
color: # | color: #d1d7e5; | ||
font-size: 1. | font-size: 1.12rem; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
| Строка 110: | Строка 143: | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 1rem; | gap: 1rem; | ||
margin-top: 1.2rem; | |||
} | } | ||
.redstar- | .redstar-action { | ||
display: inline-block; | display: inline-block; | ||
min-width: 180px; | min-width: 180px; | ||
| Строка 126: | Строка 160: | ||
} | } | ||
.redstar- | .redstar-action.secondary { | ||
background: rgba(15, 18, 24, 0.84); | background: rgba(15, 18, 24, 0.84); | ||
} | |||
.redstar-hero-footer { | |||
margin-top: 1.2rem; | |||
color: #8f98aa; | |||
font-size: 0.9rem; | |||
letter-spacing: 0.14em; | |||
text-transform: uppercase; | |||
} | } | ||
.redstar-grid { | .redstar-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat( | grid-template-columns: repeat(5, minmax(0, 1fr)); | ||
gap: 1rem; | gap: 1rem; | ||
margin: 1.2rem 0; | margin: 1.2rem 0; | ||
| Строка 138: | Строка 180: | ||
.redstar-card { | .redstar-card { | ||
position: relative; | |||
overflow: hidden; | |||
min-height: 150px; | min-height: 150px; | ||
padding: 1.25rem; | padding: 1.25rem; | ||
border: 1px solid rgba(215, 38, 38, 0.35); | border: 1px solid rgba(215, 38, 38, 0.35); | ||
border-radius: 14px; | border-radius: 14px; | ||
background: | background: linear-gradient(145deg, rgba(22, 26, 34, 0.95), rgba(10, 12, 17, 0.95)); | ||
} | |||
.redstar-card::after { | |||
content: "→"; | |||
position: absolute; | |||
right: 1rem; | |||
bottom: 0.8rem; | |||
color: #ff3838; | |||
font-size: 1.35rem; | |||
} | } | ||
| Строка 150: | Строка 201: | ||
border-color: rgba(255, 69, 69, 0.85); | border-color: rgba(255, 69, 69, 0.85); | ||
box-shadow: 0 0 24px rgba(215, 38, 38, 0.16); | box-shadow: 0 0 24px rgba(215, 38, 38, 0.16); | ||
} | |||
.redstar-card a { | |||
text-decoration: none !important; | |||
} | } | ||
| Строка 160: | Строка 215: | ||
.redstar-card-title { | .redstar-card-title { | ||
margin-top: 0.8rem; | margin-top: 0.8rem; | ||
color: # | color: #ff4545; | ||
font-size: 1.25rem; | font-size: 1.25rem; | ||
font-weight: 800; | font-weight: 800; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | |||
.redstar-card-title a { | |||
color: #ff4545 !important; | |||
} | } | ||
| Строка 201: | Строка 260: | ||
.redstar-muted { | .redstar-muted { | ||
color: #9fa8ba; | color: #9fa8ba; | ||
} | } | ||
| Строка 346: | Строка 265: | ||
.redstar-grid { | .redstar-grid { | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
} | |||
.redstar-panels { | |||
grid-template-columns: 1fr; | |||
} | } | ||
} | } | ||
Версия от 00:22, 4 июня 2026
/* Красная Звезда — clean Citizen theme */
:root {
--color-primary: #d72626;
--color-primary--hover: #ff3b3b;
--color-primary--active: #9f1717;
--color-progressive: #d72626;
--color-progressive--hover: #ff3b3b;
--color-link: #ff4545;
--color-link--visited: #d73636;
--background-color-base: #080a0e;
--background-color-neutral: #10131a;
--background-color-interactive: #171b24;
--border-color-base: #2b303a;
--color-base: #eef1f7;
--color-subtle: #aeb7c8;
}
html,
body {
background:
radial-gradient(circle at 50% 0%, rgba(215, 38, 38, 0.20), transparent 34rem),
radial-gradient(circle at 90% 18%, rgba(90, 0, 0, 0.25), transparent 28rem),
linear-gradient(180deg, #06070a 0%, #0b0d12 48%, #07080b 100%) !important;
}
a {
color: #ff4545;
}
a:hover {
color: #ff6b6b;
}
.citizen-header,
.citizen-sidebar,
.citizen-drawer {
background: rgba(8, 10, 14, 0.96) !important;
border-color: rgba(215, 38, 38, 0.22) !important;
}
.page-Заглавная_страница .citizen-toc,
.page-Заглавная_страница .citizen-toc-container,
.page-Заглавная_страница .citizen-page-sidebar,
.page-Заглавная_страница .citizen-page-header__toc,
.page-Заглавная_страница .citizen-sticky-header-toc {
display: none !important;
}
.page-Заглавная_страница .citizen-body,
.page-Заглавная_страница .mw-body {
max-width: 1500px !important;
margin-inline: auto !important;
}
.page-Заглавная_страница .mw-parser-output {
max-width: 1280px;
margin-inline: auto;
}
.redstar-hero {
position: relative;
overflow: hidden;
min-height: 430px;
display: flex;
align-items: center;
justify-content: center;
padding: 3rem 2rem;
margin-bottom: 1.4rem;
border: 1px solid rgba(215, 38, 38, 0.48);
border-radius: 18px;
background:
radial-gradient(circle at 28% 36%, rgba(255, 45, 45, 0.24), transparent 20rem),
radial-gradient(circle at 82% 34%, rgba(180, 0, 0, 0.22), transparent 22rem),
linear-gradient(135deg, rgba(90, 10, 12, 0.78), rgba(7, 9, 13, 0.96) 58%),
repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px);
box-shadow: 0 0 60px rgba(215, 38, 38, 0.18);
}
.redstar-hero::before {
content: "★";
position: absolute;
left: 2.2rem;
top: 0.6rem;
color: rgba(215, 38, 38, 0.22);
font-size: 10rem;
line-height: 1;
}
.redstar-hero::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(90deg, transparent, rgba(255,255,255,0.035), transparent),
radial-gradient(circle at 84% 58%, rgba(255, 60, 60, 0.08), transparent 18rem);
pointer-events: none;
}
.redstar-hero-content {
position: relative;
z-index: 1;
text-align: center;
}
.redstar-hero-kicker {
color: #ff4545;
font-size: 0.95rem;
font-weight: 800;
letter-spacing: 0.22em;
text-transform: uppercase;
}
.redstar-hero-logo {
color: #d72626;
font-size: 4.2rem;
line-height: 1;
text-shadow: 0 0 30px rgba(215, 38, 38, 0.55);
}
.redstar-hero-title {
margin: 0.4rem 0 0;
color: #fff;
font-size: clamp(3rem, 6vw, 6rem);
font-weight: 900;
line-height: 0.95;
letter-spacing: 0.08em;
text-transform: uppercase;
text-shadow: 0 0 26px rgba(215, 38, 38, 0.32);
}
.redstar-hero-subtitle {
max-width: 780px;
margin: 1.4rem auto 1.8rem;
color: #d1d7e5;
font-size: 1.12rem;
text-transform: uppercase;
}
.redstar-actions {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
margin-top: 1.2rem;
}
.redstar-action {
display: inline-block;
min-width: 180px;
padding: 0.9rem 1.4rem;
border: 1px solid rgba(255, 69, 69, 0.7);
border-radius: 10px;
background: linear-gradient(180deg, #b51d1d, #751111);
color: #fff !important;
font-weight: 800;
text-align: center;
text-decoration: none !important;
text-transform: uppercase;
}
.redstar-action.secondary {
background: rgba(15, 18, 24, 0.84);
}
.redstar-hero-footer {
margin-top: 1.2rem;
color: #8f98aa;
font-size: 0.9rem;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.redstar-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 1rem;
margin: 1.2rem 0;
}
.redstar-card {
position: relative;
overflow: hidden;
min-height: 150px;
padding: 1.25rem;
border: 1px solid rgba(215, 38, 38, 0.35);
border-radius: 14px;
background: linear-gradient(145deg, rgba(22, 26, 34, 0.95), rgba(10, 12, 17, 0.95));
}
.redstar-card::after {
content: "→";
position: absolute;
right: 1rem;
bottom: 0.8rem;
color: #ff3838;
font-size: 1.35rem;
}
.redstar-card:hover {
border-color: rgba(255, 69, 69, 0.85);
box-shadow: 0 0 24px rgba(215, 38, 38, 0.16);
}
.redstar-card a {
text-decoration: none !important;
}
.redstar-card-icon {
color: #d72626;
font-size: 2.1rem;
line-height: 1;
}
.redstar-card-title {
margin-top: 0.8rem;
color: #ff4545;
font-size: 1.25rem;
font-weight: 800;
text-transform: uppercase;
}
.redstar-card-title a {
color: #ff4545 !important;
}
.redstar-card-text {
margin-top: 0.35rem;
color: #b7bfce;
}
.redstar-panels {
display: grid;
grid-template-columns: 1fr 1.25fr 0.9fr;
gap: 1rem;
margin-top: 1rem;
}
.redstar-panel {
padding: 1.15rem;
border: 1px solid rgba(215, 38, 38, 0.28);
border-radius: 14px;
background: rgba(13, 16, 22, 0.92);
}
.redstar-panel h2 {
margin-top: 0;
color: #ff3838;
font-size: 1.25rem;
text-transform: uppercase;
}
.redstar-status-online {
color: #4ee26b;
font-size: 1.35rem;
font-weight: 900;
text-transform: uppercase;
}
.redstar-muted {
color: #9fa8ba;
}
@media (max-width: 1200px) {
.redstar-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.redstar-panels {
grid-template-columns: 1fr;
}
}
@media (max-width: 700px) {
.redstar-grid {
grid-template-columns: 1fr;
}
.redstar-hero-title {
font-size: 2.6rem;
}
}