MediaWiki:Common.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
Fenriz (обсуждение | вклад) Red Star visual theme |
Red Star UI theme |
||
| Строка 1: | Строка 1: | ||
/* Красная Звезда — Red Star Citizen theme */ | |||
:root { | |||
--color-primary: #d72626; | |||
--color-primary--hover: #ff3b3b; | |||
--color-primary--active: #9f1717; | |||
--color-progressive: #d72626; | |||
--color-progressive--hover: #ff3b3b; | |||
--color-progressive--active: #9f1717; | |||
--color-link: #ff4545; | |||
--color-link--visited: #d73636; | |||
--background-color-base: #090b0f; | |||
--background-color-neutral: #11141a; | |||
--background-color-interactive: #191d25; | |||
--background-color-interactive-subtle: #141820; | |||
--border-color-base: #2b303a; | |||
--border-color-subtle: #20242d; | |||
--color-base: #eef1f7; | |||
--color-subtle: #aeb7c8; | |||
} | |||
html, | |||
body { | |||
background: | |||
radial-gradient(circle at 50% 0%, rgba(215, 38, 38, 0.18), transparent 34rem), | |||
radial-gradient(circle at 85% 20%, rgba(120, 0, 0, 0.18), transparent 28rem), | |||
linear-gradient(180deg, #07080b 0%, #0b0d12 45%, #07080b 100%) !important; | |||
} | |||
a { | |||
color: #ff4545; | |||
} | |||
a:hover { | |||
color: #ff6969; | |||
} | |||
.mw-body, | |||
.citizen-page-container { | |||
background: transparent !important; | |||
} | |||
.citizen-header, | |||
.citizen-sidebar, | |||
.citizen-drawer { | |||
background: rgba(8, 10, 14, 0.96) !important; | |||
border-color: rgba(215, 38, 38, 0.22) !important; | |||
} | |||
.mw-parser-output h1, | |||
.mw-parser-output h2, | |||
.mw-parser-output h3 { | |||
border-color: rgba(215, 38, 38, 0.65); | |||
} | |||
.redstar-hero { | |||
position: relative; | |||
overflow: hidden; | |||
padding: 4rem 2rem; | |||
margin-bottom: 1.4rem; | |||
border: 1px solid rgba(215, 38, 38, 0.42); | |||
border-radius: 18px; | |||
background: | |||
linear-gradient(135deg, rgba(215, 38, 38, 0.22), rgba(8, 10, 14, 0.96) 50%), | |||
radial-gradient(circle at 75% 30%, rgba(255, 60, 60, 0.18), transparent 24rem); | |||
box-shadow: 0 0 55px rgba(215, 38, 38, 0.16); | |||
} | |||
.redstar-hero::before { | |||
content: "★"; | |||
position: absolute; | |||
left: 2rem; | |||
top: 0.4rem; | |||
font-size: 11rem; | |||
color: rgba(215, 38, 38, 0.18); | |||
line-height: 1; | |||
} | |||
.redstar-hero-content { | |||
position: relative; | |||
text-align: center; | |||
} | |||
.redstar-hero-title { | |||
margin: 0; | |||
color: #fff; | |||
font-size: clamp(2.4rem, 7vw, 5.6rem); | |||
font-weight: 900; | |||
letter-spacing: 0.08em; | |||
text-transform: uppercase; | |||
text-shadow: 0 0 22px rgba(215, 38, 38, 0.35); | |||
} | |||
.redstar-hero-subtitle { | |||
margin: 0.8rem auto 1.8rem; | |||
max-width: 760px; | |||
color: #d0d6e3; | |||
font-size: 1.2rem; | |||
text-transform: uppercase; | |||
} | |||
.redstar-actions { | |||
display: flex; | |||
justify-content: center; | |||
flex-wrap: wrap; | |||
gap: 1rem; | |||
} | |||
.redstar-button { | |||
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-button.secondary { | |||
background: rgba(15, 18, 24, 0.84); | |||
} | |||
.redstar-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); | |||
gap: 1rem; | |||
margin: 1.2rem 0; | |||
} | |||
.redstar-card { | |||
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)); | |||
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025); | |||
} | |||
.redstar-card:hover { | |||
border-color: rgba(255, 69, 69, 0.85); | |||
box-shadow: 0 0 24px rgba(215, 38, 38, 0.16); | |||
} | |||
.redstar-card-icon { | |||
color: #d72626; | |||
font-size: 2.1rem; | |||
line-height: 1; | |||
} | |||
.redstar-card-title { | |||
margin-top: 0.8rem; | |||
color: #fff; | |||
font-size: 1.25rem; | |||
font-weight: 800; | |||
text-transform: uppercase; | |||
} | |||
.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: 1000px) { | |||
.redstar-panels { | |||
grid-template-columns: 1fr; | |||
} | |||
} | |||
Версия от 23:37, 3 июня 2026
/* Красная Звезда — Red Star Citizen theme */
:root {
--color-primary: #d72626;
--color-primary--hover: #ff3b3b;
--color-primary--active: #9f1717;
--color-progressive: #d72626;
--color-progressive--hover: #ff3b3b;
--color-progressive--active: #9f1717;
--color-link: #ff4545;
--color-link--visited: #d73636;
--background-color-base: #090b0f;
--background-color-neutral: #11141a;
--background-color-interactive: #191d25;
--background-color-interactive-subtle: #141820;
--border-color-base: #2b303a;
--border-color-subtle: #20242d;
--color-base: #eef1f7;
--color-subtle: #aeb7c8;
}
html,
body {
background:
radial-gradient(circle at 50% 0%, rgba(215, 38, 38, 0.18), transparent 34rem),
radial-gradient(circle at 85% 20%, rgba(120, 0, 0, 0.18), transparent 28rem),
linear-gradient(180deg, #07080b 0%, #0b0d12 45%, #07080b 100%) !important;
}
a {
color: #ff4545;
}
a:hover {
color: #ff6969;
}
.mw-body,
.citizen-page-container {
background: transparent !important;
}
.citizen-header,
.citizen-sidebar,
.citizen-drawer {
background: rgba(8, 10, 14, 0.96) !important;
border-color: rgba(215, 38, 38, 0.22) !important;
}
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3 {
border-color: rgba(215, 38, 38, 0.65);
}
.redstar-hero {
position: relative;
overflow: hidden;
padding: 4rem 2rem;
margin-bottom: 1.4rem;
border: 1px solid rgba(215, 38, 38, 0.42);
border-radius: 18px;
background:
linear-gradient(135deg, rgba(215, 38, 38, 0.22), rgba(8, 10, 14, 0.96) 50%),
radial-gradient(circle at 75% 30%, rgba(255, 60, 60, 0.18), transparent 24rem);
box-shadow: 0 0 55px rgba(215, 38, 38, 0.16);
}
.redstar-hero::before {
content: "★";
position: absolute;
left: 2rem;
top: 0.4rem;
font-size: 11rem;
color: rgba(215, 38, 38, 0.18);
line-height: 1;
}
.redstar-hero-content {
position: relative;
text-align: center;
}
.redstar-hero-title {
margin: 0;
color: #fff;
font-size: clamp(2.4rem, 7vw, 5.6rem);
font-weight: 900;
letter-spacing: 0.08em;
text-transform: uppercase;
text-shadow: 0 0 22px rgba(215, 38, 38, 0.35);
}
.redstar-hero-subtitle {
margin: 0.8rem auto 1.8rem;
max-width: 760px;
color: #d0d6e3;
font-size: 1.2rem;
text-transform: uppercase;
}
.redstar-actions {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
}
.redstar-button {
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-button.secondary {
background: rgba(15, 18, 24, 0.84);
}
.redstar-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
gap: 1rem;
margin: 1.2rem 0;
}
.redstar-card {
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));
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
}
.redstar-card:hover {
border-color: rgba(255, 69, 69, 0.85);
box-shadow: 0 0 24px rgba(215, 38, 38, 0.16);
}
.redstar-card-icon {
color: #d72626;
font-size: 2.1rem;
line-height: 1;
}
.redstar-card-title {
margin-top: 0.8rem;
color: #fff;
font-size: 1.25rem;
font-weight: 800;
text-transform: uppercase;
}
.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: 1000px) {
.redstar-panels {
grid-template-columns: 1fr;
}
}