MediaWiki:Common.css: различия между версиями

(Временная обновлённая палитра, пока не доделаю скин)
мНет описания правки
 
(не показаны 62 промежуточные версии этого же участника)
Строка 1: Строка 1:
.pageframe-container {
.pageframe-container {
   backdrop-filter: var(--blur-intensity);
   backdrop-filter: var(--blur-default);
}
}


:root {
/* Убираем перетаскивание картинок и ссылок */
  /* Gray. Default */
a {
  --gray-opaque: rgba(127, 127, 127, 1);
   -webkit-user-drag: none;
  --gray-primary: rgba(127, 127, 127, 0.75);
  --gray-secondary: rgba(127, 127, 127, 0.5);
  --gray-light: rgba(127, 127, 127, 0.25);
  --gray-transparent: rgba(127, 127, 127, 0.1);
  --grey-opaque: var(--gray-opaque);
  --grey-primary: var(--gray-primary);
  --grey-secondary: var(--gray-secondary);
  --grey-light: var(--gray-light);
  --grey-transparent: var(--gray-transparent);
  /* Black */
  --black-opaque: rgba(0, 0, 0, 1);
  --black-primary: rgba(50, 50, 50, 0.75);
  --black-secondary: rgba(50, 50, 50, 0.5);
  --black-light: rgba(50, 50, 50, 0.25);
  --black-transparent: rgba(50, 50, 50, 0.1);
  /* Cyan */
  --cyan-opaque: rgba(0, 191, 143, 1);
  --cyan-primary: rgba(0, 191, 143, 0.75);
  --cyan-secondary: rgba(0, 191, 143, 0.5);
  --cyan-light: rgba(0, 191, 143, 0.25);
  --cyan-transparent: rgba(0, 191, 143, 0.1);
  /* Aqua blue */
  --blue-opaque: rgba(27, 179, 179, 1);
  --blue-primary: rgba(27, 179, 179, 0.75);
  --blue-secondary: rgba(27, 179, 179, 0.5);
  --blue-light: rgba(27, 179, 179, 0.25);
  --blue-transparent: rgba(27, 179, 179, 0.1);
  /* Brown */
  --brown-opaque: rgba(166, 107, 25, 1);
  --brown-primary: rgba(166, 107, 25, 0.75);
  --brown-secondary: rgba(166, 107, 25, 0.5);
  --brown-light: rgba(166, 107, 25, 0.25);
  --brown-transparent: rgba(166, 107, 25, 0.1);
  /* Green */
  --green-opaque: rgba(53, 140, 35, 1);
  --green-primary: rgba(53, 140, 35, 0.75);
  --green-secondary: rgba(53, 140, 35, 0.5);
  --green-light: rgba(53, 140, 35, 0.25);
  --green-transparent: rgba(53, 140, 35, 0.1);
  /* Yellow */
  --yellow-opaque: rgba(191, 175, 0, 1);
  --yellow-primary: rgba(191, 175, 0, 0.75);
  --yellow-secondary: rgba(191, 175, 0, 0.5);
  --yellow-light: rgba(191, 175, 0, 0.25);
  --yellow-transparent: rgba(191, 175, 0, 0.1);
  /* Light red */
  --red-opaque: rgba(205, 51, 51, 1);
  --red-primary: rgba(205, 51, 51, 0.75);
  --red-secondary: rgba(205, 51, 51, 0.5);
  --red-light: rgba(205, 51, 51, 0.25);
  --red-transparent: rgba(205, 51, 51, 0.1);
  /* Pink */
  --pink-opaque: rgba(179, 36, 179, 1);
  --pink-primary: rgba(179, 36, 179, 0.75);
  --pink-secondary: rgba(179, 36, 179, 0.5);
  --pink-light: rgba(179, 36, 179, 0.25);
  --pink-transparent: rgba(179, 36, 179, 0.1);
  /* Light green */
  --civilian-opaque: rgba(27, 179, 77, 1);
  --civilian-primary: rgba(27, 179, 77, 0.75);
  --civilian-secondary: rgba(27, 179, 77, 0.5);
  --civilian-light: rgba(27, 179, 77, 0.25);
  --civilian-transparent: rgba(27, 179, 77, 0.1);
  /* Blue */
  --medical-opaque: rgba(29, 151, 191, 1);
  --medical-primary: rgba(29, 151, 191, 0.75);
  --medical-secondary: rgba(29, 151, 191, 0.5);
  --medical-light: rgba(29, 151, 191, 0.25);
  --medical-transparent: rgba(29, 151, 191, 0.1);
  /* Light brown */
  --supply-opaque: rgba(166, 124, 66, 1);
  --supply-primary: rgba(166, 124, 66, 0.75);
  --supply-secondary: rgba(166, 124, 66, 0.5);
  --supply-light: rgba(166, 124, 66, 0.25);
  --supply-transparent: rgba(166, 124, 66, 0.1);
  /* Purple */
  --science-opaque: rgba(128, 0, 191, 1);
  --science-primary: rgba(128, 0, 191, 0.75);
  --science-secondary: rgba(128, 0, 191, 0.5);
  --science-light: rgba(128, 0, 191, 0.25);
  --science-transparent: rgba(128, 0, 191, 0.1);
  /* Orange */
  --engineer-opaque: rgba(191, 128, 0, 1);
  --engineer-primary: rgba(191, 128, 0, 0.75);
  --engineer-secondary: rgba(191, 128, 0, 0.5);
  --engineer-light: rgba(191, 128, 0, 0.25);
  --engineer-transparent: rgba(191, 128, 0, 0.1);
  /* Red */
  --security-opaque: rgba(191, 0, 0, 1);
  --security-primary: rgba(191, 0, 0, 0.75);
  --security-secondary: rgba(191, 0, 0, 0.5);
  --security-light: rgba(191, 0, 0, 0.25);
  --security-transparent: rgba(191, 0, 0, 0.1);
  /* Dark red */
  --antag-opaque: rgba(128, 13, 13, 1);
  --antag-primary: rgba(128, 13, 13, 0.75);
  --antag-secondary: rgba(128, 13, 13, 0.5);
  --antag-light: rgba(128, 13, 13, 0.25);
  --antag-transparent: rgba(128, 13, 13, 0.1);
  /* Magenta Pink */
  --legal-opaque: rgba(191, 19, 120, 1);
  --legal-primary: rgba(191, 19, 120, 0.75);
  --legal-secondary: rgba(191, 19, 120, 0.5);
  --legal-light: rgba(191, 19, 120, 0.25);
  --legal-transparent: rgba(191, 19, 120, 0.1);
  /* Blue Ribbon */
  --command-opaque: rgba(10, 85, 191, 1);
  --command-primary: rgba(10, 85, 191, 0.75);
  --command-secondary: rgba(10, 85, 191, 0.5);
  --command-light: rgba(10, 85, 191, 0.25);
  --command-transparent: rgba(10, 85, 191, 0.1);
  /* Blue Azure */
  --synthetic-opaque: rgba(70, 105, 140, 1);
  --synthetic-primary: rgba(70, 105, 140, 0.75);
  --synthetic-secondary: rgba(70, 105, 140, 0.5);
  --synthetic-light: rgba(70, 105, 140, 0.25);
  --synthetic-transparent: rgba(70, 105, 140, 0.1);
  /* Dark Purple */
  --special-opaque: rgba(91, 19, 191, 1);
  --special-primary: rgba(91, 19, 191, 0.75);
  --special-secondary: rgba(91, 19, 191, 0.5);
  --special-light: rgba(91, 19, 191, 0.25);
  --special-transparent: rgba(91, 19, 191, 0.1);
  /* Dark Blue */
  --centcom-opaque: rgba(0, 64, 128, 1);
  --centcom-primary: rgba(0, 64, 128, 0.75);
  --centcom-secondary: rgba(0, 64, 128, 0.5);
  --centcom-light: rgba(0, 64, 128, 0.25);
  --centcom-transparent: rgba(0, 64, 128, 0.1);
  /* Lava orange */
  --lavaland-opaque: rgba(201, 72, 29, 1);
  --lavaland-primary: rgba(201, 72, 29, 0.75);
  --lavaland-secondary: rgba(201, 72, 29, 0.5);
  --lavaland-light: rgba(201, 72, 29, 0.25);
  --lavaland-transparent: rgba(201, 72, 29, 0.1);
  /* Black red */
  --cult-opaque: rgba(77, 51, 51, 1);
  --cult-primary: rgba(77, 51, 51, 0.75);
  --cult-secondary: rgba(65, 35, 35, 0.5);
  --cult-light: rgba(65, 35, 35, 0.25);
  --cult-transparent: rgba(65, 35, 35, 0.1);
  /* Dark orange */
  --ratvar-opaque: rgba(102, 75, 20, 1);
  --ratvar-primary: rgba(102, 75, 20, 0.75);
  --ratvar-secondary: rgba(102, 75, 20, 0.5);
  --ratvar-light: rgba(102, 75, 20, 0.25);
  --ratvar-transparent: rgba(102, 75, 20, 0.1);
  /* Magic purple */
  --wizard-opaque: rgba(102, 51, 204, 1);
  --wizard-primary: rgba(102, 51, 204, 0.75);
  --wizard-secondary: rgba(102, 51, 204, 0.5);
  --wizard-light: rgba(102, 51, 204, 0.25);
   --wizard-transparent: rgba(102, 51, 204, 0.1);
}
}


