Dantes (обсуждение | вклад) Нет описания правки Метка: ручная отмена |
Dantes (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
/* Новый год */ | .planets-table { | ||
width: 100%; | |||
border-collapse: collapse; | |||
margin: 20px auto; | |||
font-family: "Segoe UI", Arial, sans-serif; | |||
background: linear-gradient(to bottom, #1a2a3a, #101820); | |||
border: 2px solid #2ecc71; | |||
color: #dcdcdc; | |||
} | |||
.planets-table th { | |||
background-color: #2ecc71; | |||
color: #101820; | |||
text-align: center; | |||
padding: 15px; | |||
font-size: 22px; | |||
font-weight: bold; | |||
border-bottom: 3px solid #27ae60; | |||
text-transform: uppercase; | |||
} | |||
.planets-table td { | |||
text-align: center; | |||
padding: 15px; | |||
font-size: 18px; | |||
border: 1px solid #27ae60; | |||
} | |||
.planets-table td img { | |||
border-radius: 50%; | |||
margin: 10px 0; | |||
width: 80px; | |||
height: 80px; | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); | |||
} | |||
.planets-table tr:nth-child(even) { | |||
background-color: rgba(255, 255, 255, 0.05); | |||
} | |||
.planets-table tr:nth-child(odd) { | |||
background-color: rgba(255, 255, 255, 0.1); | |||
} | |||
.planets-table tr:hover { | |||
background-color: #34495e; | |||
cursor: pointer; | |||
transform: scale(1.02); | |||
transition: 0.3s; | |||
} | |||
.planets-table caption { | |||
margin: 10px 0; | |||
font-size: 24px; | |||
font-weight: bold; | |||
color: #2ecc71; | |||
text-shadow: 1px 1px 2px #000; | |||
text-transform: uppercase; | |||
} | |||
/*ППППППППП*/ | |||
/*Новый год */ | |||
#snow-toggle { | #snow-toggle { | ||
position: fixed; | position: fixed; | ||
Версия от 10:03, 30 ноября 2024
.planets-table {
width: 100%;
border-collapse: collapse;
margin: 20px auto;
font-family: "Segoe UI", Arial, sans-serif;
background: linear-gradient(to bottom, #1a2a3a, #101820);
border: 2px solid #2ecc71;
color: #dcdcdc;
}
.planets-table th {
background-color: #2ecc71;
color: #101820;
text-align: center;
padding: 15px;
font-size: 22px;
font-weight: bold;
border-bottom: 3px solid #27ae60;
text-transform: uppercase;
}
.planets-table td {
text-align: center;
padding: 15px;
font-size: 18px;
border: 1px solid #27ae60;
}
.planets-table td img {
border-radius: 50%;
margin: 10px 0;
width: 80px;
height: 80px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}
.planets-table tr:nth-child(even) {
background-color: rgba(255, 255, 255, 0.05);
}
.planets-table tr:nth-child(odd) {
background-color: rgba(255, 255, 255, 0.1);
}
.planets-table tr:hover {
background-color: #34495e;
cursor: pointer;
transform: scale(1.02);
transition: 0.3s;
}
.planets-table caption {
margin: 10px 0;
font-size: 24px;
font-weight: bold;
color: #2ecc71;
text-shadow: 1px 1px 2px #000;
text-transform: uppercase;
}
/*ППППППППП*/
/*Новый год */
#snow-toggle {
position: fixed;
top: 200px;
left: 10px;
font-size: 30px;
cursor: pointer;
z-index: 9999;
color: #000;
transition: transform 0.3s ease;
user-select: none; /* Отключаем выделение */
}
#snow-toggle.snow-on {
animation: swing 1s infinite ease-in-out;
}
#snow-toggle.snow-off {
animation: none;
}
.snowflake {
position: fixed;
top: -50px;
font-size: 1.5rem;
color: #fff;
opacity: 0.8;
pointer-events: none;
animation: fall linear infinite;
user-select: none;
}
@keyframes swing {
0%, 100% {
transform: rotate(0deg);
}
50% {
transform: rotate(10deg);
}
}
@keyframes fall {
0% {
transform: translateX(0) rotate(0deg);
}
50% {
transform: translateX(20px) rotate(180deg);
}
100% {
transform: translateX(-20px) rotate(360deg);
top: 100vh;
}
}
/*--------------------------------Блок стилей лора-----------------------------------------------------------------------------------*/
/* ----------------------------------------------------------Планеты------------------------------------------------------------------------*/
.planets-row {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
margin: 20px 0;
}
.planet-card {
width: 220px;
border: 2px solid #555;
border-radius: 15px;
overflow: hidden;
background-color: #333;
color: #fff;
text-align: center;
padding: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.planet-card img {
width: 100%;
height: 180px;
object-fit: cover;
border-bottom: 2px solid #555;
border-radius: 8px;
}
.planet-card h3 {
font-size: 1.3em;
margin: 15px 0 10px;
color: #ffcc00;
text-transform: uppercase;
letter-spacing: 1px;
}
.planet-card p {
font-size: 1em;
color: #ddd;
margin: 0;
line-height: 1.5;
max-height: 100px;
overflow: hidden;
text-overflow: ellipsis;
}
.planet-card:hover {
transform: scale(1.05);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}
.planet-card .more-info {
margin-top: 10px;
padding: 5px;
background-color: #ffcc00;
color: #222;
border-radius: 5px;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
transition: background-color 0.3s ease;
}
.planet-card .more-info:hover {
background-color: #ffaa00;
}
@media (max-width: 768px) {
.planets-row {
justify-content: center;
}
.planet-card {
width: 90%;
max-width: 280px;
}
}
@media (max-width: 480px) {
.planet-card {
width: 100%;
}
}
/* ----------------------------------------------------------Главное меню лора------------------------------------------------------------------------*/
:root {
--transition-duration: 0.4s;
--primary-bg-color: #1e1e1e;
--secondary-bg-color: #292929;
--item-bg-color: #2a2a2a;
--item-hover-bg-color: #3a3a3a;
--border-color: #555;
--text-color: #d3d3d3;
--hover-text-color: #ffffff;
--font-family: 'Arial', sans-serif;
--menu-border-radius: 25px;
--header-padding: 30px;
--item-height: 180px;
--icon-size: 72px;
--text-font-size: 18px;
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-family);
color: var(--text-color);
}
.custom-lore-menu {
max-width: 1200px;
margin: 30px auto;
padding: 40px;
border: 1px solid var(--border-color);
border-radius: var(--menu-border-radius);
background-color: var(--primary-bg-color);
display: grid;
grid-template-columns: 1fr;
gap: 30px;
position: relative;
}
.custom-header {
text-align: center;
background-color: var(--secondary-bg-color);
padding: var(--header-padding);
border-bottom: 2px solid var(--border-color);
}
.custom-links {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 25px;
padding: 25px;
justify-items: center;
align-items: center;
}
.custom-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: var(--item-height);
text-align: center;
border: 1px solid var(--border-color);
border-radius: 15px;
background-color: var(--item-bg-color);
transition: transform var(--transition-duration), background-color var(--transition-duration);
cursor: pointer;
}
.custom-item:hover {
background-color: var(--item-hover-bg-color);
transform: scale(1.05);
}
.custom-item a {
text-decoration: none;
color: var(--text-color);
transition: color var(--transition-duration);
display: block;
width: 100%;
height: 100%;
}
.custom-item a:hover {
color: var(--hover-text-color);
}
.custom-icon {
width: var(--icon-size);
height: var(--icon-size);
margin-bottom: 15px;
}
.custom-text {
font-size: var(--text-font-size);
font-weight: bold;
color: var(--text-color);
transition: color var(--transition-duration);
}
.custom-text:hover {
color: var(--hover-text-color);
}
@media (max-width: 768px) {
.custom-lore-menu {
padding: 20px;
}
.custom-links {
grid-template-columns: 1fr;
}
.custom-item {
height: auto;
}
.custom-text {
font-size: 16px;
}
}
.custom-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: var(--item-height);
text-align: center;
border: 1px solid var(--border-color);
border-radius: 15px;
background-color: var(--item-bg-color);
transition: transform var(--transition-duration), background-color var(--transition-duration);
cursor: pointer;
position: relative;
}
.custom-item a {
text-decoration: none;
color: var(--text-color);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
transition: color var(--transition-duration);
}
.custom-item a:hover {
color: var(--hover-text-color);
}
.custom-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: var(--item-height);
text-align: center;
border: 1px solid var(--border-color);
border-radius: 15px;
background-color: var(--item-bg-color);
transition: transform var(--transition-duration), background-color var(--transition-duration);
cursor: pointer;
position: relative;
}
.custom-item a {
text-decoration: none;
color: var(--text-color);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
transition: color var(--transition-duration);
}
.custom-item a:hover {
color: var(--hover-text-color);
}
.custom-item:hover {
background-color: var(--item-hover-bg-color);
transform: scale(1.05);
}
/* ----------------------------------------------------------Главное меню лора------------------------------------------------------------------------*/
/*------------------------------------------------Блок вики-----------------------------------------------------------------------------*/
/*Таблица способностей пантифика*/
.wikitable_Pontifik {
width: 100%;
background: linear-gradient(to bottom, #3a0000, #5a0000);
color: #e5e5e5;
border-collapse: collapse;
border: 2px solid #660000;
box-shadow: 0 0 35px rgba(100, 0, 0, 0.8);
margin: 20px 0;
padding: 5px;
transition: all 0.5s ease-in-out;
}
.wikitable_Pontifik th {
font-size: 24px;
background: linear-gradient(to bottom, #550000, #8b0000);
color: #ffffff;
text-transform: uppercase;
padding: 15px;
border-bottom: 3px solid #880000;
box-shadow: inset 0 0 20px rgba(136, 0, 0, 0.9);
text-align: center;
border-radius: 8px;
transition: all 0.3s ease-in-out;
}
.wikitable_Pontifik th, .wikitable_Pontifik td {
text-align: center;
font-weight: bold;
text-shadow: 0 0 10px #ff0000;
border: 2px solid #880000;
border-radius: 8px;
padding: 12px;
transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}
.wikitable_Pontifik td {
background-color: #2c0b0b;
color: #f0f0f0;
}
.wikitable_Pontifik td:hover, .wikitable_Pontifik th:hover {
background-color: #660000;
transform: scale(1.05);
}
.wikitable_Pontifik td img {
display: block;
margin: 0 auto;
border-radius: 6px;
}
/*Стиль JobHeader */
/* Стиль JobHeader */
@keyframes gradient-animation {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.job_header {
font-family: Arial, sans-serif;
border: 3px solid var(--border-color, #465298);
border-radius: .5em;
background-color: #27272e;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
overflow: hidden;
margin: 0 0 10px 5px;
}
.job_header .header-title {
text-align: center;
padding: 5px 10px;
margin: 0;
background: linear-gradient(135deg, var(--header-color-start, #465298), var(--header-color-end, #27272e));
background-size: 300% 300%;
color: #fff;
font-weight: bold;
font-size: 1.1em;
letter-spacing: 0.5px;
text-transform: uppercase;
animation: gradient-animation 6s ease infinite;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.job_header .sprite-container {
text-align: center;
padding: 3px 0;
margin: 0;
background: linear-gradient(135deg, var(--sprite-color-start, #465298), var(--sprite-color-end, #27272e));
background-size: 300% 300%;
animation: gradient-animation 6s ease infinite;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}
.job_header .sprite-container img {
width: 128px;
height: auto;
border-radius: .2em;
}
.job_header div {
padding: 3px 10px;
margin: 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: #ddd;
transition: background-color 0.3s ease;
}
.job_header div:last-child {
border-bottom: none;
}
.job_header .label {
font-weight: bold;
color: #ddd;
}
.job_header .value {
color: #bbb;
font-size: 0.95em;
}
/* Скрытые элементы */
.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 */
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/* Begin стиль для tabber
Shegare */
.unheightTabber .tabber__section {
height: unset !important;
}
/* End стиль для tabber
Shegare */
/* Begin стиль ног (footer)
Shegare */
/* Блоки в одну строку */
.page-info__item {
flex-basis: 100%;
}
/* Убираем отступ для ног (footer) */
.citizen-footer {
margin: 0;
}
/* End стиль ног (footer)
Shegare */
/* Begin стиль для JobsTable
Shegare */
/* Стиль для sidebar */
#IdJobsTableContainer2 {
margin-top: 112px;
flex-basis: 20%;
padding: 0px 38px;
}
#IdJobsTableContainer2 > div {
background: #ffffff08;
border-radius: 20px;
padding: 5px 10px;
}
.JobsTable {
border: 2px solid black;
border-radius: 10px;
margin-bottom: 5px;
width: auto;
height: fit-content;
background: #28303e;
}
/* Отступы в шапке JobsTable */
.JobsTableHeadImg {
margin-left: 15px;
margin-right: 5px;
}
.JobsTableHeadLink {
margin-right: auto;
}
/* Видимость на разных экранах */
.client-js td.mw-collapsed:not(.mw-made-collapsible):before, .client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsed:not(.mw-made-collapsible):before,
.client-js ol.mw-collapsible:not(.mw-made-collapsible):before, .client-js ul.mw-collapsible:not(.mw-made-collapsible):before, .client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsible:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsible:not(.mw-made-collapsible):before {
opacity: 0;
}
#IdJobsTableContainer1 {
display: none;
}
@media screen and (max-width: 1440px) {
#IdJobsTableContainer2 {
display: none;
}
#IdJobsTableContainer1 {
display: unset;
}
.JobsTableHeadImg {
margin-left: unset;
}
.JobsTableHeadLink {
margin-right: 55px;
}
.client-js td.mw-collapsed:not(.mw-made-collapsible):before, .client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsed:not(.mw-made-collapsible):before,
.client-js ol.mw-collapsible:not(.mw-made-collapsible):before, .client-js ul.mw-collapsible:not(.mw-made-collapsible):before, .client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsible:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsible:not(.mw-made-collapsible):before {
opacity: 1;
}
}
/* Скрытие контента на широких экранах */
@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;
}
}
/* Кнопка скрытия элементов */
.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;
}
/* Кнопки */
.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;
}
.citizen-sections-enabled .citizen-section-indicator {
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;
}
.citizen-sections-enabled .citizen-section-heading .mw-headline:has(.header_unborder) {
border: unset;
}
/* 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;
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 */
@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;
}
/* Хрен знает что ему не нравится, можете игнорить. Но если будете фиксить не сломайте шаблон JobGear! */
.citizen-table-wrapper:has(.job_gear) {
overflow-x: unset;
}
.citizen-overflow--right:has(.job_gear) {
-webkit-mask-image: unset;
mask-image: unset;
}
@media screen and (max-width:850px) {
.job_gear img {
width: 48px;
height: 48px;
}
.job_gear {
font-size: 12px;
}
}
@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;
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%;
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;
flex-wrap: wrap;
gap: 10px; /* Отступы между картами */
padding: 0;
margin: 0;
}
/* Стили для секции с картами */
.maps-section {
color: white !important; /* Добавление !important */
}
.maps-section ul {
display: flex;
flex-wrap: wrap;
gap: 10px; /* Отступы между картами */
padding: 0;
margin: 0;
}
/* Стили для элементов списка в секции карт */
.maps-section ul li {
flex-basis: 48%; /* Уменьшаем до 48%, чтобы уместить 2 карты в ряд с отступами */
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);
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/
* { font-family: Arial }
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;
}
.flex-container {
display: flex;
align-items: flex-start;
}
.flex-image {
flex-shrink: 0;
margin-right: 20px;
}
.flex-image-description {
flex-grow: 1;
}
.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;
color: white;
}
@media screen and (min-width: 851px) {
.mobile {
display: none;
}
.job_header {
float: right;
width: 25%;
}
}
@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;
}
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
border-color: #fc3;
background-color: #fef6e7;
}
html body.mediawiki .mbox-small {
clear: right;
float: right;
margin: 4px 0 4px 1em;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
.messagebox.small {
width: 238px;
font-size: 85%;
float: right;
margin: 0 0 1em 1em;
line-height: 1.25em;
}
.messagebox.small-talk {
width: 238px;
font-size: 85%;
float: right;
margin: 0 0 1em 1em;
line-height: 1.25em;
background-color: #f8eaba;
}
.infobox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: 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;
}
.mw-default-size {
background-color: #21212600 !important;
border-color: black !important;
}
.mw-default-size img {
border-color: black !important;
}
.mw-default-size figcaption {
background-color: #21212600 !important;
border-color: black !important;
}
.mw-halign-right {
background-color: #27272E00 !important;
border-color: black !important;
}
.mw-halign-right img {
border-color: black !important;
}
.mw-halign-right figcaption {
background-color: #27272E00 !important;
border-color: black !important;
}
.mw-halign-left {
background-color: #27272E00 !important;
border-color: black !important;
}
.mw-halign-left img {
border-color: black !important;
}
.mw-halign-left figcaption {
background-color: #27272E00 !important;
border-color: black !important;
}
.mw-halign-center {
background-color: #27272E00 !important;
border-color: black !important;
}
.mw-halign-center img {
border-color: black !important;
}
.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;
}
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;
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;
}
.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,
th.infobox-table-name {
color: hsl(205, 80%, 95%);
}
.infobox-table th {
padding-top: 15px !important;
border-top: 1px solid 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 img {
max-width: 100%;
height: auto !important;
}
.infobox-table-img img[src$='.svg'] {
background: #eaecf0;
}
.infobox-table .image:hover img {
transform: scale(1.1);
}
.infobox-button {
display: block;
width: 100%;
}
.infobox-button > div {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
@media only screen and (max-width: 720px) {
.infobox-table {
margin-right: auto;
margin-left: auto;
}
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/