мНет описания правки Метка: отменено |
мНет описания правки Метка: отменено |
||
Строка 96: | Строка 96: | ||
} | } | ||
/* | /* Стили для вкладок */ | ||
. | .tabs-container { | ||
margin: 1em 0; | |||
} | } | ||
.tabs-nav { | |||
. | display: flex; | ||
-- | margin-bottom: -1px; | ||
} | |||
.tabs-nav label { | |||
display: block; | |||
padding: 10px 20px; | |||
margin-right: 5px; | |||
cursor: pointer; | |||
background: #8B0000; | |||
color: white; | |||
border: 1px solid #5d3954; | |||
border-radius: 5px 5px 0 0; | |||
transition: all 0.3s ease; | |||
font-weight: bold; | |||
} | |||
.tabs-nav label:hover { | |||
background: #A60000; | |||
} | |||
.tabs-content { | |||
border: 1px solid #5d3954; | |||
padding: 15px; | |||
background: rgba(23, 32, 38, 1); | |||
color: white; | |||
} | |||
.tabs-input { | |||
display: none; | |||
} | |||
.tabs-input:checked + label { | |||
background: #6A0000; | |||
border-bottom: 1px solid rgba(23, 32, 38, 1); | |||
z-index: 2; | |||
} | |||
.tabs-panel { | |||
display: none; | |||
} | |||
.tabs-input:checked ~ .tabs-panel { | |||
display: block; | |||
} | |||
/* Стили для таблиц */ | |||
.wikitable { | |||
border: 1px solid #fff; | |||
background: rgba(23, 32, 38, 1); | |||
margin: 1em 0; | |||
} | |||
.wikitable th { | |||
background: #8B0000; | |||
color: white; | |||
padding: 8px; | |||
border: 1px solid #fff; | |||
} | |||
.wikitable td { | |||
padding: 8px; | |||
border: 1px solid #fff; | |||
} | } |
Версия от 14:53, 1 апреля 2025
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
html {
--header-size: 3.5rem;
--header-card-maxheight: 70vh;
--width-layout: 1080px;
--width-layout--extended: calc(var(--width-layout) * 1.5);
--width-toc: 240px;
--line-height: 1.6;
--line-height-xs: 1.25;
--line-height-sm: 1.375;
--space-unit: 1rem;
--space-xxs: calc(0.25 * var(--space-unit));
--space-xs: calc(0.5 * var(--space-unit));
--space-sm: calc(0.75 * var(--space-unit));
--space-md: var(--space-unit);
--space-lg: calc(1.25 * var(--space-unit));
--space-xl: calc(1.5 * var(--space-unit));
--space-xxl: calc(2 * var(--space-unit));
--margin-layout: calc((100vw - var(--width-layout)) / 2);
--padding-page: 16px;
}
@media screen {
:root.skin-citizen-dark {
--color-primary__l: 60%;
--color-surface-0: hsl(205,20%,10%);
--color-surface-1: hsl(205,25%,12%);
--color-surface-2: hsl(205,25%,15%);
--color-surface-3: hsl(205,15%,20%);
--color-surface-4: hsl(205,15%,25%);
--color-base--emphasized: hsl(205,80%,95%);
--color-base: hsl(205,25%,80%);
--color-base--subtle: hsl(205,25%,65%);
--background-color-primary--hover: hsl(205,60%,15%);
--background-color-primary--active: hsl(205,60%,20%);
--background-color-overlay: hsla(205,20%,10%,0.95);
--background-color-overlay--lighter: hsla(205,20%,10%,0.6);
--color-surface-2--hover: hsl(205,30%,19%);
--color-surface-2--active: hsl(205,30%,11%);
--surface-shadow: 205,50%,3%;
--shadow-strength: 0.8;
--filter-invert: invert(1) hue-rotate(180deg);
--font-grade: -25;
}
}
@media screen and (min-width: 851px) {
.mobile {
display:none !important;
}
.desktoponly {
}
}
@media screen and (max-width: 850px) {
.nomobile {
display:none !important;
}
.mobileonly{
}
.mobilefont {
font-size: 80%
}
}
/*@media screen and (min-width: 640px) {*/
/* .mobile {*/
/* display: none !important;*/
/* }*/
/*}*/
/*@media screen and (max-width: 640px) {*/
/* .nomobile {*/
/* display: none !important;*/
/* }*/
/*}*/
.home-link__button a {
color: #fff !important;
}
.wikitable-2 {
margin: var(--space-md) 0;
border: 0.5px solid var(--border-color-base);
border-radius: var(--border-radius--medium);
border-spacing: 0;
font-size: var(--font-size-small);
}
img {
image-rendering: pixelated;
}
/* Стили для вкладок */
.tabs-container {
margin: 1em 0;
}
.tabs-nav {
display: flex;
margin-bottom: -1px;
}
.tabs-nav label {
display: block;
padding: 10px 20px;
margin-right: 5px;
cursor: pointer;
background: #8B0000;
color: white;
border: 1px solid #5d3954;
border-radius: 5px 5px 0 0;
transition: all 0.3s ease;
font-weight: bold;
}
.tabs-nav label:hover {
background: #A60000;
}
.tabs-content {
border: 1px solid #5d3954;
padding: 15px;
background: rgba(23, 32, 38, 1);
color: white;
}
.tabs-input {
display: none;
}
.tabs-input:checked + label {
background: #6A0000;
border-bottom: 1px solid rgba(23, 32, 38, 1);
z-index: 2;
}
.tabs-panel {
display: none;
}
.tabs-input:checked ~ .tabs-panel {
display: block;
}
/* Стили для таблиц */
.wikitable {
border: 1px solid #fff;
background: rgba(23, 32, 38, 1);
margin: 1em 0;
}
.wikitable th {
background: #8B0000;
color: white;
padding: 8px;
border: 1px solid #fff;
}
.wikitable td {
padding: 8px;
border: 1px solid #fff;
}