.tgui-light:root {
img {
   /* Gray. Default */
  user-select: none;
   --gray-opaque: rgba(127, 127, 127, 1);
   -webkit-user-drag: none;
  --gray-primary: rgba(127, 127, 127, 0.75);
}
   --gray-secondary: rgba(127, 127, 127, 0.5);
 
   --gray-light: rgba(127, 127, 127, 0.25);
/* Disable blur */
   --gray-transparent: rgba(127, 127, 127, 0.1);
.blurless {
   --grey-opaque: var(--gray-opaque);
   backdrop-filter: blur(0) !important;
   --grey-primary: var(--gray-primary);
}
   --grey-secondary: var(--gray-secondary);
 
  --grey-light: var(--gray-light);
/* Fill */
   --grey-transparent: var(--gray-transparent);
.fill {
   /* Black */
   position: absolute;
   --black-opaque: rgba(0, 0, 0, 1);
   top: 0;
   --black-primary: rgba(0, 0, 0, 0.75);
   bottom: 0;
   --black-secondary: rgba(0, 0, 0, 0.5);
   left: 0;
   --black-light: rgba(0, 0, 0, 0.25);
   right: 0;
   --black-transparent: rgba(0, 0, 0, 0.1);
   z-index: var(--index-low);
  /* Cyan */
}
   --cyan-opaque: rgba(108, 217, 190, 1);
 
   --cyan-primary: rgba(108, 217, 190, 0.75);
/**
   --cyan-secondary: rgba(108, 217, 190, 0.5);
* MARK: MainPage/Splash
   --cyan-light: rgba(108, 217, 190, 0.25);
*/
   --cyan-transparent: rgba(108, 217, 190, 0.1);
.tg-logo {
   /* Aqua blue */
  display: flex;
  --blue-opaque: rgba(22, 218, 218, 1);
  flex-direction: column;
   --blue-primary: rgba(108, 217, 217, 0.75);
   align-items: center;
   --blue-secondary: rgba(108, 217, 217, 0.5);
   max-width: 900px;
   --blue-light: rgba(108, 217, 217, 0.25);
   padding: 2em 1.5em 0;
   --blue-transparent: rgba(108, 217, 217, 0.1);
   background-color: var(--color-bg-section-light);
   /* Brown */
   border: var(--border-classic);
  --brown-opaque: rgba(166, 107, 25, 1);
   border-radius: var(--border-radius-large);
   --brown-primary: rgba(166, 107, 25, 0.75);
   backdrop-filter: var(--blur-default);
   --brown-secondary: rgba(166, 107, 25, 0.5);
}
  --brown-light: rgba(166, 107, 25, 0.25);
 
   --brown-transparent: rgba(166, 107, 25, 0.1);
.tg-logo a img {
   /* Green */
  width: 100%;
  --green-opaque: rgba(117, 217, 98, 1);
   height: auto;
   --green-primary: rgba(117, 217, 98, 0.75);
}
   --green-secondary: rgba(117, 217, 98, 0.5);
 
   --green-light: rgba(117, 217, 98, 0.25);
.tg-welcome {
   --green-transparent: rgba(117, 217, 98, 0.1);
  display: inline-flex;
  /* Yellow */
  text-align: center;
  --yellow-opaque: rgba(242, 229, 85, 1);
   font-weight: bold;
   --yellow-primary: rgba(255, 242, 103, 0.75);
  padding: 0 1em;
   --yellow-secondary: rgba(255, 248, 166, 0.5);
   margin: 1em 0.5em 0.5em 0.5em;
   --yellow-light: rgba(255, 248, 166, 0.25);
   background-color: var(--color-primary);
   --yellow-transparent: rgba(255, 248, 166, 0.1);
   color: var(--color-white);
   /* Light red */
   border-radius: var(--border-radius-large);
  --red-opaque: rgba(242, 97, 97, 1);
}
  --red-primary: rgba(242, 97, 97, 0.75);
 
  --red-secondary: rgba(242, 97, 97, 0.5);
.tg-info {
   --red-light: rgba(242, 97, 97, 0.25);
  display: flex;
   --red-transparent: rgba(242, 97, 97, 0.1);
   flex-direction: column;
  /* Pink */
  align-items: center;
  --pink-opaque: rgba(255, 128, 255, 1);
   text-align: center;
   --pink-primary: rgba(255, 128, 255, 0.75);
}
   --pink-secondary: rgba(255, 128, 255, 0.5);
 
   --pink-light: rgba(255, 128, 255, 0.25);
.tg-info-string {
   --pink-transparent: rgba(255, 128, 255, 0.1);
  overflow: hidden;
   /* Light green */
  display: flex;
  --civilian-opaque: rgba(67, 191, 108, 1);
   max-width: 90%;
   --civilian-primary: rgba(67, 191, 108, 0.75);
  margin-bottom: 0.25em;
  --civilian-secondary: rgba(67, 191, 108, 0.5);
   background-color: var(--color-bg-section-light);
   --civilian-light: rgba(67, 191, 108, 0.25);
   border: var(--border-classic);
   --civilian-transparent: rgba(67, 191, 108, 0.1);
   border-top: 0;
  /* Blue */
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  --medical-opaque: rgba(65, 179, 217, 1);
  box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.2);
   --medical-primary: rgba(65, 179, 217, 0.75);
   backdrop-filter: var(--blur-default);
   --medical-secondary: rgba(65, 179, 217, 0.5);
}
   --medical-light: rgba(65, 179, 217, 0.25);
 
  --medical-transparent: rgba(65, 179, 217, 0.1);
