MediaWiki:Common.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
Honvert (обсуждение | вклад) Нет описания правки |
Honvert (обсуждение | вклад) Нет описания правки |
||
| (не показаны 33 промежуточные версии этого же участника) | |||
| Строка 1: | Строка 1: | ||
:root { | :root { | ||
--wk- | --wk-accent: #467be3; | ||
--wk-dark-bg: #0d0e12; | --wk-dark-bg: #0d0e12; | ||
--wk-card-bg: linear-gradient(to right,#101214,#0c0e10); | --wk-card-bg: linear-gradient(to right, #101214, #0c0e10); | ||
--wk-border: #2a2d36; | --wk-border: #2a2d36; | ||
} | } | ||
.main-container { | .main-container { | ||
max-width: 1200px; | max-width: 1200px; | ||
| Строка 10: | Строка 11: | ||
color: #eee; | color: #eee; | ||
} | } | ||
.fullwidth-banner img { | .fullwidth-banner img { | ||
width: 100%; | width: 100%; | ||
| Строка 15: | Строка 17: | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
} | } | ||
.navigation-grid { | .navigation-grid { | ||
display: grid; | display: grid; | ||
| Строка 21: | Строка 24: | ||
margin: 20px 0; | margin: 20px 0; | ||
} | } | ||
.nav-pill { | .nav-pill { | ||
position: relative; | position: relative; | ||
| Строка 37: | Строка 41: | ||
transition: transform .2s, border-color .2s; | transition: transform .2s, border-color .2s; | ||
} | } | ||
.nav-pill::after { | .nav-pill::after { | ||
content: ''; | content: ''; | ||
| Строка 44: | Строка 49: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
background: linear-gradient(to top, rgba(0,0,0,.95) 0, rgba(0,0,0,0) 65%); | background: linear-gradient(to top, rgba(0, 0, 0, .95) 0, rgba(0, 0, 0, 0) 65%); | ||
z-index: 1; | z-index: 1; | ||
pointer-events: none; | pointer-events: none; | ||
} | } | ||
.nav-pill:hover { | .nav-pill:hover { | ||
transform: translateY(-2px); | transform: translateY(-2px); | ||
border-color: var(--wk- | border-color: var(--wk-accent); | ||
} | } | ||
.nav-pill span { | .nav-pill span { | ||
font-weight: 700; | font-weight: 700; | ||
| Строка 57: | Строка 64: | ||
z-index: 2; | z-index: 2; | ||
font-size: 16px; | font-size: 16px; | ||
text-shadow: 0 2px 4px rgba(0,0,0,.8); | text-shadow: 0 2px 4px rgba(0, 0, 0, .8); | ||
} | } | ||
.layout-row { | .layout-row { | ||
display: grid; | display: grid; | ||
grid-template-columns: | grid-template-columns: 1.5fr 1fr; | ||
gap: 15px; | gap: 15px; | ||
} | } | ||
.content-card { | .content-card { | ||
border: 1px solid var(--wk-border); | border: 1px solid var(--wk-border); | ||
border-radius: 8px; | border-radius: 8px; | ||
padding: 15px; | padding: 15px; | ||
} | } | ||
.card-header { | .card-header { | ||
border-bottom: 1px solid var(--wk-border); | border-bottom: 1px solid var(--wk-border); | ||
| Строка 78: | Строка 87: | ||
justify-content: space-between; | justify-content: space-between; | ||
} | } | ||
.timeline { | |||
padding-left: 5px; | |||
padding-top: 5px; | |||
} | |||
.timeline-link { | |||
text-decoration: none !important; | |||
display: block; | |||
} | |||
.timeline-item { | .timeline-item { | ||
position: relative; | |||
border-left: 2px solid var(--wk-border); | border-left: 2px solid var(--wk-border); | ||
padding-left: | padding: 0 10px 20px 20px; | ||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
transition: all 0.2s ease; | |||
} | |||
.timeline-marker { | |||
position: absolute; | |||
left: -6px; | |||
top: 5px; | |||
width: 10px; | |||
height: 10px; | |||
border-radius: 50%; | |||
background: var(--wk-border); | |||
transition: all 0.2s ease; | |||
} | |||
.timeline-link:hover .timeline-marker { | |||
background: var(--wk-accent); | |||
box-shadow: 0 0 8px var(--wk-accent); | |||
} | |||
.timeline-link:hover .timeline-item { | |||
background: rgba(255, 255, 255, 0.03); | |||
border-color: var(--wk-accent); | |||
border-radius: 0 8px 8px 0; | |||
} | |||
.timeline-content { | |||
flex: 1; | |||
padding-right: 15px; | |||
} | } | ||
.timeline-date { | .timeline-date { | ||
font-size: .85rem; | font-size: .85rem; | ||
color: var(--wk- | color: var(--wk-accent); | ||
margin-bottom: 4px; | margin-bottom: 4px; | ||
font-weight: 600; | |||
} | |||
.timeline-desc { | |||
color: #eee; | |||
font-size: 0.95rem; | |||
} | |||
.timeline-image { | |||
width: 170px; | |||
margin-right: 15px; | |||
height: 56px; | |||
border-radius: 6px; | |||
overflow: hidden; | |||
flex-shrink: 0; | |||
border: 1px solid var(--wk-border); | |||
} | |||
.timeline-image img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
transition: transform 0.3s ease; | |||
} | |||
.timeline-link:hover .timeline-image img { | |||
transform: scale(1.1); | |||
} | } | ||
.links-grid { | .links-grid { | ||
display: flex; | display: flex; | ||
| Строка 94: | Строка 173: | ||
gap: 8px; | gap: 8px; | ||
} | } | ||
.link-button { | .link-button { | ||
display: flex; | display: flex; | ||
| Строка 100: | Строка 180: | ||
gap: 8px; | gap: 8px; | ||
padding: 10px; | padding: 10px; | ||
background: # | background: transparent; | ||
color: # | border: 1px solid #444; | ||
border-radius: 6px; | |||
color: #e8e8e8; | |||
text-decoration: none !important; | text-decoration: none !important; | ||
border-radius: 6px; | border-radius: 6px; | ||
| Строка 109: | Строка 191: | ||
} | } | ||
.link-button:hover { | |||
background: #0e0f10; | |||
} | |||
body.wiki-theme .nav-header.sewikih-active .org-logo, | body.wiki-theme .nav-header.sewikih-active .org-logo, | ||
body.wiki-theme .nav-header.sewikih-active .v-btn, | body.wiki-theme .nav-header.sewikih-active .v-btn, | ||
body.wiki-theme .nav-header.sewikih-active .v-toolbar__title, | body.wiki-theme .nav-header.sewikih-active .v-toolbar__title, | ||
body.wiki-theme .nav-header.sewikih-active hr { display: none!important; } | body.wiki-theme .nav-header.sewikih-active hr { | ||
.v-main .contents h1:after { display: none!important; } | display: none !important; | ||
} | |||
.v-main .contents h1:after { | |||
display: none !important; | |||
} | |||
.wiki-page-wrapper { | .wiki-page-wrapper { | ||
color: #f0efed; | color: #f0efed; | ||
font-family: ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Helvetica,Arial,sans-serif; | font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, Arial, sans-serif; | ||
min-height: 100vh; | min-height: 100vh; | ||
margin: -15px; | margin: -15px; | ||
padding-bottom: 10vh; | padding-bottom: 10vh; | ||
} | } | ||
.wiki-cover { | .wiki-cover { | ||
width: 100%; | width: 100%; | ||
| Строка 131: | Строка 222: | ||
justify-content: center; | justify-content: center; | ||
} | } | ||
.cover-image-layer, | .cover-image-layer, | ||
.cover-video-layer { | .cover-video-layer { | ||
position: absolute; | position: absolute; | ||
top: 0; left: 0; width: 100%; height: 100%; | top: 0; | ||
display: flex; justify-content: center; | left: 0; | ||
width: 100%; | |||
height: 100%; | |||
display: flex; | |||
justify-content: center; | |||
} | } | ||
.cover-image-layer img { | .cover-image-layer img { | ||
width: | width: 100%; | ||
object-fit: cover; object-position: center 50%; display: block; | border-radius: 8px; | ||
height: 100%; | |||
object-fit: cover; | |||
object-position: center 50%; | |||
display: block; | |||
} | } | ||
.play-overlay { | .play-overlay { | ||
position: absolute; top: 0; left: 50%; | position: absolute; | ||
top: 0; | |||
left: 50%; | |||
transform: translateX(-50%); | transform: translateX(-50%); | ||
width: | width: 100%; | ||
background: rgba(0,0,0,.4); display: flex; | height: 100%; | ||
align-items: center; justify-content: center; | border-radius: 8px; | ||
opacity: 0; transition: opacity .3s; cursor: pointer; | background: rgba(0, 0, 0, .4); | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
opacity: 0; | |||
transition: opacity .3s; | |||
cursor: pointer; | |||
} | } | ||
.cover-image-layer:hover .play-overlay { opacity: 1; } | |||
.cover-image-layer:hover .play-overlay { | |||
opacity: 1; | |||
} | |||
.play-overlay svg { | .play-overlay svg { | ||
width: 64px; height: 64px; fill: #fff; | width: 64px; | ||
filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); | height: 64px; | ||
fill: #fff; | |||
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); | |||
} | } | ||
#inline-video-container { | #inline-video-container { | ||
position: relative; width: | position: relative; | ||
border-radius: | width: 100%; | ||
box-shadow: 0 4px 15px rgba(0,0,0,.5); background: #000; | height: 100%; | ||
border-radius: 12px; | |||
overflow: hidden; | |||
box-shadow: 0 4px 15px rgba(0, 0, 0, .5); | |||
background: #000; | |||
} | } | ||
#inline-video-container | |||
#inline-video-container video { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
border-radius: inherit; | |||
} | } | ||
.video-controls { | .video-controls { | ||
position: absolute; top: 10px; right: calc( | position: absolute; | ||
display: flex; gap: 8px; z-index: 10; | top: 10px; | ||
right: calc(1% + 10px); | |||
display: flex; | |||
gap: 8px; | |||
z-index: 10; | |||
} | } | ||
.control-btn { | .control-btn { | ||
background: rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.2); | background: rgba(0, 0, 0, .7); | ||
border-radius: 6px; width: 36px; height: 36px; | border: 1px solid rgba(255, 255, 255, .2); | ||
display: flex; align-items: center; justify-content: center; | border-radius: 6px; | ||
color: #fff; cursor: pointer; transition: .2s; backdrop-filter: blur(4px); | width: 36px; | ||
height: 36px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
color: #fff; | |||
cursor: pointer; | |||
transition: .2s; | |||
backdrop-filter: blur(4px); | |||
} | |||
.control-btn svg { | |||
width: 20px; | |||
height: 20px; | |||
} | |||
.control-btn:hover { | |||
background: rgba(0, 0, 0, .9); | |||
color: var(--wk-accent); | |||
border-color: var(--wk-accent); | |||
} | } | ||
.modal-overlay { | .modal-overlay { | ||
display: none; position: fixed; top: 0; left: 0; | display: none; | ||
width: 100vw; height: 100vh; background: rgba(0,0,0,.85); | position: fixed; | ||
z-index: 10000; align-items: center; justify-content: center; backdrop-filter: blur(4px); | top: 0; | ||
left: 0; | |||
width: 100vw; | |||
height: 100vh; | |||
background: rgba(0, 0, 0, .85); | |||
z-index: 10000; | |||
align-items: center; | |||
justify-content: center; | |||
backdrop-filter: blur(4px); | |||
} | |||
.modal-overlay.active { | |||
display: flex !important; | |||
} | |||
.modal-content { | |||
position: relative; | |||
width: 80%; | |||
max-width: 1000px; | |||
aspect-ratio: 16/9; | |||
border-radius: 12px; | |||
background: #000; | |||
-webkit-mask-image: -webkit-radial-gradient(white, black); | |||
mask-image: radial-gradient(white, black); | |||
} | |||
.modal-content video { | |||
width: 100%; | |||
height: 100%; | |||
border-radius: inherit; | |||
} | } | ||
.modal-close { | .modal-close { | ||
position: absolute; top: | position: absolute; | ||
font-size: 36px; cursor: pointer; line-height: 1; transition: color .2s; | top: 10px; | ||
right: 15px; | |||
color: #fff; | |||
font-size: 36px; | |||
cursor: pointer; | |||
line-height: 1; | |||
transition: color .2s; | |||
z-index: 10001; | |||
background: rgba(0, 0, 0, 0.5); | |||
border-radius: 50%; | |||
width: 40px; | |||
height: 40px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | } | ||
. | .modal-close:hover { | ||
color: var(--wk-accent); | |||
background: rgba(0, 0, 0, 0.8); | |||
} | |||
. | |||
.tag { | |||
display: inline-flex; | |||
align-items: center; | |||
gap: 5px; | |||
font-size: 12px; | |||
font-weight: 500; | |||
padding: 3px 9px; | |||
border-radius: 4px; | |||
line-height: 1.5; | |||
vertical-align: middle; | |||
white-space: nowrap; | |||
} | |||
.tag-dot { | |||
width: 6px; | |||
height: 6px; | |||
border-radius: 50%; | |||
flex-shrink: 0; | |||
} | |||
.t-danger { background: #3a1a1a; color: #f08080; border: 1px solid #6b2c2c; } | |||
.t-danger .tag-dot { background: #f08080; } | |||
.t-warn { background: #2e2010; color: #e6a040; border: 1px solid #6b4a1a; } | |||
.t-warn .tag-dot { background: #e6a040; } | |||
.t-info { background: #0d1e30; color: #6ab0e8; border: 1px solid #1a3d5c; } | |||
.t-info .tag-dot { background: #6ab0e8; } | |||
.t-success { background: #0d2218; color: #5ec47a; border: 1px solid #1a5030; } | |||
.t-success .tag-dot { background: #5ec47a; } | |||
.t-neutral { background: #1c1e26; color: #9a9caa; border: 1px solid #2a2d36; } | |||
.t-neutral .tag-dot { background: #9a9caa; } | |||
.t-purple { background: #1e1530; color: #b09aee; border: 1px solid #3d2a6b; } | |||
.t-purple .tag-dot { background: #b09aee; } | |||
.wk-tabs-wrapper { | |||
margin: 20px 0; | |||
} | |||
.wk-tabs-header { | |||
display: flex; | |||
gap: 20px; | |||
border-bottom: 1px solid #333; | |||
overflow-x: auto; | |||
margin-bottom: 15px; | |||
} | |||
.wk-tab-btn { | |||
background: transparent; | |||
border: none; | |||
color: #a0a0a0; | |||
font-size: 16px; | |||
font-weight: 600; | |||
padding: 10px 5px; | |||
cursor: pointer; | |||
border-bottom: 2px solid transparent; | |||
transition: all 0.2s; | |||
white-space: nowrap; | |||
} | |||
.wk-tab-btn:hover { | |||
color: #fff; | |||
} | |||
. | .wk-tab-btn.active { | ||
color: var(--wk-accent); | |||
border-bottom: 2px solid var(--wk-accent); | |||
} | |||
.wk-tab-content { | |||
display: none; | |||
color: #eee; | |||
} | |||
.wk-tab-content.active { | |||
display: block; | |||
animation: fadeIn 0.3s ease; | |||
} | |||
@keyframes fadeIn { | |||
from { opacity: 0; } | |||
to { opacity: 1; } | |||
} | |||
.nav-row-3 { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 15px; | |||
margin-bottom: 15px; | |||
} | |||
.nav-row-2 { | |||
display: grid; | |||
grid-template-columns: repeat(2, 1fr); | |||
gap: 15px; | |||
margin-bottom: 15px; | |||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
. | .nav-row-3, | ||
.nav-row-2 { grid-template-columns: 1fr; } | |||
} | .layout-row { grid-template-columns: 1fr; } | ||
} | } | ||
.wiki-bottom-controls { | |||
position: absolute; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%); | |||
padding: 15px 12px 5px 12px; | |||
display: flex; | |||
flex-direction: column; | |||
z-index: 20; | |||
opacity: 1; | |||
transition: opacity 0.3s ease; | |||
} | |||
.video-wrapper.is-idle .wiki-bottom-controls.is-playing { | |||
opacity: 0; | |||
} | |||
.video-wrapper.is-idle { | |||
cursor: none; | |||
} | |||
.wiki-progress-container { | |||
width: 100%; | |||
height: 5px; | |||
position: relative; | |||
margin-bottom: 5px; | |||
cursor: pointer; | |||
display: flex; | |||
align-items: flex-end; | |||
} | |||
.wiki-progress-bar { | |||
width: 100%; | |||
height: 3px; | |||
background: rgba(255, 255, 255, 0.2); | |||
position: relative; | |||
transition: height 0.1s ease; | |||
} | |||
.wiki-progress-container:hover .wiki-progress-bar { | |||
height: 5px; | |||
} | |||
.wiki-progress-loaded { | |||
height: 100%; | |||
background: rgba(255, 255, 255, 0.4); | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
pointer-events: none; | |||
transition: width 0.2s; | |||
} | |||
.wiki-progress-fill { | |||
height: 100%; | |||
background: var(--wk-accent); | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
pointer-events: none; | |||
z-index: 2; | |||
} | |||
.wiki-progress-dot { | |||
width: 13px; | |||
height: 13px; | |||
background: var(--wk-accent); | |||
border-radius: 50%; | |||
position: absolute; | |||
top: 50%; | |||
transform: translate(-50%, -50%) scale(0); | |||
transition: transform 0.1s ease; | |||
pointer-events: none; | |||
z-index: 3; | |||
} | |||
.wiki-progress-container:hover .wiki-progress-dot { | |||
transform: translate(-50%, -50%) scale(1); | |||
} | |||
.wiki-controls-bar { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
height: 40px; | |||
} | |||
.wiki-ctrl-left, | |||
.wiki-ctrl-right { | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; | |||
} | |||
.wiki-icon-btn { | |||
background: transparent; | |||
border: none; | |||
padding: 6px; | |||
color: #fff; | |||
cursor: pointer; | |||
opacity: 0.9; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
transition: opacity 0.2s, transform 0.1s; | |||
border-radius: 4px; | |||
outline: none; | |||
} | |||
.wiki-icon-btn:hover { | |||
opacity: 1; | |||
transform: scale(1.1); | |||
} | |||
.wiki-icon-btn svg { | |||
width: 24px; | |||
height: 24px; | |||
fill: currentColor; | |||
} | |||
.wiki-volume-container { | |||
display: flex; | |||
align-items: center; | |||
overflow: hidden; | |||
width: 36px; | |||
transition: width 0.3s ease; | |||
} | |||
.wiki-volume-container:hover { | |||
width: 100px; | |||
} | |||
.wiki-volume-slider { | |||
width: 60px; | |||
margin-left: 5px; | |||
cursor: pointer; | |||
accent-color: #fff; | |||
opacity: 0; | |||
transition: opacity 0.3s ease; | |||
} | |||
.wiki-volume-container:hover .wiki-volume-slider { | |||
opacity: 1; | |||
} | |||
.wiki-center-action { | |||
position: absolute; | |||
top: 50%; | |||
left: 50%; | |||
transform: translate(-50%, -50%) scale(1.5); | |||
width: 64px; | |||
height: 64px; | |||
background: rgba(0, 0, 0, 0.6); | |||
border-radius: 50%; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
color: white; | |||
opacity: 0; | |||
pointer-events: none; | |||
transition: opacity 0.2s ease, transform 0.2s ease; | |||
z-index: 30; | |||
} | |||
.wiki-center-action.animate { | |||
opacity: 1; | |||
transform: translate(-50%, -50%) scale(1); | |||
} | |||
.wiki-center-action svg { | |||
width: 36px; | |||
height: 36px; | |||
fill: currentColor; | |||
} | |||
/* monitoring */ | |||
.server-monitor-grid, | |||
.server-card, | |||
.server-header, | |||
.server-name, | |||
.server-info-row, | |||
.server-connect-btn { | |||
} | |||
.server-monitor-grid-5 { | |||
display: grid; | |||
grid-template-columns: repeat(5, 1fr); | |||
gap: 12px; | |||
margin-top: 16px; | |||
} | |||
.server-card-minimal { | |||
background: transparent; | |||
border: 1px solid #333; | |||
border-radius: 8px; | |||
overflow: hidden; | |||
display: flex; | |||
flex-direction: column; | |||
transition: background 0.2s, border-color 0.2s; | |||
} | |||
.server-card-minimal:hover { | |||
background: rgba(255, 255, 255, 0.02); | |||
border-color: #444; | |||
} | |||
.server-card-image { | |||
width: 100%; | |||
height: 120px; | |||
overflow: hidden; | |||
} | |||
.server-card-image img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
display: block; | |||
} | |||
.server-card-content { | |||
padding: 16px; | |||
display: flex; | |||
flex-direction: column; | |||
gap: 8px; | |||
} | |||
.server-name-minimal { | |||
font-weight: 500; | |||
color: #e8e8e8; | |||
font-size: 0.95rem; | |||
margin-bottom: 4px; | |||
} | |||
.server-info-row-minimal { | |||
display: flex; | |||
justify-content: space-between; | |||
font-size: 0.85rem; | |||
color: #888; | |||
} | |||
.server-players { | |||
color: #e8e8e8; | |||
} | |||
.server-status { | |||
font-size: 0.85rem; | |||
} | |||
.status-online { color: #a3e6b5; } | |||
.status-offline { color: #e6a3a3; } | |||
.status-loading { color: #888; } | |||
.server-connect-btn-minimal { | |||
margin: 16px; | |||
margin-top: auto; | |||
padding: 8px 12px; | |||
background: transparent; | |||
border: 1px solid #444; | |||
border-radius: 6px; | |||
color: #e8e8e8; | |||
font-size: 0.85rem; | |||
text-align: center; | |||
text-decoration: none !important; | |||
cursor: pointer; | |||
transition: background 0.2s, border-color 0.2s; | |||
} | |||
.server-connect-btn-minimal:hover { | |||
background: rgba(255, 255, 255, 0.05); | |||
border-color: #555; | |||
} | |||
.zoom-container { | |||
overflow: hidden; | |||
border-radius: 8px; | |||
} | |||
.zoom-container img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
transition: transform 0.3s ease; | |||
display: block; | |||
} | |||
.zoom-container:hover img { | |||
transform: scale(1.1); | |||
} | |||
.server-card-minimal:hover { | |||
transform: translateY(-2px); | |||
border-color: var(--wk-accent); | |||
transition: transform .2s, border-color .2s; | |||
} | |||
.label.label--green { | |||
border-color: hsl(0, 0%, 100%); | |||
} | |||
.label { | |||
display: inline-block; | |||
padding: 1px .35em; | |||
border: 1px solid hsla(0,0%,0%,0); | |||
border-top-color: rgba(0, 0, 0, 0); | |||
border-right-color: rgba(0, 0, 0, 0); | |||
border-bottom-color: rgba(0, 0, 0, 0); | |||
border-left-color: rgba(0, 0, 0, 0); | |||
border-radius: 4px; | |||
font-size: 50%; | |||
line-height: 1.26; | |||
text-decoration: none; | |||
} | |||
.archive-banner { | |||
display: flex; | |||
align-items: center; | |||
gap: 12px; | |||
padding: 12px 16px 12px 20px; | |||
margin-bottom: 1.4em; | |||
background: #fafafa; | |||
border-radius: 6px; | |||
font-size: 0.92em; | |||
color: #54595d; | |||
} | |||
.archive-banner::before { | |||
content: ""; | |||
position: absolute; | |||
left: 0; | |||
top: 8px; | |||
bottom: 8px; | |||
width: 3px; | |||
border-radius: 3px; | |||
background: #71706e; | |||
} | |||
.archive-banner .glyph { | |||
flex-shrink: 0; | |||
font-size: 15px; | |||
opacity: 0.6; | |||
} | |||
.archive-banner .text { | |||
line-height: 1.5; | |||
} | |||
.archive-banner .text b { | |||
color: #202122; | |||
font-weight: 600; | |||
} | |||
.archive-banner a { | |||
color: #54595d; | |||
text-decoration: underline; | |||
text-decoration-color: rgba(84, 89, 93, 0.35); | |||
text-underline-offset: 2px; | |||
} | |||
.archive-banner a:hover { | |||
color: #202122; | |||
text-decoration-color: currentColor; | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
body { | |||
color: #eaecf0; | |||
} | |||
.archive-banner { | |||
background: #16191d; | |||
color: #a2a9b1; | |||
} | |||
.archive-banner::before { | |||
background: #8a8d91; | |||
} | |||
.archive-banner .text b { | |||
color: #eaecf0; | |||
} | |||
.archive-banner a { | |||
color: #a2a9b1; | |||
text-decoration-color: rgba(162, 169, 177, 0.35); | |||
} | |||
.archive-banner a:hover { | |||
color: #eaecf0; | |||
} | |||
} | |||
Текущая версия от 12:01, 26 августа 2026
:root {
--wk-accent: #467be3;
--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-accent);
}
.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: 1.5fr 1fr;
gap: 15px;
}
.content-card {
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 {
padding-left: 5px;
padding-top: 5px;
}
.timeline-link {
text-decoration: none !important;
display: block;
}
.timeline-item {
position: relative;
border-left: 2px solid var(--wk-border);
padding: 0 10px 20px 20px;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.2s ease;
}
.timeline-marker {
position: absolute;
left: -6px;
top: 5px;
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--wk-border);
transition: all 0.2s ease;
}
.timeline-link:hover .timeline-marker {
background: var(--wk-accent);
box-shadow: 0 0 8px var(--wk-accent);
}
.timeline-link:hover .timeline-item {
background: rgba(255, 255, 255, 0.03);
border-color: var(--wk-accent);
border-radius: 0 8px 8px 0;
}
.timeline-content {
flex: 1;
padding-right: 15px;
}
.timeline-date {
font-size: .85rem;
color: var(--wk-accent);
margin-bottom: 4px;
font-weight: 600;
}
.timeline-desc {
color: #eee;
font-size: 0.95rem;
}
.timeline-image {
width: 170px;
margin-right: 15px;
height: 56px;
border-radius: 6px;
overflow: hidden;
flex-shrink: 0;
border: 1px solid var(--wk-border);
}
.timeline-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.timeline-link:hover .timeline-image img {
transform: scale(1.1);
}
.links-grid {
display: flex;
flex-direction: column;
gap: 8px;
}
.link-button {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 10px;
background: transparent;
border: 1px solid #444;
border-radius: 6px;
color: #e8e8e8;
text-decoration: none !important;
border-radius: 6px;
font-weight: 600;
font-size: .95rem;
transition: background .2s;
}
.link-button:hover {
background: #0e0f10;
}
body.wiki-theme .nav-header.sewikih-active .org-logo,
body.wiki-theme .nav-header.sewikih-active .v-btn,
body.wiki-theme .nav-header.sewikih-active .v-toolbar__title,
body.wiki-theme .nav-header.sewikih-active hr {
display: none !important;
}
.v-main .contents h1:after {
display: none !important;
}
.wiki-page-wrapper {
color: #f0efed;
font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, Arial, sans-serif;
min-height: 100vh;
margin: -15px;
padding-bottom: 10vh;
}
.wiki-cover {
width: 100%;
height: 30vh;
max-height: 280px;
position: relative;
display: flex;
justify-content: center;
}
.cover-image-layer,
.cover-video-layer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
}
.cover-image-layer img {
width: 100%;
border-radius: 8px;
height: 100%;
object-fit: cover;
object-position: center 50%;
display: block;
}
.play-overlay {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 100%;
height: 100%;
border-radius: 8px;
background: rgba(0, 0, 0, .4);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity .3s;
cursor: pointer;
}
.cover-image-layer:hover .play-overlay {
opacity: 1;
}
.play-overlay svg {
width: 64px;
height: 64px;
fill: #fff;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
}
#inline-video-container {
position: relative;
width: 100%;
height: 100%;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, .5);
background: #000;
}
#inline-video-container video {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: inherit;
}
.video-controls {
position: absolute;
top: 10px;
right: calc(1% + 10px);
display: flex;
gap: 8px;
z-index: 10;
}
.control-btn {
background: rgba(0, 0, 0, .7);
border: 1px solid rgba(255, 255, 255, .2);
border-radius: 6px;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
cursor: pointer;
transition: .2s;
backdrop-filter: blur(4px);
}
.control-btn svg {
width: 20px;
height: 20px;
}
.control-btn:hover {
background: rgba(0, 0, 0, .9);
color: var(--wk-accent);
border-color: var(--wk-accent);
}
.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, .85);
z-index: 10000;
align-items: center;
justify-content: center;
backdrop-filter: blur(4px);
}
.modal-overlay.active {
display: flex !important;
}
.modal-content {
position: relative;
width: 80%;
max-width: 1000px;
aspect-ratio: 16/9;
border-radius: 12px;
background: #000;
-webkit-mask-image: -webkit-radial-gradient(white, black);
mask-image: radial-gradient(white, black);
}
.modal-content video {
width: 100%;
height: 100%;
border-radius: inherit;
}
.modal-close {
position: absolute;
top: 10px;
right: 15px;
color: #fff;
font-size: 36px;
cursor: pointer;
line-height: 1;
transition: color .2s;
z-index: 10001;
background: rgba(0, 0, 0, 0.5);
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.modal-close:hover {
color: var(--wk-accent);
background: rgba(0, 0, 0, 0.8);
}
.tag {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 12px;
font-weight: 500;
padding: 3px 9px;
border-radius: 4px;
line-height: 1.5;
vertical-align: middle;
white-space: nowrap;
}
.tag-dot {
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.t-danger { background: #3a1a1a; color: #f08080; border: 1px solid #6b2c2c; }
.t-danger .tag-dot { background: #f08080; }
.t-warn { background: #2e2010; color: #e6a040; border: 1px solid #6b4a1a; }
.t-warn .tag-dot { background: #e6a040; }
.t-info { background: #0d1e30; color: #6ab0e8; border: 1px solid #1a3d5c; }
.t-info .tag-dot { background: #6ab0e8; }
.t-success { background: #0d2218; color: #5ec47a; border: 1px solid #1a5030; }
.t-success .tag-dot { background: #5ec47a; }
.t-neutral { background: #1c1e26; color: #9a9caa; border: 1px solid #2a2d36; }
.t-neutral .tag-dot { background: #9a9caa; }
.t-purple { background: #1e1530; color: #b09aee; border: 1px solid #3d2a6b; }
.t-purple .tag-dot { background: #b09aee; }
.wk-tabs-wrapper {
margin: 20px 0;
}
.wk-tabs-header {
display: flex;
gap: 20px;
border-bottom: 1px solid #333;
overflow-x: auto;
margin-bottom: 15px;
}
.wk-tab-btn {
background: transparent;
border: none;
color: #a0a0a0;
font-size: 16px;
font-weight: 600;
padding: 10px 5px;
cursor: pointer;
border-bottom: 2px solid transparent;
transition: all 0.2s;
white-space: nowrap;
}
.wk-tab-btn:hover {
color: #fff;
}
.wk-tab-btn.active {
color: var(--wk-accent);
border-bottom: 2px solid var(--wk-accent);
}
.wk-tab-content {
display: none;
color: #eee;
}
.wk-tab-content.active {
display: block;
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.nav-row-3 {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
margin-bottom: 15px;
}
.nav-row-2 {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
margin-bottom: 15px;
}
@media (max-width: 768px) {
.nav-row-3,
.nav-row-2 { grid-template-columns: 1fr; }
.layout-row { grid-template-columns: 1fr; }
}
.wiki-bottom-controls {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
padding: 15px 12px 5px 12px;
display: flex;
flex-direction: column;
z-index: 20;
opacity: 1;
transition: opacity 0.3s ease;
}
.video-wrapper.is-idle .wiki-bottom-controls.is-playing {
opacity: 0;
}
.video-wrapper.is-idle {
cursor: none;
}
.wiki-progress-container {
width: 100%;
height: 5px;
position: relative;
margin-bottom: 5px;
cursor: pointer;
display: flex;
align-items: flex-end;
}
.wiki-progress-bar {
width: 100%;
height: 3px;
background: rgba(255, 255, 255, 0.2);
position: relative;
transition: height 0.1s ease;
}
.wiki-progress-container:hover .wiki-progress-bar {
height: 5px;
}
.wiki-progress-loaded {
height: 100%;
background: rgba(255, 255, 255, 0.4);
position: absolute;
top: 0;
left: 0;
pointer-events: none;
transition: width 0.2s;
}
.wiki-progress-fill {
height: 100%;
background: var(--wk-accent);
position: absolute;
top: 0;
left: 0;
pointer-events: none;
z-index: 2;
}
.wiki-progress-dot {
width: 13px;
height: 13px;
background: var(--wk-accent);
border-radius: 50%;
position: absolute;
top: 50%;
transform: translate(-50%, -50%) scale(0);
transition: transform 0.1s ease;
pointer-events: none;
z-index: 3;
}
.wiki-progress-container:hover .wiki-progress-dot {
transform: translate(-50%, -50%) scale(1);
}
.wiki-controls-bar {
display: flex;
justify-content: space-between;
align-items: center;
height: 40px;
}
.wiki-ctrl-left,
.wiki-ctrl-right {
display: flex;
align-items: center;
gap: 8px;
}
.wiki-icon-btn {
background: transparent;
border: none;
padding: 6px;
color: #fff;
cursor: pointer;
opacity: 0.9;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.2s, transform 0.1s;
border-radius: 4px;
outline: none;
}
.wiki-icon-btn:hover {
opacity: 1;
transform: scale(1.1);
}
.wiki-icon-btn svg {
width: 24px;
height: 24px;
fill: currentColor;
}
.wiki-volume-container {
display: flex;
align-items: center;
overflow: hidden;
width: 36px;
transition: width 0.3s ease;
}
.wiki-volume-container:hover {
width: 100px;
}
.wiki-volume-slider {
width: 60px;
margin-left: 5px;
cursor: pointer;
accent-color: #fff;
opacity: 0;
transition: opacity 0.3s ease;
}
.wiki-volume-container:hover .wiki-volume-slider {
opacity: 1;
}
.wiki-center-action {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(1.5);
width: 64px;
height: 64px;
background: rgba(0, 0, 0, 0.6);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease, transform 0.2s ease;
z-index: 30;
}
.wiki-center-action.animate {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
.wiki-center-action svg {
width: 36px;
height: 36px;
fill: currentColor;
}
/* monitoring */
.server-monitor-grid,
.server-card,
.server-header,
.server-name,
.server-info-row,
.server-connect-btn {
}
.server-monitor-grid-5 {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 12px;
margin-top: 16px;
}
.server-card-minimal {
background: transparent;
border: 1px solid #333;
border-radius: 8px;
overflow: hidden;
display: flex;
flex-direction: column;
transition: background 0.2s, border-color 0.2s;
}
.server-card-minimal:hover {
background: rgba(255, 255, 255, 0.02);
border-color: #444;
}
.server-card-image {
width: 100%;
height: 120px;
overflow: hidden;
}
.server-card-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.server-card-content {
padding: 16px;
display: flex;
flex-direction: column;
gap: 8px;
}
.server-name-minimal {
font-weight: 500;
color: #e8e8e8;
font-size: 0.95rem;
margin-bottom: 4px;
}
.server-info-row-minimal {
display: flex;
justify-content: space-between;
font-size: 0.85rem;
color: #888;
}
.server-players {
color: #e8e8e8;
}
.server-status {
font-size: 0.85rem;
}
.status-online { color: #a3e6b5; }
.status-offline { color: #e6a3a3; }
.status-loading { color: #888; }
.server-connect-btn-minimal {
margin: 16px;
margin-top: auto;
padding: 8px 12px;
background: transparent;
border: 1px solid #444;
border-radius: 6px;
color: #e8e8e8;
font-size: 0.85rem;
text-align: center;
text-decoration: none !important;
cursor: pointer;
transition: background 0.2s, border-color 0.2s;
}
.server-connect-btn-minimal:hover {
background: rgba(255, 255, 255, 0.05);
border-color: #555;
}
.zoom-container {
overflow: hidden;
border-radius: 8px;
}
.zoom-container img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
display: block;
}
.zoom-container:hover img {
transform: scale(1.1);
}
.server-card-minimal:hover {
transform: translateY(-2px);
border-color: var(--wk-accent);
transition: transform .2s, border-color .2s;
}
.label.label--green {
border-color: hsl(0, 0%, 100%);
}
.label {
display: inline-block;
padding: 1px .35em;
border: 1px solid hsla(0,0%,0%,0);
border-top-color: rgba(0, 0, 0, 0);
border-right-color: rgba(0, 0, 0, 0);
border-bottom-color: rgba(0, 0, 0, 0);
border-left-color: rgba(0, 0, 0, 0);
border-radius: 4px;
font-size: 50%;
line-height: 1.26;
text-decoration: none;
}
.archive-banner {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px 12px 20px;
margin-bottom: 1.4em;
background: #fafafa;
border-radius: 6px;
font-size: 0.92em;
color: #54595d;
}
.archive-banner::before {
content: "";
position: absolute;
left: 0;
top: 8px;
bottom: 8px;
width: 3px;
border-radius: 3px;
background: #71706e;
}
.archive-banner .glyph {
flex-shrink: 0;
font-size: 15px;
opacity: 0.6;
}
.archive-banner .text {
line-height: 1.5;
}
.archive-banner .text b {
color: #202122;
font-weight: 600;
}
.archive-banner a {
color: #54595d;
text-decoration: underline;
text-decoration-color: rgba(84, 89, 93, 0.35);
text-underline-offset: 2px;
}
.archive-banner a:hover {
color: #202122;
text-decoration-color: currentColor;
}
@media (prefers-color-scheme: dark) {
body {
color: #eaecf0;
}
.archive-banner {
background: #16191d;
color: #a2a9b1;
}
.archive-banner::before {
background: #8a8d91;
}
.archive-banner .text b {
color: #eaecf0;
}
.archive-banner a {
color: #a2a9b1;
text-decoration-color: rgba(162, 169, 177, 0.35);
}
.archive-banner a:hover {
color: #eaecf0;
}
}