Dantes (обсуждение | вклад) Нет описания правки |
Dantes (обсуждение | вклад) Нет описания правки |
||
| Строка 475: | Строка 475: | ||
} | } | ||
} | } | ||
/* Выше костяк вики*/ | |||
/* Begin Анимации и ключевые кадры */ | |||
@keyframes gradient-animation { | @keyframes gradient-animation { | ||
/* Начальная позиция фона */ | /* Начальная позиция фона */ | ||
0% { | 0% { background-position: 0% 50%; } | ||
50% { background-position: 100% 50%; } | |||
100% { background-position: 0% 50%; } | |||
} | |||
50% { | |||
@keyframes animOpacity { | |||
0% { opacity: 0; } | |||
100% { opacity: 1; } | |||
100% { | |||
} | |||
} | } | ||
/* End Анимации и ключевые кадры */ | |||
/* | |||
/* Begin Заголовок (JobHeader) */ | |||
.job_header .header-title { | .job_header .header-title { | ||
text-align: center; | text-align: center; | ||
padding: 3px 5px; | padding: 3px 5px; | ||
background: linear-gradient(135deg, var(--header-color-start, var(--border-color, #465298)), var(--header-color-end, #27272e)); | background: linear-gradient(135deg, var(--header-color-start, var(--border-color, #465298)), var(--header-color-end, #27272e)); | ||
background-size: 200% 200%; | background-size: 200% 200%; | ||
border-radius: .9em .9em 0 0; | border-radius: .9em .9em 0 0; | ||
font-weight: bold; | font-weight: bold; | ||
color: #fff; | color: #fff; | ||
font-size: 1em; | font-size: 1em; | ||
letter-spacing: 0.5px; | letter-spacing: 0.5px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
cursor: pointer; | cursor: pointer; | ||
user-select: text; | user-select: text; | ||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) | text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); | ||
animation: gradient-animation 5s ease infinite; | |||
animation: gradient-animation 5s ease infinite; | |||
} | } | ||
/* End Заголовок (JobHeader) */ | |||
/* | /* Begin Контейнер для спрайтов (JobHeader) */ | ||
.job_header .sprite-container { | .job_header .sprite-container { | ||
text-align: center; | text-align: center; | ||
padding: 3px 0; | padding: 3px 0; | ||
background: linear-gradient(135deg, var(--sprite-color-start, var(--border-color, #465298)), var(--sprite-color-end, #27272e) | background: linear-gradient(135deg, var(--sprite-color-start, var(--border-color, #465298)), var(--sprite-color-end, #27272e)); | ||
animation: gradient-animation 5s ease infinite; | |||
animation: gradient-animation 5s ease infinite; | |||
} | } | ||
.job_header .sprite-container img { | .job_header .sprite-container img { | ||
width: 128px | width: 128px; | ||
border-radius: .2em; | |||
border-radius: .2em | |||
} | } | ||
/* End Контейнер для спрайтов (JobHeader) */ | |||
/* | |||
/* Begin Общие стили для JobHeader */ | |||
.job_header small { | .job_header small { | ||
display: block; | display: block; | ||
padding: 5px; | padding: 5px; | ||
color: #aaa; | color: #aaa; | ||
font-size: 12px; | font-size: 12px; | ||
line-height: 1.4; | line-height: 1.4; | ||
} | } | ||
.job_header div { | .job_header div { | ||
padding: 3px; | padding: 3px; | ||
border-bottom: 1px solid rgba(255, 255, 255, 0.1); | border-bottom: 1px solid rgba(255, 255, 255, 0.1); | ||
transition: background-color 0.3s ease; | transition: background-color 0.3s ease; | ||
} | } | ||
.job_header div:hover { | .job_header div:hover { | ||
background-color: rgba(255, 255, 255, 0.05); | background-color: rgba(255, 255, 255, 0.05); | ||
} | } | ||
.job_header .label { | .job_header .label { | ||
color: #fff; | color: #fff; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.job_header .value { | .job_header .value { | ||
color: #bbb; | color: #bbb; | ||
} | } | ||
/* End Общие стили для JobHeader */ | |||
/* | /* Begin JobsTable стили */ | ||
#IdJobsTableContainer2 { | |||
margin-top: 112px; | |||
flex-basis: 20%; | |||
padding: 0px 38px; | |||
} | } | ||
.JobsTable { | |||
border: 2px solid black; | |||
border-radius: 10px; | |||
margin-bottom: 5px; | |||
width: auto; | |||
height: fit-content; | |||
background: #28303e; | |||
} | } | ||
.JobsTableHeadImg { | |||
margin-left: 15px; | |||
margin: | margin-right: 5px; | ||
} | } | ||
/* End JobsTable стили */ | |||
/* | /* Begin Таблицы и кнопки */ | ||
.JobsTable .mw-collapsible.mw-collapsed { | |||
display: none; | |||
} | } | ||
.JobsTable .mw-collapsible-toggle { | |||
margin-top: -35px; | |||
} | } | ||
.JobsTable .mw-collapsible-toggle-default:before, | |||
.JobsTable | .JobsTable .mw-collapsible-toggle-default:after { | ||
content: unset; | |||
} | } | ||
.JobsTable .mw-collapsible-text { | |||
. | background: black; | ||
border: 2px solid; | |||
margin-right: 5px; | padding: 2px; | ||
margin-right: 5px; | |||
font-weight: 700; | |||
} | } | ||
. | .JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text { | ||
color: #00ffff9e; | |||
box-shadow: 0 0 10px #00b9b978; | |||
} | } | ||
.JobsTable .mw-collapsible.mw-made-collapsible .mw-collapsible-text { | |||
color: #c21111cc; | |||
. | |||
} | } | ||
/* End Таблицы и кнопки */ | |||
/* | /* Begin Media Queries для адаптивного дизайна */ | ||
@media screen and (max-width: 1440px) { | @media screen and (max-width: 1440px) { | ||
#IdJobsTableContainer2 { | #IdJobsTableContainer2 { | ||
display: none; | display: none; | ||
} | } | ||
#IdJobsTableContainer1 { | #IdJobsTableContainer1 { | ||
display: unset; | display: unset; | ||
} | } | ||
.JobsTableHeadImg { | .JobsTableHeadImg { | ||
margin-left: unset; | margin-left: unset; | ||
} | } | ||
.JobsTableHeadLink { | .JobsTableHeadLink { | ||
margin-right: 55px | margin-right: 55px; | ||
} | } | ||
} | } | ||
@media screen and (min-width: 1440px) { | @media screen and (min-width: 1440px) { | ||
.JobsTable .mw-collapsible.mw-collapsed { | .JobsTable .mw-collapsible.mw-collapsed { | ||
display: none; | display: none; | ||
} | } | ||
.JobsTable div:hover ~ .mw-collapsible.mw-collapsed { | .JobsTable div:hover ~ .mw-collapsible.mw-collapsed { | ||
display: unset; | display: unset; | ||
} | } | ||
.JobsTable .mw-collapsible.mw-collapsed:hover { | .JobsTable .mw-collapsible.mw-collapsed:hover { | ||
display: unset; | display: unset; | ||
} | } | ||
} | } | ||
@media screen and (max-width: 1439px) { | @media screen and (max-width: 1439px) { | ||
.JobsTable div:first-child { | .JobsTable div:first-child { | ||
padding-left: 15px; | padding-left: 15px; | ||
} | } | ||
} | } | ||
/* End Media Queries для адаптивного дизайна */ | |||
/* Кнопка скрытия элементов */ | /* Кнопка скрытия элементов */ | ||
| Строка 1014: | Строка 923: | ||
*/ | */ | ||
/* | /* Таблицы */ | ||
.standard-link th, | .standard-link th, | ||
.standard-link td { | .standard-link td { | ||
vertical-align: middle; | vertical-align: middle; | ||
border: 2px solid black; | border: 2px solid black; | ||
background-color: #212126; | background-color: #212126; | ||
} | } | ||
.standard-link th { | .standard-link th { | ||
border-radius: 15px 0 0 15px; | border-radius: 15px 0 0 15px; | ||
} | } | ||
.standard-link th a { | .standard-link th a { | ||
margin: 7px; | margin: 7px; | ||
} | } | ||
.standard-link td a { | .standard-link td a { | ||
margin: 5px 10px; | margin: 5px 10px; | ||
padding: 17px; | padding: 17px; | ||
} | } | ||
.standard-link a { | .standard-link a { | ||
text-decoration: none; | text-decoration: none; | ||
font: small-caps bold 25px sans-serif; | font: small-caps bold 25px sans-serif; | ||
color: #ffffff; | color: #ffffff; | ||
border: 2px solid black; | border: 2px solid black; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
background-color: #141417; | background-color: #141417; | ||
transition: background-color 1.0s ease, border-color 1.0s ease, color 1.0s ease; | transition: background-color 1.0s ease, border-color 1.0s ease, color 1.0s ease; | ||
} | } | ||
/* | /* Мобильные стили */ | ||
@media screen and (max-width:850px) { | @media screen and (max-width:850px) { | ||
.standard-link a { | .standard-link a { | ||
transition: none; | transition: none; | ||
} | } | ||
.standard-link td { | .standard-link td { | ||
border-radius: 0px 15px 15px 0px; | border-radius: 0px 15px 15px 0px; | ||
} | } | ||
} | } | ||
.standard-link tr:hover a { | .standard-link tr:hover a { | ||
background-color: black; | background-color: black; | ||
color: #fff; | color: #fff; | ||
border-color: #e23229; | border-color: #e23229; | ||
} | } | ||
/* End главное меню | /* End главное меню | ||
| Строка 1419: | Строка 1324: | ||
/* Шаблон | /* Шаблон JobHeader */ | ||
/* CSS для улучшенного шаблона */ | /* CSS для улучшенного шаблона */ | ||
| Строка 1485: | Строка 1390: | ||
} | } | ||
/* Шаблон | /* Шаблон JobHeader */ | ||
Версия от 23:39, 21 октября 2024
/* Ниже костяк вики*/
/* Устанавливает шрифт Arial для всех элементов на странице */
* { font-family: Arial }
/* Устанавливает цвет текста для элемента body */
body {
color: #FAFAFA;
}
/* Задает стили для вкладок: темный фон и светлый текст */
.tabs-label {
background-color: #19191d !important;
color: lightgrey;
}
/* Меняет цвет вкладок, которые были посещены */
.tabber__tab:visited {
color: white;
}
/* Меняет цвет активной вкладки при посещении */
.tabber__tab[aria-selected='true']:visited {
color: #44cbf5;
}
/* Устанавливает пиксельную рендеризацию для изображений */
img {
image-rendering: pixelated; /* Universal support since 2021 */
}
/* Контейнер с flex, выравнивание элементов по началу */
.flex-container {
display: flex;
align-items: flex-start;
}
/* Предотвращает сжатие изображений и добавляет отступ справа */
.flex-image {
flex-shrink: 0;
margin-right: 20px;
}
/* Описание растягивается, заполняя оставшееся пространство */
.flex-image-description {
flex-grow: 1;
}
/* Кнопка с уникальной формой, заданной через clip-path */
.uplinkbuybutton {
background: #464966;
width: 62px;
height: 27px;
color: white;
text-align:center;
font-weight: bolder;
float: right;
padding-top: 4px;
clip-path: polygon(
0px 0px,
0px 18px,
9px 27px,
62px 27px,
62px 10px,
53px 0px
);
}
/* Создание подсказок с задержкой показа */
.tooltip{
position: relative;
display: inline;
}
/* Текст всплывающей подсказки с абсолютным позиционированием */
.tooltiptext {
position: absolute;
display: initial;
z-index: 99999;
width: 295px;
left: -120px;
top: 42px;
padding: 5px;
pointer-events: none;
visibility: hidden;
opacity: 0;
white-space: normal;
text-align: left;
transition: all 0.2s;
border: 1px solid #465298;
background-color: #27272E;
}
/* Отображение текста при наведении */
.tooltip:hover>.tooltiptext {
visibility: visible;
opacity: 0.98;
}
/* Устанавливает текст внутри таблиц с выравниванием по левому краю */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
text-align: left;
}
/* Настройки рамки и фона для таблиц */
.wikitable>tr>th,
.wikitable>tr>td,
.wikitable>*>tr>th,
.wikitable>*>tr>td {
border: 1px solid black;
}
/* Цвет и стиль для заголовков таблиц */
.wikitable>*>tr>th {
background: #27272e;
border: 1px solid black;
color: white;
}
/* Медиазапрос: скрытие элементов с классом mobile на устройствах с шириной экрана более 851px */
@media screen and (min-width:851px) {
.mobile {
display: none;
}
.job_header {
float: right;
width: 25%;
}
}
/* Медиазапрос: скрытие элементов с классом nomobile на устройствах с шириной экрана менее 850px */
@media screen and (max-width:850px) {
.nomobile {
display: none;
}
/* Настройки для всплывающего текста на мобильных устройствах */
.tooltiptext{
box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
position: fixed;
width: 80vw;
top: 40vh;
left: 0;
margin: 0 auto;
right: 0;
}
/* Уменьшение шрифтов и элементов для мобильных устройств */
.mobilefont{
font-size: 80%;
}
.mobile_sprite, .mobile_text{
transform: scale(0.75);
}
}
/* Скрытие основной картинки при наведении, отображение альтернативной */
.hover_img_special {
top: 0;
left: 0;
display: none;
}
.img_special:hover .hover_img_special {
display: inline;
}
.img_special:hover .img_spec {
display: none;
}
/* Пример инфобокса: рамки, цвет фона, выравнивание текста */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
/* Устанавливает вертикальное выравнивание для различных элементов инфобокса */
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
.infobox th,
.infobox td {
vertical-align: top;
}
/* Устанавливает выравнивание текста по левому краю для элементов инфобокса */
.infobox-label,
.infobox-data,
.infobox th,
.infobox td {
text-align: left;
}
/* Устанавливает стиль для заголовков и заголовков таблиц: увеличенный шрифт и жирный текст */
.infobox .infobox-above,
.infobox .infobox-title,
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
/* Отступы для заголовков и заголовков таблиц */
.infobox-title,
.infobox caption {
padding: 0.2em;
}
/* Центрирует текст для определенных элементов инфобокса */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Выравнивание текста для навигационных элементов в инфобоксе */
.infobox .infobox-navbar {
text-align: right;
}
/* Настройки для ячеек с изображениями внутри амбоксов */
.ambox td.mbox-imageright {
padding: 2px 0.5em 2px 0;
}
/* Основные стили для элементов с классом mw-default-size */
.mw-default-size {
background-color: #21212600 !important;
border-color: black !important;
}
/* Цвет рамки для изображений внутри mw-default-size */
.mw-default-size img {
border-color: black !important;
}
/* Цвет фона и рамки для caption внутри mw-default-size */
.mw-default-size figcaption {
background-color: #21212600 !important;
border-color: black !important;
}
/* Основные стили для элементов с классом mw-halign-right */
.mw-halign-right {
background-color: #27272E00 !important;
border-color: black !important;
}
/* Цвет рамки для изображений внутри mw-halign-right */
.mw-halign-right img {
border-color: black !important;
}
/* Цвет фона и рамки для caption внутри mw-halign-right */
.mw-halign-right figcaption {
background-color: #27272E00 !important;
border-color: black !important;
}
/* Основные стили для элементов с классом mw-halign-left */
.mw-halign-left {
background-color: #27272E00 !important;
border-color: black !important;
}
/* Цвет рамки для изображений внутри mw-halign-left */
.mw-halign-left img {
border-color: black !important;
}
/* Цвет фона и рамки для caption внутри mw-halign-left */
.mw-halign-left figcaption {
background-color: #27272E00 !important;
border-color: black !important;
}
/* Основные стили для элементов с классом mw-halign-center */
.mw-halign-center {
background-color: #27272E00 !important;
border-color: black !important;
}
/* Цвет рамки для изображений внутри mw-halign-center */
.mw-halign-center img {
border-color: black !important;
}
/* Цвет фона и рамки для caption внутри mw-halign-center */
.mw-halign-center figcaption {
background-color: #27272E00 !important;
border-color: black !important;
}
/* Настройки для заголовков навигационных ячеек */
th.navbox-group {
white-space: nowrap;
text-align: right;
}
/* Стили для переключателей сворачивания/разворачивания */
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
text-align: right;
padding-right: 0.2em;
padding-left: 0.2em;
}
/* Настройки для ячеек изображений */
td.mbox-image {
border: none;
padding: 2px 0 2px 0.9em;
text-align: center;
}
/* Настройки для ячеек с изображениями справа */
td.mbox-imageright {
border: none;
padding: 2px 0.9em 2px 0;
text-align: center;
}
/* Настройки для контейнера пространств имен */
#p-namespaces {
float: left;
width: 100%;
}
/* Отступы для абзацев */
p {
margin-bottom: 1.5em;
}
/* Настройки для инфобоксов */
.infobox-table {
z-index: 3 !important;
overflow: hidden;
width: 400px;
max-width: 100%;
margin-bottom: 1rem;
padding-bottom: 20px !important;
background: hsl(205,25%,15%);
border-radius: 8px;
border-spacing: 0;
font-size: 0.875rem;
text-align: left;
display: block;
}
/* Настройки для строк таблицы инфобокса */
.infobox-table tr:not(#infobox-table-img-bg) {
display: flex;
margin-top: 10px;
}
/* Отступы для ячеек таблицы инфобокса */
.infobox-table th,
.infobox-table td {
padding: 0 15px !important;
}
/* Жирный шрифт для заголовков и первой ячейки строк таблицы инфобокса */
.infobox-table th,
.infobox-table tr > td:first-child {
font-weight: 600;
}
/* Цвет текста первой ячейки строк таблицы инфобокса */
.infobox-table tr > td:first-child {
color: hsl(205,25%,65%);
font-size: 0.8125rem;
font-weight: normal;
letter-spacing: 0.75px;
}
/* Цвет текста заголовков таблицы инфобокса */
.infobox-table th,
th.infobox-table-name {
color: hsl(205,80%,95%);
}
/* Настройки для заголовков таблицы инфобокса */
.infobox-table th {
padding-top: 15px !important;
border-top: 1px solid;
border-color: rgba(255,255,255,0.05);
font-size: 1rem;
text-align: left !important;
}
/* Настройки для названий таблиц инфобокса */
th.infobox-table-name {
padding-top: 0 !important;
border: 0 !important;
margin-top: 10px;
margin-bottom: 5px;
font-size: 1.4rem !important;
line-height: 1.4;
}
/* Настройки для ячеек с изображениями в инфобоксах */
.infobox-table-img {
background: rgba(255,255,255,0.07000000000000001); /* var(--background-color-quiet--hover) */
}
.infobox-table .infobox-table-img {
padding: 0 !important;
}
/* Настройки для изображений в ячейках инфобоксов */
.infobox-table-img img {
max-width: 100%;
height: auto !important;
}
/* Нейтральный фон для прозрачных SVG */
.infobox-table-img img[ src$='.svg' ] {
background: #eaecf0;
}
/* Настройки для изображений в инфобоксах */
.infobox-table-img a.image {
background: 0 !important;
}
/* Увеличение изображений при наведении */
.infobox-table .image:hover img {
transform: scale(1.1);
}
/* Устанавливает отступы для списков внутри инфобокса */
.infobox-table ul,
.infobox-table ol {
margin-top: 0;
}
/* Кнопка в инфобоксе */
.infobox-button {
display: block;
width: 100%;
}
/* Настройки для контейнера кнопки в инфобоксе */
.infobox-button > div {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
/* Медиазапрос для настройки стилей инфобокса на экранах шириной до 720px */
@media only screen and (max-width: 720px) {
.infobox-table {
margin-right: auto;
margin-left: auto;
}
}
/* Выше костяк вики*/
/* Begin Анимации и ключевые кадры */
@keyframes gradient-animation {
/* Начальная позиция фона */
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes animOpacity {
0% { opacity: 0; }
100% { opacity: 1; }
}
/* End Анимации и ключевые кадры */
/* Begin Заголовок (JobHeader) */
.job_header .header-title {
text-align: center;
padding: 3px 5px;
background: linear-gradient(135deg, var(--header-color-start, var(--border-color, #465298)), var(--header-color-end, #27272e));
background-size: 200% 200%;
border-radius: .9em .9em 0 0;
font-weight: bold;
color: #fff;
font-size: 1em;
letter-spacing: 0.5px;
text-transform: uppercase;
cursor: pointer;
user-select: text;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
animation: gradient-animation 5s ease infinite;
}
/* End Заголовок (JobHeader) */
/* Begin Контейнер для спрайтов (JobHeader) */
.job_header .sprite-container {
text-align: center;
padding: 3px 0;
background: linear-gradient(135deg, var(--sprite-color-start, var(--border-color, #465298)), var(--sprite-color-end, #27272e));
animation: gradient-animation 5s ease infinite;
}
.job_header .sprite-container img {
width: 128px;
border-radius: .2em;
}
/* End Контейнер для спрайтов (JobHeader) */
/* Begin Общие стили для JobHeader */
.job_header small {
display: block;
padding: 5px;
color: #aaa;
font-size: 12px;
line-height: 1.4;
}
.job_header div {
padding: 3px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
transition: background-color 0.3s ease;
}
.job_header div:hover {
background-color: rgba(255, 255, 255, 0.05);
}
.job_header .label {
color: #fff;
font-weight: bold;
}
.job_header .value {
color: #bbb;
}
/* End Общие стили для JobHeader */
/* Begin JobsTable стили */
#IdJobsTableContainer2 {
margin-top: 112px;
flex-basis: 20%;
padding: 0px 38px;
}
.JobsTable {
border: 2px solid black;
border-radius: 10px;
margin-bottom: 5px;
width: auto;
height: fit-content;
background: #28303e;
}
.JobsTableHeadImg {
margin-left: 15px;
margin-right: 5px;
}
/* End JobsTable стили */
/* Begin Таблицы и кнопки */
.JobsTable .mw-collapsible.mw-collapsed {
display: none;
}
.JobsTable .mw-collapsible-toggle {
margin-top: -35px;
}
.JobsTable .mw-collapsible-toggle-default:before,
.JobsTable .mw-collapsible-toggle-default:after {
content: unset;
}
.JobsTable .mw-collapsible-text {
background: black;
border: 2px solid;
padding: 2px;
margin-right: 5px;
font-weight: 700;
}
.JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
color: #00ffff9e;
box-shadow: 0 0 10px #00b9b978;
}
.JobsTable .mw-collapsible.mw-made-collapsible .mw-collapsible-text {
color: #c21111cc;
}
/* End Таблицы и кнопки */
/* Begin Media Queries для адаптивного дизайна */
@media screen and (max-width: 1440px) {
#IdJobsTableContainer2 {
display: none;
}
#IdJobsTableContainer1 {
display: unset;
}
.JobsTableHeadImg {
margin-left: unset;
}
.JobsTableHeadLink {
margin-right: 55px;
}
}
@media screen and (min-width: 1440px) {
.JobsTable .mw-collapsible.mw-collapsed {
display: none;
}
.JobsTable div:hover ~ .mw-collapsible.mw-collapsed {
display: unset;
}
.JobsTable .mw-collapsible.mw-collapsed:hover {
display: unset;
}
}
@media screen and (max-width: 1439px) {
.JobsTable div:first-child {
padding-left: 15px;
}
}
/* End Media Queries для адаптивного дизайна */
/* Кнопка скрытия элементов */
.JobsTable .mw-collapsible-toggle {
/* Устанавливает верхний отступ для кнопки скрытия */
margin-top: -35px;
}
/* Убирает контент с кнопок переключения */
.JobsTable .mw-collapsible-toggle-default:before,
.JobsTable .mw-collapsible-toggle-default:after {
content: unset;
}
/* Стиль для текста, который можно скрыть */
.JobsTable .mw-collapsible-text {
background: black;
border: 2px solid;
padding: 2px;
margin-right: 5px;
font-weight: 700;
}
/* Стиль для скрытого текста, когда он находится в состоянии сворачивания */
.JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
color: #00ffff9e;
box-shadow: 0 0 10px #00b9b978;
}
/* Стиль для раскрытого текста */
.JobsTable .mw-collapsible.mw-made-collapsible .mw-collapsible-text {
color: #c21111cc;
}
/* Кнопки в списке JobsTable */
.JobsTableList li a {
color: white;
font-size: 16px;
background: #232323;
display: block;
border: 2px solid black;
margin-bottom: 5px;
padding: 3px 5px;
transition: background-color 0.8s;
}
.JobsTableList li a:hover {
background: #007383;
transform: scale(1.1);
text-decoration: unset;
}
/* End стиль для JobsTable Shegare */
/* Begin Заголовки стиль Shegare */
/* Стили для заголовков секций */
.citizen-sections-enabled .citizen-section-heading .mw-headline {
border-bottom: 2px solid;
border-image: linear-gradient(to right top, #006a79, #272727);
border-image-slice: 1;
}
/* Убирает рамку, если заголовок пустой */
.citizen-sections-enabled .citizen-section-heading .mw-headline:empty {
border: unset;
}
/* Убирает рамку для свернутых заголовков секций */
.citizen-sections-enabled .citizen-section-heading--collapsed .mw-headline {
border: unset;
}
/* Устанавливает непрозрачность для иконки, связанной со сворачиванием */
.mw-ui-icon-wikimedia-collapse:before {
opacity: unset;
}
/* Стили для индикатора секции */
.citizen-sections-enabled .citizen-section-indicator {
width: 25px;
height: 25px;
position: absolute;
padding: 3px;
background: rgb(0 235 255 / 60%);
box-shadow: 0 0 20px 0px rgb(0 235 255 / 20%);
border: 1px solid #000000;
border-radius: 50%;
transition: 0.3s;
margin-left: -30px;
margin-right: 5px;
}
@media screen and (max-width: 1119px) {
/* Убирает отрицательный левый отступ */
.citizen-sections-enabled .citizen-section-indicator {
margin-left: 0px;
width: 21px;
height: 21px;
}
/* Устанавливает отступ для заголовка */
.citizen-sections-enabled .citizen-section-heading .mw-headline {
padding-left: 25px;
}
}
/* Стили для свернутого индикатора секции */
.citizen-sections-enabled .citizen-section-heading--collapsed .citizen-section-indicator {
background: #000000;
opacity: 50%;
box-shadow: unset;
transition: 0.3s;
}
/* Устанавливает отступы для абзацев в сворачиваемых секциях */
.citizen-section-collapsible p {
margin-bottom: 1.5em;
margin-top: 0px;
}
/* Убирает рамку для заголовков, содержащих класс header_unborder */
.citizen-sections-enabled .citizen-section-heading .mw-headline:has(.header_unborder) {
border: unset;
}
/* End Заголовки стиль
Shegare */
/* Begin Лого стили
Shegare */
/* Начальный размер блока лого */
.citizen-header__logo {
height: 89px; /* Высота логотипа */
}
/* Анимация появления второго логотипа */
.logo2 img {
opacity: 0; /* Начальная непрозрачность */
animation: animOpacity 0.5s forwards; /* Анимация появления */
}
/* Ключевые кадры для анимации появления логотипа */
@keyframes animOpacity {
0% {opacity: 0;} /* Начальная непрозрачность */
100% {opacity: 1;} /* Конечная непрозрачность */
}
/* Обводка вокруг логотипов при наведении */
.logo1:hover, .logo2:hover {
background: #ffffff26; /* Полупрозрачный фон при наведении */
border-radius: 15px; /* Закругленные углы */
}
/* Логотип на экранах меньше 1120px */
@media screen and (max-width: 1119px) {
.citizen-header__logo {
display: flex; /* Отображение как flex-контейнер */
height: auto; /* Автоматическая высота */
width: 89px; /* Ширина логотипа */
}
.logo1 {
margin-right: 3px; /* Правый отступ */
}
}
@media screen and (min-width: 1120px) {
.logo1 {
margin-bottom: 3px; /* Нижний отступ */
}
}
/* End Лого стили
Shegare */
/* Begin элементы таблицы "|" не подсвечиваются при наведении
Shegare */
/* Убирает подсветку для элементов таблицы в темной теме */
:root.skin-citizen-dark {
--background-color-quiet--hover: unset; /* Отменяет эффект подсветки */
}
/* End элементы таблицы "|" не подсвечиваются при наведении
Shegare */
/* Begin header не скрывается
Shegare */
/* Убирает скрытие заголовка при прокрутке вниз на экранах меньше 1119px */
@media screen and (max-width: 1119px) {
.citizen-scroll--down .citizen-header {
transform: unset; /* Отменяет трансформацию */
}
}
/* End header не скрывается
Shegare */
/* Begin фикс JobGear
Shegare */
/* Убирает пунктир у всплывающих подсказок */
.job_gear .tooltip span {
border-bottom: unset !important; /* Отменяет рамку */
}
/* Стили для оберток с классом job_gear */
.citizen-table-wrapper:has(.job_gear) {
overflow-x: unset; /* Убирает горизонтальную прокрутку */
}
.citizen-overflow--right:has(.job_gear) {
-webkit-mask-image: unset; /* Убирает маску для правого переполнения */
mask-image: unset; /* Убирает маску для правого переполнения */
}
/* Изменения для экранов шириной до 850px */
@media screen and (max-width: 850px) {
.job_gear img {
width: 48px; /* Устанавливает ширину изображений */
height: 48px; /* Устанавливает высоту изображений */
}
.job_gear {
font-size: 12px; /* Устанавливает размер шрифта */
}
}
/* Изменения для экранов шириной до 760px */
@media screen and (max-width: 760px) {
.citizen-table-wrapper {
overflow: auto; /* Устанавливает автоматическую прокрутку */
}
.citizen-overflow--left.citizen-overflow--right {
-webkit-mask-image: unset; /* Убирает маску для левого и правого переполнения */
mask-image: unset; /* Убирает маску для левого и правого переполнения */
}
.citizen-overflow--left {
-webkit-mask-image: unset; /* Убирает маску для левого переполнения */
mask-image: unset; /* Убирает маску для левого переполнения */
}
.citizen-overflow--right {
-webkit-mask-image: unset; /* Убирает маску для правого переполнения */
mask-image: unset; /* Убирает маску для правого переполнения */
}
}
/* End фикс JobGear
Shegare */
/* Begin Отмена пикселизации
Shegare */
/* Убирает пикселизацию для изображений логотипов */
.citizen-header__logo img, .logo img {
image-rendering: unset; /* Отменяет эффект пикселизации */
}
.nopixelated img {
image-rendering: unset; /* Убирает пикселизацию для изображений */
}
/* End оформление заголовков
Shegare */
/* Begin главное меню
Данте ( и немного Shegare >w< )
*/
/* Таблицы */
.standard-link th,
.standard-link td {
vertical-align: middle;
border: 2px solid black;
background-color: #212126;
}
.standard-link th {
border-radius: 15px 0 0 15px;
}
.standard-link th a {
margin: 7px;
}
.standard-link td a {
margin: 5px 10px;
padding: 17px;
}
.standard-link a {
text-decoration: none;
font: small-caps bold 25px sans-serif;
color: #ffffff;
border: 2px solid black;
display: flex;
align-items: center;
background-color: #141417;
transition: background-color 1.0s ease, border-color 1.0s ease, color 1.0s ease;
}
/* Мобильные стили */
@media screen and (max-width:850px) {
.standard-link a {
transition: none;
}
.standard-link td {
border-radius: 0px 15px 15px 0px;
}
}
.standard-link tr:hover a {
background-color: black;
color: #fff;
border-color: #e23229;
}
/* End главное меню
Данте ( и немного Shegare >w< )
*/
/* Данте Морпехи */
/* Основные стили для контейнера меню */
.main-container {
display: flex; /* Использует flexbox для выравнивания */
flex-wrap: wrap; /* Разрешает перенос элементов */
justify-content: space-between; /* Распределяет элементы по доступному пространству */
}
/* Общие стили для секций меню */
.menu-section {
flex-basis: 23%; /* Ширина секций */
margin-bottom: 15px; /* Нижний отступ */
padding: 10px; /* Внутренние отступы */
border-radius: 8px; /* Скругление углов */
background-color: #14171f; /* Фон не покрашенных блоков */
color: #fff; /* Цвет текста */
border: 1px solid rgba(255, 255, 255, 0.1); /* Уменьшенная белая обводка для блоков */
}
/* Индивидуальные цвета для секций */
.marines-section {
background-color: #222424; /* Цвет фона для секции Морпехов */
}
.xenos-section {
background-color: #2b2e44; /* Цвет фона для секции Ксеносов */
}
.other-section {
background-color: #341d1d; /* Цвет фона для блока "Другие фракции" */
}
/* Стили для заголовков секций */
.menu-section h3 {
padding: 5px; /* Внутренние отступы */
margin: 0; /* Убирает отступы */
font-size: 18px; /* Размер шрифта */
text-align: center; /* Центрирование текста */
color: #fff; /* Цвет текста */
}
/* Стили для списка */
.menu-section ul {
list-style-type: none; /* Убирает маркеры списка */
padding: 0; /* Убирает внутренние отступы */
margin: 10px 0 0 0; /* Отступы сверху */
}
/* Стили для элементов списка */
.menu-section ul li {
margin: 10px 0; /* Отступы между элементами списка */
text-align: center; /* Центрирование текста в элементах списка */
}
/* Стили для кнопок (ссылок) */
.menu-section ul li a {
display: block; /* Блочное отображение */
width: 100%; /* Ширина 100% */
padding: 10px; /* Внутренние отступы */
border-radius: 8px; /* Скругление углов */
text-align: center; /* Центрирование текста */
background-color: #1a1e29; /* Цвет фона кнопок */
color: white; /* Цвет текста */
font-weight: bold; /* Жирное начертание */
text-decoration: none; /* Убирает подчеркивание у ссылок */
border: 1px solid rgba(255, 255, 255, 0.2); /* Обводка для кнопок */
transition: background-color 0.3s ease, border-color 0.3s ease; /* Плавные переходы */
}
.menu-section ul li a:hover {
background-color: #666; /* Цвет фона при наведении */
border-color: rgba(255, 255, 255, 0.5); /* Обводка при наведении */
}
/* Стили для секции с картами */
.maps-section {
color: white; /* Устанавливаем белый цвет текста для всей секции */
}
.maps-section ul {
display: flex; /* Использует flexbox для отображения карт */
flex-wrap: wrap; /* Разрешает перенос элементов */
gap: 10px; /* Отступы между картами */
padding: 0; /* Убирает внутренние отступы */
margin: 0; /* Убирает внешние отступы */
}
/* Стили для элементов списка в секции карт */
.maps-section ul li {
flex-basis: 48%; /* Уменьшаем до 48% для двух карт в ряд */
list-style: none; /* Убираем маркеры списка */
}
/* Стили для ссылок в секции карт */
.maps-section ul li a {
display: block; /* Блочное отображение */
padding: 10px; /* Внутренние отступы */
background-color: #1a1e29; /* Цвет фона кнопок в секции карт */
color: white !important; /* Устанавливаем белый цвет текста */
border-radius: 8px; /* Скругление углов */
text-align: center; /* Центрирование текста */
text-decoration: none; /* Убирает подчеркивание */
border: 1px solid rgba(255, 255, 255, 0.2); /* Обводка для кнопок */
transition: background-color 0.3s ease, border-color 0.3s ease; /* Плавные переходы */
}
/* Цвет фона при наведении на ссылку в секции карт */
.maps-section ul li a:hover {
background-color: #666;
border-color: rgba(255, 255, 255, 0.5); /* Обводка при наведении */
}
/* Убираем иконку внешней ссылки в блоке карт */
.maps-section ul li a::after {
content: none !important; /* Убираем псевдоэлемент */
}
/* Стили для контейнера заголовка */
.header-container {
display: flex;
align-items: center;
background-color: #1b1e26;
padding: 20px 30px;
border-radius: 8px;
}
/* Стили для логотипа */
.logo img {
border-radius: 50%;
width: 100px;
height: auto;
}
/* Стили для текста заголовка */
.title-text {
margin-left: 30px;
color: #ffffff;
}
.title-text h1 {
margin: 0;
font-size: 32px;
font-weight: bold;
}
.title-text p {
margin: 5px 0 0;
font-size: 18px;
}
/* Стили для разделителя */
.separator {
border-bottom: 2px solid #A9A9A9;
margin: 10px 0 20px;
}
/* Адаптивные стили для мобильных устройств */
@media (max-width: 599px) {
.main-container {
flex-direction: column;
align-items: stretch;
}
.menu-section {
flex-basis: 100%;
margin-bottom: 15px;
display: flex;
flex-direction: column;
align-items: stretch;
}
.menu-section ul {
flex-grow: 1;
justify-content: space-between;
padding: 0;
}
.menu-section ul li {
flex-grow: 1;
width: 100%;
text-align: center;
margin-bottom: 10px; /* Отступы между элементами */
}
.menu-section ul li a {
flex-grow: 1;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
text-align: center;
padding: 10px 0;
}
.maps-section ul {
flex-wrap: wrap;
gap: 10px;
}
.maps-section ul li {
flex-basis: 48%; /* Карты будут располагаться по 2 на ряд */
margin-bottom: 10px; /* Отступы между картами */
}
.header-container {
flex-direction: column;
text-align: center;
padding: 10px;
}
.logo img {
width: 80px;
}
.title-text {
margin-left: 0;
margin-top: 10px;
}
.title-text h1 {
font-size: 24px;
}
.title-text p {
font-size: 16px;
}
}
/* Код оформления для Командование и т.д. Данте! */
/* Контейнер для карточек */
.command-wrapper {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
padding: 20px;
}
/* Основные стили карточек */
.card {
background-color: #2b2b2b; /* Темный фон карточки */
border-radius: 10px;
width: 220px;
height: auto;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
justify-content: flex-start; /* Элементы начинают сверху */
align-items: center;
padding: 8px; /* Уменьшаем padding */
text-align: center;
position: relative;
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 4px solid transparent;
color: #ffffff; /* Белый текст */
overflow: hidden; /* Скрываем все, что выходит за пределы карточки */
}
/* Цветные обводки для разных ролей */
.card.Captain {
border-color: #B0B7C3; /* Серебристый для Капитана */
}
.card.HeadOfSecurity {
border-color: #FF0000; /* Красный для Главы Безопасности */
}
.card.HeadOfPersonnel {
border-color: #00FF00; /* Зеленый для Главы Персонала */
}
.card.Engineer {
border-color: #FFA500; /* Оранжевый для Старшего Инженера */
}
.card.Scientist {
border-color: #800080; /* Фиолетовый для Научного Руководителя */
}
.card.Doctor {
border-color: #127BB7; /* Синий для Главного Врача */
}
.card.Quartermaster {
border-color: #FFD700; /* Золотой для Квартирмейстера */
}
/* Стили для текста и заголовков */
.card .role-name {
font-weight: bold;
font-size: 1.4em;
color: #ffffff; /* Белый текст */
margin-bottom: 3px;
white-space: normal; /* Разрешить перенос слов */
overflow: hidden;
text-overflow: ellipsis;
text-align: center; /* Центрирование текста */
word-wrap: break-word; /* Перенос слов при необходимости */
display: grid;
grid-template-columns: 212px;
grid-template-rows: 75px;
}
.role-name a {
color: #ccc;
}
/* Стили для изображения */
.card img {
max-width: 160px;
max-height: 160px;
margin-bottom: 3px; /* Уменьшаем отступ снизу */
}
/* Стили для описания роли */
.card .role-description {
font-size: 0.9em;
flex-grow: 1;
margin: 3px 0; /* Минимальные отступы сверху и снизу */
color: #dcdcdc; /* Более светлый текст */
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: normal; /* Текст переносится */
}
/* Ссылка на СРП */
.card .role-guide {
font-size: 0.85em;
margin-top: 3px; /* Минимальный отступ сверху */
text-align: center; /* Центрируем текст */
}
.card .role-guide a {
color: #00bfff; /* Цвет ссылки */
text-decoration: none;
}
.card .role-guide a:hover {
text-decoration: underline;
}
/* Hover эффект для карточек */
.card:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
/* Шаблон JobHeader */
/* CSS для улучшенного шаблона */
/* Основной контейнер заголовка вакансии */
.job_header {
border: 3px solid var(--border-color, #465298);
border-radius: .5em;
background-color: #27272e;
margin: 0px 0px 10px 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
overflow: hidden;
}
/* Стили для заголовка вакансии */
.job_header_title {
text-align: center;
padding: 10px;
font-size: 1.2em;
background-color: var(--title-color, #465298);
color: white;
font-weight: bold;
}
/* Контейнер для изображения вакансии */
.job_image {
text-align: center;
padding: 10px;
border-bottom: 1px solid grey;
}
/* Стили для изображения вакансии */
.job_image img {
border-radius: 0.2em;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* Основные детали вакансии */
.job_details {
padding: 10px;
color: #ddd;
margin-bottom: 5px;
}
/* Стили для отдельных деталей вакансии */
.job_details div {
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
margin-bottom: 5px;
padding-bottom: 5px;
}
/* Стили для кнопки сворачивания */
.job_collapsible {
cursor: pointer;
color: lightblue;
text-decoration: underline;
margin-top: 10px;
}
/* Содержимое, которое скрыто по умолчанию */
.job_collapsible_content {
display: none;
padding: 10px;
color: #bbb;
transition: all 0.3s ease;
}
/* Шаблон JobHeader */