.tg-info-string span:not([class]) {
   /* Light brown */
  padding: 0.5em 0.75em;
   --supply-opaque: rgba(191, 143, 77, 1);
   border-right: var(--border-classic);
   --supply-primary: rgba(191, 143, 77, 0.75);
   border-left: var(--border-classic);
   --supply-secondary: rgba(191, 143, 77, 0.5);
 
   --supply-light: rgba(191, 143, 77, 0.25);
   @media (max-width: 719px) {
   --supply-transparent: rgba(191, 143, 77, 0.1);
    display: none;
   /* Purple */
   }
  --science-opaque: rgba(187, 98, 217, 1);
}
   --science-primary: rgba(187, 98, 217, 0.75);
 
  --science-secondary: rgba(187, 98, 217, 0.5);
.tg-info-string .tg-info-link {
   --science-light: rgba(187, 98, 217, 0.25);
  min-width: 3em;
  --science-transparent: rgba(187, 98, 217, 0.1);
 
  /* Orange */
   @media (max-width: 719px) {
   --engineer-opaque: rgba(230, 157, 11, 1);
    min-width: 10em;
   --engineer-primary: rgba(230, 157, 11, 0.75);
    height: 2.5em;
  --engineer-secondary: rgba(230, 157, 11, 0.5);
   }
   --engineer-light: rgba(230, 157, 11, 0.25);
}
   --engineer-transparent: rgba(230, 157, 11, 0.1);
 
   /* Red */
