MediaWiki:Common.css
Страница интерфейса MediaWiki
Дополнительные действия
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
:root {
--wk-orange: #f0ad4e;
--wk-dark-bg: #0d0e12;
--wk-card-bg: linear-gradient(to right,#101214,#0c0e10);
--wk-border: #2a2d36;
}
.main-container {
max-width: 1200px;
margin: 0 auto;
color: #eee;
}
.fullwidth-banner img {
width: 100%;
border-radius: 8px;
margin-bottom: 20px;
}
.navigation-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 10px;
margin: 20px 0;
}
.nav-pill {
position: relative;
height: 80px;
background-color: var(--wk-card-bg);
background-size: cover;
background-position: center;
border: 1px solid var(--wk-border);
border-radius: 8px;
overflow: hidden;
display: flex;
align-items: flex-end;
justify-content: center;
padding: 10px 12px;
text-decoration: none !important;
transition: transform .2s, border-color .2s;
}
.nav-pill::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to top, rgba(0,0,0,.95) 0, rgba(0,0,0,0) 65%);
z-index: 1;
pointer-events: none;
}
.nav-pill:hover {
transform: translateY(-2px);
border-color: var(--wk-orange);
}
.nav-pill span {
font-weight: 700;
color: #fff;
z-index: 2;
font-size: 16px;
text-shadow: 0 2px 4px rgba(0,0,0,.8);
}
.layout-row {
display: grid;
grid-template-columns: 3fr 1fr;
gap: 15px;
}
.content-card {
background: var(--wk-card-bg);
border: 1px solid var(--wk-border);
border-radius: 8px;
padding: 15px;
}
.card-header {
border-bottom: 1px solid var(--wk-border);
padding-bottom: 10px;
margin-bottom: 15px;
font-weight: 700;
display: flex;
justify-content: space-between;
}
.timeline-item {
border-left: 2px solid var(--wk-border);
padding-left: 15px;
margin-bottom: 15px;
position: relative;
}
.timeline-date {
font-size: .85rem;
color: var(--wk-orange);
margin-bottom: 4px;
}
.links-grid {
display: flex;
flex-direction: column;
gap: 8px;
}
.link-button {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 10px;
background: #20232b;
color: #fff;
text-decoration: none !important;
border-radius: 6px;
font-weight: 600;
font-size: .95rem;
transition: background .2s;
}
.link-button:hover {
background: #2a2d36;
}
@media (max-width: 768px) {
.layout-row {
grid-template-columns: 1fr;
}
}