MediaWiki:Common.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
Нет описания правки |
мНет описания правки |
||
| (не показано 13 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded'); | |||
:root { | |||
--bg-hover: #222631; | |||
--bg-main: #12141A; | |||
--bg-nav: #1A1D26; | |||
--accent: #2962ff; | |||
--border: #3A3D4A; | |||
--text-main: #e0e0e0; | |||
--text-muted: #b0b0b0; | |||
--white: #ffffff; | |||
} | } | ||
| Строка 189: | Строка 114: | ||
border-radius: 8px; | border-radius: 8px; | ||
box-shadow: 0 10px 20px rgba(0,0,0,0.5); | box-shadow: 0 10px 20px rgba(0,0,0,0.5); | ||
} | |||
.trend-up, .trend-down, .trend-neutral { | |||
font-size: 1.4em; | |||
vertical-align: middle; | |||
user-select: none; | |||
} | |||
.trend-up { color: #66bb6a; } | |||
.trend-down { color: red; } | |||
.trend-neutral { color: gray; } | |||
.material-symbols-rounded { | |||
user-select: none; | |||
vertical-align: middle; | |||
} | } | ||
Текущая версия от 06:45, 17 мая 2026
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded');
:root {
--bg-hover: #222631;
--bg-main: #12141A;
--bg-nav: #1A1D26;
--accent: #2962ff;
--border: #3A3D4A;
--text-main: #e0e0e0;
--text-muted: #b0b0b0;
--white: #ffffff;
}
.wikinotice {
margin: 1em 0;
padding: 12px;
border-radius: 4px;
border-left: 4px solid #444;
background-color: #1a1b26;
color: #e1e1e1;
}
.wikinotice-title {
font-weight: bold;
margin-bottom: 5px;
font-size: 1.1em;
}
.wikinotice-content {
line-height: 1.5;
}
.wikinotice.notice-warning {
background-color: #2a2415;
border-left-color: #ffab00;
}
.wikinotice.notice-warning .wikinotice-title {
color: #ffd54f;
}
.wikinotice.notice-info {
background-color: #151d2a;
border-left-color: #2962ff;
}
.wikinotice.notice-info .wikinotice-title {
color: #90caf9;
}
.wikinotice.notice-success {
background-color: #162317;
border-left-color: #4caf50;
}
.wikinotice.notice-success .wikinotice-title {
color: #a5d6a7;
}
.yastre-carousel-container {
position: relative;
width: 100%;
max-width: 700px;
margin: 20px auto;
height: 350px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.yastre-carousel {
position: relative;
width: 100%;
height: 100%;
}
.carousel-item {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
margin: auto;
width: 300px;
height: fit-content;
transition: transform 0.4s ease, opacity 0.4s ease, z-index 0s;
text-align: center;
opacity: 0;
z-index: 0;
pointer-events: none;
}
.carousel-item.active {
transform: translateX(0) scale(1);
opacity: 1;
z-index: 3;
pointer-events: auto;
}
.carousel-item.prev {
transform: translateX(-60%) scale(0.8);
opacity: 0.6;
z-index: 2;
pointer-events: auto;
cursor: pointer;
}
.carousel-item.next {
transform: translateX(60%) scale(0.8);
opacity: 0.6;
z-index: 2;
pointer-events: auto;
cursor: pointer;
}
.carousel-item .carousel-image img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.trend-up, .trend-down, .trend-neutral {
font-size: 1.4em;
vertical-align: middle;
user-select: none;
}
.trend-up { color: #66bb6a; }
.trend-down { color: red; }
.trend-neutral { color: gray; }
.material-symbols-rounded {
user-select: none;
vertical-align: middle;
}