.tg-info-string .tg-info-link:first-of-type {
  --security-opaque: rgba(217, 65, 65, 1);
  @media (max-width: 719px) {
  --security-primary: rgba(230, 23, 23, 0.75);
    border-right: var(--border-classic);
  --security-secondary: rgba(255, 0, 0, 0.5);
   }
   --security-light: rgba(255, 0, 0, 0.25);
}
   --security-transparent: rgba(255, 0, 0, 0.1);
 
   /* Dark red */
.tg-info-string .tg-info-link a {
   --antag-opaque: rgba(191, 77, 77, 1);
  display: inline-flex;
   --antag-primary: rgba(191, 77, 77, 0.75);
   align-items: center;
   --antag-secondary: rgba(191, 77, 77, 0.5);
   justify-content: center;
   --antag-light: rgba(191, 77, 77, 0.25);
  width: 100%;
   --antag-transparent: rgba(191, 77, 77, 0.1);
  height: 100%;
  /* Magenta Pink */
   color: var(--color-text-semi-translucent) !important;
   --legal-opaque: rgba(230, 80, 167, 1);
   transition: color var(--transition-time), background-color var(--transition-time);
   --legal-primary: rgba(230, 80, 167, 0.75);
}
   --legal-secondary: rgba(230, 80, 167, 0.5);
 
   --legal-light: rgba(230, 80, 167, 0.25);
