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

Нет описания правки
Метка: отменено
мНет описания правки
 
(не показано 65 промежуточных версий этого же участника)
Строка 1: Строка 1:
:root {
.pageframe-container {
  backdrop-filter: var(--blur-default);
}


/* Wiki Palette. Use with ColorPalette template! */
/* Убираем перетаскивание картинок и ссылок */
/* Gray. Default */
a {
--gray-opaque: rgba(127, 127, 127, 1);
  -webkit-user-drag: none;
--gray-primary: rgba(127, 127, 127, 0.66);
}
--gray-secondary: rgba(127, 127, 127, 0.33);
/* Black */
--black-opaque: rgba(0, 0, 0, 1);
--black-primary: rgba(0, 0, 0, 0.66);
--black-secondary: rgba(0, 0, 0, 0.33);
/* Cyan */
--cyan-opaque: rgba(48, 242, 210, 1);
--cyan-primary: rgba(48, 242, 210, 0.66);
--cyan-secondary: rgba(48, 242, 210, 0.33);
/* Aqua blue */
--blue-opaque: rgba(0, 255, 255, 1);
--blue-primary: rgba(0, 255, 255, 0.66);
--blue-secondary: rgba(0, 255, 255, 0.33);
/* Brown */
--brown-opaque: rgba(166, 107, 25, 1);
--brown-primary: rgba(166, 107, 25, 0.66);
--brown-secondary: rgba(166, 107, 25, 0.33);
/* Green */
--green-opaque: rgba(48, 191, 19, 1);
--green-primary: rgba(48, 191, 19, 0.66);
--green-secondary: rgba(48, 191, 19, 0.33);
/* Yellow */
--yellow-opaque: rgba(255, 234, 0, 1);
--yellow-primary: rgba(255, 234, 0, 0.66);
--yellow-secondary: rgba(255, 234, 0, 0.33);
/* Light red */
--red-opaque: rgba(255, 64, 64, 1);
--red-primary: rgba(255, 64, 64, 0.66);
--red-secondary: rgba(255, 64, 64, 0.33);
/* Pink */
--pink-opaque: rgba(255, 64, 255, 1);
--pink-primary: rgba(255, 64, 255, 0.66);
--pink-secondary: rgba(255, 64, 255, 0.33);
/* Light green */
--civilian-opaque: rgba(29, 191, 83, 1);
--civilian-primary: rgba(29, 191, 83, 0.66);
--civilian-secondary: rgba(29, 191, 83, 0.33);
/* Blue */
--medical-opaque: rgba(0, 191, 255, 1);
--medical-primary: rgba(0, 191, 255, 0.66);
--medical-secondary: rgba(0, 191, 255, 0.33);
/* Light brown */
--supply-opaque: rgba(166, 124, 66, 1);
--supply-primary: rgba(166, 124, 66, 0.66);
--supply-secondary: rgba(166, 124, 66, 0.33);
/* Purple */
--science-opaque: rgba(191, 0, 255, 1);
--science-primary: rgba(191, 0, 255, 0.66);
--science-secondary: rgba(191, 0, 255, 0.33);
/* Orange */
--engineer-opaque: rgba(255, 170, 0, 1);
--engineer-primary: rgba(255, 170, 0, 0.66);
--engineer-secondary: rgba(255, 170, 0, 0.33);
/* Red */
--security-opaque: rgba(255, 0, 0, 1);
--security-primary: rgba(255, 0, 0, 0.66);
--security-secondary: rgba(255, 0, 0, 0.33);
/* Dark red */
--antag-opaque: rgba(153, 15, 15, 1);
--antag-primary: rgba(153, 15, 15, 0.66);
--antag-secondary: rgba(153, 15, 15, 0.33);
/* Magenta Pink */
--legal-opaque: rgba(255, 0, 149, 1);
--legal-primary: rgba(255, 0, 149, 0.66);
--legal-secondary: rgba(255, 0, 149, 0.33);
/* Blue Ribbon */
--command-opaque: rgba(0, 106, 255, 1);
--command-primary: rgba(0, 106, 255, 0.66);
--command-secondary: rgba(0, 106, 255, 0.33);
/* Blue Azure */
--synthetic-opaque: rgba(67, 129, 191, 1);
--synthetic-primary: rgba(67, 129, 191, 0.66);
--synthetic-secondary: rgba(67, 129, 191, 0.33);
/* Dark Purple */
--special-opaque: rgba(91, 19, 191, 1);
--special-primary: rgba(91, 19, 191, 0.66);
--special-secondary: rgba(91, 19, 191, 0.33);
/* Dark Blue */
--centcom-opaque: rgba(0, 64, 128, 1);
--centcom-primary: rgba(0, 64, 128, 0.66);
--centcom-secondary: rgba(0, 64, 128, 0.33);


/* Base Colors - Light */
img {
--color-bg: hsl(0, 0%, 100%);
  user-select: none;
--color-bg-hover: rgba(0, 0, 0, 0.075);
  -webkit-user-drag: none;
--color-bg-focus: rgba(0, 0, 0, 0.125);
}
--color-bg-transparent: rgba(204, 201, 198, 0.66);
--color-bg-section: rgba(204, 201, 198, 0.33);
--color-bg-section-opaque: hsl(30, 6%, 93%);
--color-bg-section-light: rgba(158, 152, 148, 0.15);
--color-bg-section-light-opaque: hsl(30, 7%, 88%);
--color-text: rgba(0, 0, 0, 1);
--color-text-darker: rgba(40, 40, 40, 1);
--color-text-gray: rgba(80, 80, 80, 0.75);
--color-text-translucent: rgba(0, 0, 0, 0.5);
--color-text-static: rgba(255, 255, 255, 1);
--color-text-static-dark: rgba(0, 0, 0, 1);
--color-text-static-transparent: rgba(255, 255, 255, 0.5);
--color-border: rgba(0, 0, 0, 0.1);
--color-border-input: rgba(128, 181, 255, 1);
--color-border-input-focus: var(--color-blue);


/* Scrollbar - Light */
/* Disable blur */
--color-scrollbar-base: hsl(30, 6%, 93%);
.blurless {
--color-scrollbar-thumb: hsl(30, 1%, 70%);
  backdrop-filter: blur(0) !important;
}


/* Notices */
/* Fill */
--color-notice: hsl(0, 0%, 60%);
.fill {
--color-notice-red: hsl(0, 100%, 70%);
  position: absolute;
--color-notice-green: hsl(110, 50%, 50%);
  top: 0;
--color-notice-blue: hsl(200, 65%, 50%);
  bottom: 0;
--color-notice-brown: hsl(35, 50%, 60%);
  left: 0;
  right: 0;
  z-index: var(--index-low);
}


/* Links */
/**
--color-hyperlink: hsl(220, 100%, 60%);
* MARK: MainPage/Splash
--color-hyperlink-visited: hsl(280, 70%, 51%);
*/
--color-hyperlink-new: hsl(0, 100%, 45%);
.tg-logo {
--color-hyperlink-new-visited: hsl(15, 100%, 33%);
  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);
}


/* Invert */
.tg-logo a img {
--invert-icon: invert(0.1);
  width: 100%;
--invert-button-icon: invert(1);
  height: auto;
--logo-invert: none;
}


/* Shadow */
.tg-welcome {
--box-shadow-small: 0px 15px 20px 0px rgba(0, 0, 0, 0.33);
  display: inline-flex;
--box-shadow-medium: 0px 25px 30px 5px rgba(0, 0, 0, 0.33);
  text-align: center;
--box-shadow-big: 0px 0px 35px 5px rgba(0, 0, 0, 0.33);
  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);
}


/* Values */
.tg-info {
--border-radius-small: 0.25em;
  display: flex;
--border-radius-medium: 0.5em;
  flex-direction: column;
--border-radius-large: 1em;
  align-items: center;
--blur-intensity: blur(24px);
  text-align: center;
--transition-time: 0.2s;
}
--transition-delay: 0.2s;


/* Shortcuts */
.tg-info-string {
--border-classic: 1px solid var(--color-border);
  overflow: hidden;
--border-classic-input: 1px solid var(--color-border-input);
  display: flex;
--border-classic-input-focus: 1px solid var(--color-border-input-focus);
  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);
}

Текущая версия от 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);
}