.tg-info-string .tg-info-link a:hover {
   --legal-transparent: rgba(230, 80, 167, 0.1);
   background-color: var(--color-bg-hover);
   /* Blue Ribbon */
   color: var(--color-text) !important;
  --command-opaque: rgba(61, 136, 242, 1);
}
   --command-primary: rgba(64, 143, 255, 0.75);
 
  --command-secondary: rgba(64, 143, 255, 0.5);
.tg-info-string .tg-info-link a:after {
  --command-light: rgba(64, 143, 255, 0.25);
  content: "";
   --command-transparent: rgba(64, 143, 255, 0.1);
   font: unset;
   /* Blue Azure */
 
  --synthetic-opaque: rgba(112, 160, 204, 1);
   @media (min-width: 720px) {
  --synthetic-primary: rgba(112, 160, 204, 0.75);
    display: none;
   --synthetic-secondary: rgba(112, 160, 204, 0.5);
   }
   --synthetic-light: rgba(112, 160, 204, 0.25);
}
   --synthetic-transparent: rgba(112, 160, 204, 0.1);
 
   /* Dark Purple */
.tg-info-string .tg-info-link:first-of-type a:after {
  --special-opaque: rgba(147, 98, 217, 1);
  @media (max-width: 719px) {
   --special-primary: rgba(147, 98, 217, 0.75);
    content: "Discord";
   --special-secondary: rgba(147, 98, 217, 0.5);
    margin-left: 1em;
   --special-light: rgba(147, 98, 217, 0.25);
   }
   --special-transparent: rgba(147, 98, 217, 0.1);
}
  /* Dark Blue */
 
   --centcom-opaque: rgba(48, 120, 191, 1);
.tg-info-string .tg-info-link:last-of-type a:before {
   --centcom-primary: rgba(48, 120, 191, 0.75);
  @media (max-width: 719px) {
   --centcom-secondary: rgba(48, 120, 191, 0.5);
    content: "GitHub";
   --centcom-light: rgba(48, 120, 191, 0.25);
    margin-right: 1em;
   --centcom-transparent: rgba(48, 120, 191, 0.1);
   }
   /* Lava orange */
}
  --lavaland-opaque: rgba(242, 79, 24, 1);
 
   --lavaland-primary: rgba(242, 79, 24, 0.75);
.tg-info-string .tg-info-link a i {
   --lavaland-secondary: rgba(242, 79, 24, 0.5);
   font-size: 1.25em;
  --lavaland-light: rgba(242, 79, 24, 0.25);
}
  --lavaland-transparent: rgba(242, 79, 24, 0.1);
 
   /* Black red */
/* Контент главной страницы */
   --cult-opaque: rgba(77, 51, 51, 1);
.wiki-mainpage {
   --cult-primary: rgba(77, 51, 51, 0.75);
  display: flex;
   --cult-secondary: rgba(65, 35, 35, 0.5);
   flex-wrap: wrap;
  --cult-light: rgba(65, 35, 35, 0.25);
   gap: 0.75em;
   --cult-transparent: rgba(65, 35, 35, 0.1);
}
   /* Dark orange */
 
  --ratvar-opaque: rgba(102, 75, 20, 1);
.wiki-mainpage-column {
   --ratvar-primary: rgba(102, 75, 20, 0.75);
  display: flex;
  --ratvar-secondary: rgba(102, 75, 20, 0.5);
   flex-direction: column;
  --ratvar-light: rgba(102, 75, 20, 0.25);
   flex: 1;
   --ratvar-transparent: rgba(102, 75, 20, 0.1);
   gap: 0.75em;
   /* Magic purple */
}
  --wizard-opaque: rgba(102, 25, 255, 1);
 
   --wizard-primary: rgba(102, 25, 255, 0.75);
/* Вкладки департаментов для NavBar */
   --wizard-secondary: rgba(102, 25, 255, 0.5);
.department-tabs {
   --wizard-light: rgba(102, 25, 255, 0.25);
  display: flex;
   --wizard-transparent: rgba(102, 25, 255, 0.1);
   flex-wrap: wrap;
   flex-grow: 1;
   overflow: auto;
}
 
.department-tabs-tab {
  position: relative;
   display: inline-flex;
  flex-grow: 1;
   flex-basis: 5%;
}
 
.department-tabs-tab a {
  padding: 0.4em 1em;
   flex-grow: 1;
   text-align: center;
  font-weight: bold;
   transition-property: background-color, color;
}
 
.department-tabs-tab a,
.department-tabs-tab a:active, {
   color: var(--color-text-gray);
}
 
.department-tabs-tab a:hover,
.department-tabs-tab a:active:hover, {
   background-color: var(--color-bg-hover);
   color: var(--color-text-darker);
}
 
.department-tabs-tab a.mw-selflink {
  background-color: var(--color-bg-focus) !important;
   color: var(--color-text) !important;
   box-shadow: var(--shadow-template--medium);
   z-index: var(--index-fore);
}
 
/* Кнопки для NavBar */
.navbar-button a {
  display: flex;
   width: 100%;
   height: 100%;
   justify-content: center;
   align-items: center;
   font-weight: bold;
   color: var(--color-text-darker) !important;
   transition-property: background-color, color;
}
 
.navbar-button a:hover {
   background-color: var(--color-bg-hover);
}
 
/* Кнопки на главной странице */
.pagebutton-container {
   user-select: none;
   display: inline-flex;
   flex-direction: column;
   overflow: hidden;
  position: relative;
  margin: 0.25em;
   outline: 1px outset var(--color-border);
   border-radius: var(--border-radius-small);
   transition: box-shadow var(--transition-time), transform var(--transition-time);
}
 
.pagebutton-container:hover {
   box-shadow: 0 0.25em 0.5em 0;
  transform: translateY(-0.3em);
   z-index: 1;
}
 
.pagebutton-container:hover:focus-within {
  box-shadow: 0 0.25em 0.5em 0, inset 0 0 0.5em;
}
 
.pagebutton-text a {
   display: flex;
  align-items: center;
   justify-content: center;
  font-weight: bold;
  min-height: 21px;
   background-color: var(--color-bg-focus);
   color: var(--color-white) !important;
   border-top: var(--border-classic);
   -webkit-user-drag: none;
}
 
.pagebutton-image a img {
  display: flex;
   margin: 0 auto;
   padding: 0.5em;
}
 
/* Стилизованные ссылки */
.custom-link a {
   display: inline-block;
  margin: 0.25em;
   padding: 0em 0.5em;
   vertical-align: middle;
   background-color: var(--color-primary);
   color: var(--color-white) !important;
   border-radius: var(--border-radius-small);
   transition: background-color var(--transition-time);
}
 
.custom-link a:hover {
   background-color: var(--color-primary-light);
}
 
/* Шаблон правил */
.rule-template {
  cursor: default;
   overflow: hidden;
   position: relative;
   margin-bottom: 0.75rem;
   border-radius: var(--border-radius-medium);
   box-shadow: 0 0 0.5rem -0.1rem, inset 0 0 0.25rem 0rem;
   transition: box-shadow var(--transition-time);
}
 
.rule-template:hover {
   box-shadow: 0 0 0.75rem 0, inset 0 0 0.25rem 0.1rem;
}
 
.rule-template:last-child {
  margin-bottom: 0;
}
 
.rule-template .rule-template {
  margin: 0.5rem 0 0;
   box-shadow: none;
   transition: none;
}
 
.rule-template .rule-template:first-child {
  margin: 0.75rem 0 0.1rem
}
 
.rule-title h3,
.rule-title h4 {
  margin: 0;
   padding: 0;
   line-height: 1.4
}
 
.rule-number {
  display: inline-flex;
   justify-content: center;
   align-items: center;
  white-space: nowrap;
  padding: 0.33rem 0.75rem 0.15rem;
  width: 3.75em;
}
 
.rule-hidden {
  display: none;
}
 
.rule-name {
  padding: 0.33rem 0.75rem 0.15rem;
}
 
.rule-content {
  padding: 0.5rem 0.6rem;
  text-align: left;
}
 
/* Item Template */
.item-template {
  position: relative;
  overflow: auto;
  display: inline-flex;
  flex-direction: column;
  border-radius: var(--border-radius-medium);
}
 
.item-template-item {
  display: flex;
}
 
.item-template-desc {
  padding: 0.25em 0.5em;
  white-space: break-spaces;
}
 
.item-template-desc p {
  display: inline-block;
  width: 100%;
}
 
.item-template-desc ul {
  white-space: normal;
}
 
.item-template-desc br {
  display: none;
}
 
.item-template-storage {
  display: flex;
  flex-direction: column;
  flex: 1;
}
 
/* Construction Template */
.construction-container {
  overflow: auto;
  display: inline-flex;
  position: relative;
  width: 50%;
  max-height: 100% !important;
  margin-bottom: 0.75em;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-template--small);
}
 
.construcion-object {
  display: flex;
  flex-direction: column;
  width: 20%;
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-fore);
  min-width: 150px;
}
 
.construction-tools {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
  padding: 0.25em
}
 
.construction-steps {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 250px;
}
 
.construction-steps ol {
  margin: 0 0 0 1.75em;
}
 
.construction-info-header {
  padding: 0.25em 0.5em;
  text-align: center;
  font-weight: bold;
  color: var(--color-white);
}
 
/* Стили шаблона Notice */
.notice-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-large);
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
}
 
.notice-lines {
  flex: 1;
  min-width: 10%;
  height: 40px;
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
  z-index: var(--index-base);
}
 
.notice-title {
  overflow: hidden;
  position: relative;
  padding: 0.25em 0.5em;
  min-width: 50%;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
  z-index: var(--index-fore);
}
 
.notice-title-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-family: 'Comic Sans MS';
  text-align: center;
  color: var(--color-white);
}
 
.notice-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 1em;
}
 
.notice-content-text {
  font-size: 0.85rem;
  font-family: 'Comic Sans MS';
  text-align: center;
  color: var(--color-text);
}
}

Текущая версия от 16:07, 7 ноября 2024

.pageframe-container {
  backdrop-filter: var(--blur-default);
}

/* Убираем перетаскивание картинок и ссылок */
a {
  -webkit-user-drag: none;
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

/* Disable blur */
.blurless {
  backdrop-filter: blur(0) !important;
}

/* Fill */
.fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--index-low);
}

/**
 * MARK: MainPage/Splash
 */
.tg-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  padding: 2em 1.5em 0;
  background-color: var(--color-bg-section-light);
  border: var(--border-classic);
  border-radius: var(--border-radius-large);
  backdrop-filter: var(--blur-default);
}

.tg-logo a img {
  width: 100%;
  height: auto;
}

.tg-welcome {
  display: inline-flex;
  text-align: center;
  font-weight: bold;
  padding: 0 1em;
  margin: 1em 0.5em 0.5em 0.5em;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--border-radius-large);
}

.tg-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tg-info-string {
  overflow: hidden;
  display: flex;
  max-width: 90%;
  margin-bottom: 0.25em;
  background-color: var(--color-bg-section-light);
  border: var(--border-classic);
  border-top: 0;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.2);
  backdrop-filter: var(--blur-default);
}

.tg-info-string span:not([class]) {
  padding: 0.5em 0.75em;
  border-right: var(--border-classic);
  border-left: var(--border-classic);

  @media (max-width: 719px) {
    display: none;
  }
}

.tg-info-string .tg-info-link {
  min-width: 3em;

  @media (max-width: 719px) {
    min-width: 10em;
    height: 2.5em;
  }
}

.tg-info-string .tg-info-link:first-of-type {
  @media (max-width: 719px) {
    border-right: var(--border-classic);
  }
}

.tg-info-string .tg-info-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-semi-translucent) !important;
  transition: color var(--transition-time), background-color var(--transition-time);
}

.tg-info-string .tg-info-link a:hover {
  background-color: var(--color-bg-hover);
  color: var(--color-text) !important;
}

.tg-info-string .tg-info-link a:after {
  content: "";
  font: unset;

  @media (min-width: 720px) {
    display: none;
  }
}

.tg-info-string .tg-info-link:first-of-type a:after {
  @media (max-width: 719px) {
    content: "Discord";
    margin-left: 1em;
  }
}

.tg-info-string .tg-info-link:last-of-type a:before {
  @media (max-width: 719px) {
    content: "GitHub";
    margin-right: 1em;
  }
}

.tg-info-string .tg-info-link a i {
  font-size: 1.25em;
}

/* Контент главной страницы */
.wiki-mainpage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}

.wiki-mainpage-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75em;
}

/* Вкладки департаментов для NavBar */
.department-tabs {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  overflow: auto;
}

.department-tabs-tab {
  position: relative;
  display: inline-flex;
  flex-grow: 1;
  flex-basis: 5%;
}

.department-tabs-tab a {
  padding: 0.4em 1em;
  flex-grow: 1;
  text-align: center;
  font-weight: bold;
  transition-property: background-color, color;
}

.department-tabs-tab a,
.department-tabs-tab a:active, {
  color: var(--color-text-gray);
}

.department-tabs-tab a:hover,
.department-tabs-tab a:active:hover, {
  background-color: var(--color-bg-hover);
  color: var(--color-text-darker);
}

.department-tabs-tab a.mw-selflink {
  background-color: var(--color-bg-focus) !important;
  color: var(--color-text) !important;
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-fore);
}

/* Кнопки для NavBar */
.navbar-button a {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--color-text-darker) !important;
  transition-property: background-color, color;
}

.navbar-button a:hover {
  background-color: var(--color-bg-hover);
}

/* Кнопки на главной странице */
.pagebutton-container {
  user-select: none;
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  margin: 0.25em;
  outline: 1px outset var(--color-border);
  border-radius: var(--border-radius-small);
  transition: box-shadow var(--transition-time), transform var(--transition-time);
}

.pagebutton-container:hover {
  box-shadow: 0 0.25em 0.5em 0;
  transform: translateY(-0.3em);
  z-index: 1;
}

.pagebutton-container:hover:focus-within {
  box-shadow: 0 0.25em 0.5em 0, inset 0 0 0.5em;
}

.pagebutton-text a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  min-height: 21px;
  background-color: var(--color-bg-focus);
  color: var(--color-white) !important;
  border-top: var(--border-classic);
  -webkit-user-drag: none;
}

.pagebutton-image a img {
  display: flex;
  margin: 0 auto;
  padding: 0.5em;
}

/* Стилизованные ссылки */
.custom-link a {
  display: inline-block;
  margin: 0.25em;
  padding: 0em 0.5em;
  vertical-align: middle;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--border-radius-small);
  transition: background-color var(--transition-time);
}

.custom-link a:hover {
  background-color: var(--color-primary-light);
}

/* Шаблон правил */
.rule-template {
  cursor: default;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.75rem;
  border-radius: var(--border-radius-medium);
  box-shadow: 0 0 0.5rem -0.1rem, inset 0 0 0.25rem 0rem;
  transition: box-shadow var(--transition-time);
}

.rule-template:hover {
  box-shadow: 0 0 0.75rem 0, inset 0 0 0.25rem 0.1rem;
}

.rule-template:last-child {
  margin-bottom: 0;
}

.rule-template .rule-template {
  margin: 0.5rem 0 0;
  box-shadow: none;
  transition: none;
}

.rule-template .rule-template:first-child {
  margin: 0.75rem 0 0.1rem
}

.rule-title h3,
.rule-title h4 {
  margin: 0;
  padding: 0;
  line-height: 1.4
}

.rule-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  padding: 0.33rem 0.75rem 0.15rem;
  width: 3.75em;
}

.rule-hidden {
  display: none;
}

.rule-name {
  padding: 0.33rem 0.75rem 0.15rem;
}

.rule-content {
  padding: 0.5rem 0.6rem;
  text-align: left;
}

/* Item Template */
.item-template {
  position: relative;
  overflow: auto;
  display: inline-flex;
  flex-direction: column;
  border-radius: var(--border-radius-medium);
}

.item-template-item {
  display: flex;
}

.item-template-desc {
  padding: 0.25em 0.5em;
  white-space: break-spaces;
}

.item-template-desc p {
  display: inline-block;
  width: 100%;
}

.item-template-desc ul {
  white-space: normal;
}

.item-template-desc br {
  display: none;
}

.item-template-storage {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Construction Template */
.construction-container {
  overflow: auto; 
  display: inline-flex; 
  position: relative;
  width: 50%;
  max-height: 100% !important;
  margin-bottom: 0.75em;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-template--small);
}

.construcion-object {
  display: flex;
  flex-direction: column;
  width: 20%; 
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-fore);
  min-width: 150px;
}

.construction-tools {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
  padding: 0.25em
}

.construction-steps {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 250px;
}

.construction-steps ol {
  margin: 0 0 0 1.75em;
}

.construction-info-header {
  padding: 0.25em 0.5em;
  text-align: center;
  font-weight: bold;
  color: var(--color-white);
}

/* Стили шаблона Notice */
.notice-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-large);
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
}

.notice-lines {
  flex: 1;
  min-width: 10%;
  height: 40px;
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
  z-index: var(--index-base);
}

.notice-title {
  overflow: hidden;
  position: relative;
  padding: 0.25em 0.5em;
  min-width: 50%;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
  z-index: var(--index-fore);
}

.notice-title-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-family: 'Comic Sans MS';
  text-align: center;
  color: var(--color-white);
}

.notice-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 1em;
}

.notice-content-text {
  font-size: 0.85rem;
  font-family: 'Comic Sans MS';
  text-align: center;
  color: var(--color-text);
}