Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показаны 344 промежуточные версии 3 участников)
Строка 1: Строка 1:
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.law-td {
.law-td {
   text-decoration: underline;
   text-decoration: underline;
color: #030303;
}
}


Строка 10: Строка 12:


.law-selected {
.law-selected {
   outline: 2px solid #529ff1;
   /*outline: 2px solid #529ff1;*/
  box-shadow: 0px 0px 15px 5px rgba(34, 60, 80, 0.5) inset;
  }
  }
.blink {
  font-weight: bold;
  color: red;
  animation: blink 0.3s infinite alternate;
}
@keyframes blink {
  from { color: darkred; }
  to { color: red; }
}




/* Зеленый, желтый, оранжевый, красный, темно-красный */  
/* Зеленый, желтый, оранжевый, красный, темно-красный */  


.td-bg1 { background-color: #d9ead3; }
.td-bg1 { background-color: #d9ead3; color: #030303;}
.td-bg2 { background-color: #fff2cc; }
.td-bg2 { background-color: #fff2cc; color: #030303;}
.td-bg3 { background-color: #f9cb9c; }
.td-bg3 { background-color: #f9cb9c; color: #030303;}
.td-bg4 { background-color: #f4cccc; }
.td-bg4 { background-color: #f4cccc; color: #030303;}
.td-bg5 { background-color: #e89b9b; }
.td-bg5 { background-color: #e89b9b; color: #030303;}


.th-bg1 { background-color: #93c47d; }
.th-bg1 { background-color: #93c47d; color: #030303;}
.th-bg2 { background-color: #ffd966; }
.th-bg2 { background-color: #ffd966; color: #030303;}
.th-bg3 { background-color: #e69138; }
.th-bg3 { background-color: #e69138; color: #030303;}
.th-bg4 { background-color: #e06666; }
.th-bg4 { background-color: #e06666; color: #030303;}
.th-bg5 { background-color: #cc0000; }
.th-bg5 { background-color: #cc0000; color: #030303;}




/* Вертикальный табс */  
/* Вертикальный табс */


.vtabs {
.vtabs {
   display: flex;
   display: flex;
   width: 100%;
   width: 100%;
   border: 1px solid #ccc;
   border: 1px solid #1e222ccc;
   border-radius: 6px;
   border-radius: 6px;
   overflow: hidden;
   overflow: hidden;
Строка 43: Строка 57:
   flex-direction: column;
   flex-direction: column;
   width: 220px;
   width: 220px;
   background-color: #E6EBF6;
   background-color: #1a232ab3;
   border-right: 1px solid #ccc;
   border-right: 1px solid #1e222ccc;
 
}
}


Строка 51: Строка 66:
   cursor: pointer;
   cursor: pointer;
   font-weight: bold;
   font-weight: bold;
  color: #333;
color: #fcfcfc;
   border-bottom: 1px solid #ddd;
   border-bottom: 1px solid #1e222ccc;
   transition: background 0.2s, color 0.2s;
   transition: background 0.2s, color 0.2s;
}
}


.vtabs-button:hover {
.vtabs-button:hover {
   background-color: #d5dae6;
   background-color: #1e222ccc;
}
}


.vtabs-button.active {
.vtabs-button.active {
   background-color: #EEF2F9;
   background-color: #1a232ab3;
   color: #2a6ddf;
   color: #2a6ddf;
   border-left: 4px solid #2a6ddf;
   border-left: 4px solid #2a6ddf;
Строка 69: Строка 84:
   flex-grow: 1;
   flex-grow: 1;
   padding: 20px;
   padding: 20px;
   background: #EEF2F9;
   background: #1a232ab3;
  color: #fcfcfc;
}
}


Строка 80: Строка 96:
}
}


/* Сворачиваемая панель */  
@keyframes fadeIn {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
 
/* Анимированный фон */
@keyframes animateBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -960px 0;
  }
}


.colstr-panel {
/* разные БГшки*/
   border: 1px solid #ccc;
.space-bg,
   border-radius: 2px;
.stars-bg,
   margin: 10px 0;
.specs-bg {
   box-shadow: 0 2px 4px rgba(0,0,0,0.1);
   position: fixed;
  width: 100%;
  height: 100%;
   top: 0;
   left: 0;
   background-repeat: repeat;
}
}


.colstr-header {
.space-bg {
   background-color: #E6EBF6;
   background-image: url("../images/6/60/Space-bg.png");
   padding: 10px 14px;
   animation: animateBackground 120s linear infinite;
   cursor: pointer;
   z-index: -7;
   font-weight: bold;
}
   display: flex;
.stars-bg {
   justify-content: space-between;
   background-image: url("../images/2/22/Stars-bg.png");
   align-items: center;
   animation: animateBackground 60s linear infinite;
   border-radius: 5px 5px 0 0;
   z-index: -6;
   transition: background-color 0.1s;
}
.specs-bg {
   background-image: url("../images/3/38/Specs-bg.png");
   animation: animateBackground 30s linear infinite;
   z-index: -4;
}
}


.colstr-header:hover {
.Inteqbg{
  background-color: #d5dae6;
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, #e3943f, #838383);
    background-repeat: no-repeat;
    background-position: center; center;
    background-size: 100% auto;
    z-index: -2;
    opacity: 1;
}
.Inteqlogobg{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/e/ed/Inteqlogo1.png');
    background-repeat: no-repeat;
    background-position: center; center;
    background-size: 30% auto;
    z-index: -1;
    opacity: 0.3;
}
}


.colstr-content {
 
   padding: 10px 14px;
/* Панель для гайдов */
   display: none;
 
   animation: fadeIn 0.3s ease-in-out;
.guide {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
}
}


.colstr-panel.open .colstr-content {
.guide-panel {
   display: block;
  flex: 0 1 calc(50% - 10px);
  box-sizing: border-box;
  border-radius: 10px;
  border: 2px solid;
  background-size: 100% auto !important;
  overflow: hidden;
   display: flex;
}
}


.colstr-panel .arrow {
.guide-panel .overlay {
   transition: transform 0.3s;
   flex: 1;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.1);
}
}


.colstr-panel.open .arrow {
.guide-panel .header {
   transform: rotate(180deg);
   display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: flex-start;
}
}


.colstr-panel.open .colstr-header {
.guide-panel .title {
   border-bottom: 3px solid #4a90e2;
  padding: 2px;
   background-color: #d5dae6;
  padding-inline: 30px;
  border: 2px solid;
  border-bottom-left-radius: 10px;
   border-bottom-right-radius: 10px;
  border-top: none;
   font-size: 1.2em;
}
}


@keyframes fadeIn {
.guide-panel .items {
   from { opacity: 0.5; }
   display: flex;
   to { opacity: 1; }
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 5px;
   padding: 5px;
}
}


/* Секретная буква жопа */
.guide-panel .item {
  flex: 0 1 calc(33% - 5px);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px rgba(255, 255, 255, 0.2) solid  !important;
  border-radius: 10px;
  padding: 2px;
  padding-left: 5px;
}


.pashalka-jopa-trigger {
.guide-panel .item:hover {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
   cursor: pointer;
   cursor: pointer;
   opacity: 0;
   border: 1px solid rgba(255, 255, 255, 0.5) !important;
   z-index: 9999;
}
 
.guide-panel .logo {
   margin: 3px;
}
}


.pashalka-jopa .jopa {
 
   color: gold;
.guide a,
  font-size: 100px;
.guide a:visited,
.guide a:active,
.guide a.external {
   color: rgba(200, 215, 255, 0.9) !important;
   font-weight: bold;
   font-weight: bold;
  text-align: center;
  animation: fadeIn 1s ease-out;
}
}


@keyframes fadeIn {
.guide a.new,
   from { opacity: 0; transform: scale(0.5); }
.guide a.new:visited {
   to { opacity: 1; transform: scale(1); }
   color: #730300 !important;
   font-weight: normal !important;
}
}




/* Панель с информацией о сервере */
.guide-bg-med {
.server-tab {
   background: url(https://wiki.ss13-bluemoon.ru/images/1/17/Guide-bg-med.png) center top no-repeat; !important
   border-radius: 10px;
  margin: 10px;
  display: flex;
  justify-content: right;
  overflow: hidden;
}
}
.server-tab hr {
 
   margin-bottom: 2px;
.guide-bg-cargo {
  margin-top: 2px;
   background: url(https://wiki.ss13-bluemoon.ru/images/2/28/Guide-bg-cargo.png) center top no-repeat; !important
}
}
.server-tab-btn {
 
   width: 35%;
.guide-bg-engi {
  font-size: large;
   background: url(https://wiki.ss13-bluemoon.ru/images/d/dd/Guide-bg-engi.png) center top no-repeat; !important
  background-color: #406ac9;
  justify-content: center;
  align-items: center;
  display: flex;
}
}
.server-tab-btn:hover {
 
   background-color: #547fe3;
.guide-bg-rnd {
  cursor: pointer;
   background: url(https://wiki.ss13-bluemoon.ru/images/a/a2/Guide-bg-rnd.png) center top no-repeat; !important
}
}
.server-tab-content {
 
   width: 100%;
.guide-bg-sec {
  padding: 15px;
   background: url(https://wiki.ss13-bluemoon.ru/images/9/9a/Guide-bg-sec.png) center top no-repeat; !important
}
}


.guide-bg-service {
  background: url(https://wiki.ss13-bluemoon.ru/images/2/2f/Guide-bg-service.png) center top no-repeat; !important
}


.server-tab-content-blue {
.guide-bg-misc {
   width: 100%;
   background: url(https://wiki.ss13-bluemoon.ru/images/4/47/Guide-bg-misc.png) center top no-repeat; !important
  padding: 15px;
  background-color: rgba(33, 141, 168, 0.45);
}
}
.server-tab-content-white {
.lore-bg-inteq {
   width: 100%;
   background: url(https://wiki.ss13-bluemoon.ru/images/c/c0/Lore-bg-Inteq.png) center top no-repeat; !important
  padding: 15px;
  background-color: rgba(91, 99, 109, 0.45);
}
}
.server-tab-content-red {
 
  width: 100%;
/* Убираем размытие со всех изображений */
  padding: 15px;
img {
  background-color: rgba(124, 35, 33, 0.45);
    image-rendering: pixelated;
}
}


.server-tab-btn-blue {
 
   width: 35%;
 
  font-size: large;
.bluemoon-bg {
  background-color: rgba(33, 141, 168, 0.45);
   background-image: linear-gradient(to bottom right, rgba(33, 141, 168, 0.45), rgba(33, 141, 200, 0.45));
  justify-content: center;
  align-items: center;
  display: flex;
}
}
.server-tab-btn-white {
 
   width: 35%;
.palemoon-bg {
  font-size: large;
   background-image: linear-gradient(to bottom right, rgba(63, 69, 77, 0.45), rgba(110, 107, 107, 0.45));
  background-color: rgba(91, 99, 109, 0.45);
  justify-content: center;
  align-items: center;
  display: flex;
}
}
.server-tab-btn-red {
 
   width: 35%;
.redmoon-bg {
  font-size: large;
   background-image: linear-gradient(to bottom right, rgba(124, 35, 33, 0.45), rgba(200, 35, 33, 0.45));
  background-color: rgba(124, 35, 33, 0.45);
  justify-content: center;
  align-items: center;
  display: flex;
}
}


/* Анимированный фон */
.coffee-bg {
@keyframes animateBackground {
  background-image: linear-gradient(to bottom right, rgba(191, 145, 97, 0.45), rgba(220, 160, 110, 0.45));
    from {
        background-position: 0 0;
    }
    to {
        background-position: -960px 0;
    }
}
.space-bg,
.stars-bg,
.specs-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: repeat;
}
}


 
.CM-bg {
.space-bg {
  background-image: linear-gradient(to bottom right, rgba(179, 141, 202, 0.45), rgba(206, 156, 225, 0.45));
    background-image: url("../images/6/60/Space-bg.png");
    animation: animateBackground 120s linear infinite;
    z-index: -7;
}
.stars-bg {
    background-image: url("../images/2/22/Stars-bg.png");
    animation: animateBackground 60s linear infinite;
    z-index: -6;
}
.specs-bg {
    background-image: url("../images/3/38/Specs-bg.png");
    animation: animateBackground 30s linear infinite;
    z-index: -4;
}
}


.main-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;


/* TEST */
  .border>div,
  >div {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  }


.main-panel {
  .title {
     display: flex;
    background-color: rgba(225, 216, 255, 0.2);
     gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
     font-size: 1.1em;
     font-weight: bold;
   }
   }
 
 
   .main-panel > div {
   .item {
     border-radius: 20px;
     flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     justify-content: space-between;
     box-sizing: border-box;
  }
    background: rgba(2, 23, 26, 0.5);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border-radius: 20px;
 
    >.title {
      flex: 0 0 auto;
      text-align: center;
    }


  .mp-btn-panel {
    >div:not(.title) {
    width: 50%;
      flex: 1 1 auto;
      min-height: 0;
      padding: 10px;
    }
   }
   }


   .mp-server-panel {
   .server-panel {
    justify-content: space-around;
    width: 50%;
    background:oklch(0.1884 0.0291 207.77 / 53.83%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
  }
 
  .mp-btn-category {
    background:oklch(0.1884 0.0291 207.77 / 53.83%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    overflow: hidden;
  }
 
  .mp-btn-title {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    font-weight: bold;
    text-align: center;
  }
 
  .mp-btn-row {
     display: flex;
     display: flex;
    flex-wrap: wrap;
     gap: 10px;
     gap: 10px;
     padding: 15px;
 
    flex-wrap: wrap;
     .server {
      flex: 1 1 100%;
      overflow: hidden;
 
      .title {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 10px;
        border-bottom: none;
      }
 
      .desc {
        padding: 10px;
        padding-bottom: 5px;
      }
 
      .links {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-around;
 
        .link {
          padding: 5px;
          margin: 5px;
          text-align: center;
          box-sizing: border-box;
        }
 
        .link:hover {
          cursor: pointer;
          border: 1px solid rgba(255, 255, 255, 0.5) !important;
        }
      }
    }
   }
   }
 
 
  .mp-btn {
   .button-panel {
    flex: 1;
    text-align: center;
  }
 
  .mp-server-info {
    margin-bottom: 20px;
    padding: 20px;
  }
 
  .mp-servers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
 
  .mp-server {
    text-align: left;
    border-radius: 12px;
    padding: 15px;
  }
 
   .mp-server .title {
    font-size: 1.1em;
    margin-bottom: 8px;
  }
 
  .mp-server .desc {
    font-size: 0.95em;
    color: #d1d5db;
  }
 
  .mp-server .links{
    margin-top: 12px;
     display: flex;
     display: flex;
    align-items: center;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 8px;
 
     .row {
      flex: 1 1 100%;
      display: flex;
      flex-wrap: wrap;
      align-items: last baseline;
      justify-content: space-between;
 
      .button {
        flex: 1 1 calc(33% - 10px);
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        align-self: stretch;
        overflow: hidden;
        margin: 5px;
 
        >div {
          text-align: center;
          padding: 5px;
        }
 
        .content {
          flex: 0 0 auto;
          padding: 15px;
          background: rgba(2, 23, 26, 0.9);
        }
 
        .title {
          flex: 1 1 100%;
          font-size: 1em;
        }
      }
 
      .button:hover {
        cursor: pointer;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
      }
    }
   }
   }
 
}
  .server-link {
 
    padding: 6px 10px;
@media (max-width: 600px) {
    border: 1px solid rgba(255, 255, 255, 0.3);
  .main-panel .item {
    border-radius: 8px;
     flex: 1 1 100% !important;
    text-decoration: none;
    color: white;
     font-size: 0.9em;
   }
   }
 
 
   .server-link:hover {
   .main-panel .button {
     background-color: rgba(255, 255, 255, 0.2);
     flex: 1 1 100% !important;
   }
   }
}


.tooltip {
  position: relative;
  cursor: pointer;
}


a.back-to-top {
.tooltiptext {
   display: none;
   position: absolute;
   width: 70px;
   display: block;
   height: 70px;
   z-index: 2;
   text-indent: -9999px;
   width: 250px;
   position: fixed;
   padding: 10px;
   z-index: 999;
   visibility: hidden;
   right: 20px;
   opacity: 0;
   bottom: 20px;
   white-space: normal;
   background-color: darkred;
   text-align: left;
   background: url(https://wiki.ss13-bluemoon.ru/images/4/41/Arrowtop.png) 0% 0%/70px 70px no-repeat;
   transition: all 0.2s;
   background-position: 43%;
   border: 1px solid #aaa;
   background-position-x: center;
   background-color: #005069;
   border-radius: 30px;
   border-radius: 8px;
  transition-delay: 0.2s;
  color: #fcfcfc;
}
}


a.back-to-top:hover {
.tooltip:hover > .tooltiptext{
   background-color: transparent;
   visibility: visible;
  opacity: 1;
  transition-delay: 0.1s;
}
}

Текущая версия от 17:46, 29 октября 2025

/* Размещённый здесь CSS будет применяться ко всем темам оформления */

.law-td {
  text-decoration: underline;
color: #030303;
}

.law-td:hover {
  cursor: pointer;
  color: #1d4e8a;
}

.law-selected {
   /*outline: 2px solid #529ff1;*/
   box-shadow: 0px 0px 15px 5px rgba(34, 60, 80, 0.5) inset;
 }

.blink {
  font-weight: bold;
  color: red;
  animation: blink 0.3s infinite alternate;
}

@keyframes blink {
  from { color: darkred; }
  to { color: red; }
}


/* Зеленый, желтый, оранжевый, красный, темно-красный */ 

.td-bg1 { background-color: #d9ead3; color: #030303;}
.td-bg2 { background-color: #fff2cc; color: #030303;}
.td-bg3 { background-color: #f9cb9c; color: #030303;}
.td-bg4 { background-color: #f4cccc; color: #030303;}
.td-bg5 { background-color: #e89b9b; color: #030303;}

.th-bg1 { background-color: #93c47d; color: #030303;}
.th-bg2 { background-color: #ffd966; color: #030303;}
.th-bg3 { background-color: #e69138; color: #030303;}
.th-bg4 { background-color: #e06666; color: #030303;}
.th-bg5 { background-color: #cc0000; color: #030303;}


/* Вертикальный табс */

.vtabs {
  display: flex;
  width: 100%;
  border: 1px solid #1e222ccc;
  border-radius: 6px;
  overflow: hidden;
}

.vtabs-buttons {
  display: flex;
  flex-direction: column;
  width: 220px;
  background-color: #1a232ab3;
  border-right: 1px solid #1e222ccc;

}

.vtabs-button {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: bold;
color: #fcfcfc;
  border-bottom: 1px solid #1e222ccc;
  transition: background 0.2s, color 0.2s;
}

.vtabs-button:hover {
  background-color: #1e222ccc;
}

.vtabs-button.active {
  background-color: #1a232ab3;
  color: #2a6ddf;
  border-left: 4px solid #2a6ddf;
}

.vtabs-content-wrapper {
  flex-grow: 1;
  padding: 20px;
  background: #1a232ab3;
  color: #fcfcfc;
}

.vtabs-content {
  display: none;
}

.vtabs-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

/* Анимированный фон */
@keyframes animateBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -960px 0;
  }
}

/* разные БГшки*/
.space-bg,
.stars-bg,
.specs-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-repeat: repeat;
}

.space-bg {
  background-image: url("../images/6/60/Space-bg.png");
  animation: animateBackground 120s linear infinite;
  z-index: -7;
}
.stars-bg {
  background-image: url("../images/2/22/Stars-bg.png");
  animation: animateBackground 60s linear infinite;
  z-index: -6;
}
.specs-bg {
  background-image: url("../images/3/38/Specs-bg.png");
  animation: animateBackground 30s linear infinite;
  z-index: -4;
}

.Inteqbg{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, #e3943f, #838383);
    background-repeat: no-repeat;
    background-position: center; center;
    background-size: 100% auto;
    z-index: -2;
    opacity: 1;
}
.Inteqlogobg{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/e/ed/Inteqlogo1.png');
    background-repeat: no-repeat;
    background-position: center; center;
    background-size: 30% auto;
    z-index: -1;
    opacity: 0.3;
}


/* Панель для гайдов */

.guide {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-panel {
  flex: 0 1 calc(50% - 10px);
  box-sizing: border-box;
  border-radius: 10px;
  border: 2px solid;
  background-size: 100% auto !important;
  overflow: hidden;
  display: flex;
}

.guide-panel .overlay {
  flex: 1;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.1);
}

.guide-panel .header {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: flex-start;
}

.guide-panel .title {
  padding: 2px;
  padding-inline: 30px;
  border: 2px solid;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top: none;
  font-size: 1.2em;
}

.guide-panel .items {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
}

.guide-panel .item {
  flex: 0 1 calc(33% - 5px);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px rgba(255, 255, 255, 0.2) solid  !important;
  border-radius: 10px;
  padding: 2px;
  padding-left: 5px;
}

.guide-panel .item:hover {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.guide-panel .logo {
  margin: 3px;
}


.guide a,
.guide a:visited,
.guide a:active,
.guide a.external {
  color: rgba(200, 215, 255, 0.9) !important;
  font-weight: bold;
}

.guide a.new,
.guide a.new:visited {
  color: #730300 !important;
  font-weight: normal !important;
}


.guide-bg-med {
  background: url(https://wiki.ss13-bluemoon.ru/images/1/17/Guide-bg-med.png) center top no-repeat; !important
}

.guide-bg-cargo {
  background: url(https://wiki.ss13-bluemoon.ru/images/2/28/Guide-bg-cargo.png) center top no-repeat; !important
}

.guide-bg-engi {
  background: url(https://wiki.ss13-bluemoon.ru/images/d/dd/Guide-bg-engi.png) center top no-repeat; !important
}

.guide-bg-rnd {
  background: url(https://wiki.ss13-bluemoon.ru/images/a/a2/Guide-bg-rnd.png) center top no-repeat; !important
}

.guide-bg-sec {
  background: url(https://wiki.ss13-bluemoon.ru/images/9/9a/Guide-bg-sec.png) center top no-repeat; !important
}

.guide-bg-service {
  background: url(https://wiki.ss13-bluemoon.ru/images/2/2f/Guide-bg-service.png) center top no-repeat; !important
}

.guide-bg-misc {
  background: url(https://wiki.ss13-bluemoon.ru/images/4/47/Guide-bg-misc.png) center top no-repeat; !important
}
.lore-bg-inteq {
  background: url(https://wiki.ss13-bluemoon.ru/images/c/c0/Lore-bg-Inteq.png) center top no-repeat; !important
}

/* Убираем размытие со всех изображений */
img {
    image-rendering: pixelated;
}



.bluemoon-bg {
  background-image: linear-gradient(to bottom right, rgba(33, 141, 168, 0.45), rgba(33, 141, 200, 0.45));
}

.palemoon-bg {
  background-image: linear-gradient(to bottom right, rgba(63, 69, 77, 0.45), rgba(110, 107, 107, 0.45));
}

.redmoon-bg {
  background-image: linear-gradient(to bottom right, rgba(124, 35, 33, 0.45), rgba(200, 35, 33, 0.45));
}

.coffee-bg {
  background-image: linear-gradient(to bottom right, rgba(191, 145, 97, 0.45), rgba(220, 160, 110, 0.45));
}

.CM-bg {
  background-image: linear-gradient(to bottom right, rgba(179, 141, 202, 0.45), rgba(206, 156, 225, 0.45));
}

.main-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  .border>div,
  >div {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  }

  .title {
    background-color: rgba(225, 216, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
    font-size: 1.1em;
    font-weight: bold;
  }

  .item {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: rgba(2, 23, 26, 0.5);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border-radius: 20px;

    >.title {
      flex: 0 0 auto;
      text-align: center;
    }

    >div:not(.title) {
      flex: 1 1 auto;
      min-height: 0;
      padding: 10px;
    }
  }

  .server-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    .server {
      flex: 1 1 100%;
      overflow: hidden;

      .title {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 10px;
        border-bottom: none;
      }

      .desc {
        padding: 10px;
        padding-bottom: 5px;
      }

      .links {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-around;

        .link {
          padding: 5px;
          margin: 5px;
          text-align: center;
          box-sizing: border-box;
        }

        .link:hover {
          cursor: pointer;
          border: 1px solid rgba(255, 255, 255, 0.5) !important;
        }
      }
    }
  }

  .button-panel {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    .row {
      flex: 1 1 100%;
      display: flex;
      flex-wrap: wrap;
      align-items: last baseline;
      justify-content: space-between;

      .button {
        flex: 1 1 calc(33% - 10px);
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        align-self: stretch;
        overflow: hidden;
        margin: 5px;

        >div {
          text-align: center;
          padding: 5px;
        }

        .content {
          flex: 0 0 auto;
          padding: 15px;
          background: rgba(2, 23, 26, 0.9);
        }

        .title {
          flex: 1 1 100%;
          font-size: 1em;
        }
      }

      .button:hover {
        cursor: pointer;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
      }
    }
  }
}

@media (max-width: 600px) {
  .main-panel .item {
    flex: 1 1 100% !important;
  }

  .main-panel .button {
    flex: 1 1 100% !important;
  }
}

.tooltip {
  position: relative;
  cursor: pointer;
}

.tooltiptext {
  position: absolute;
  display: block;
  z-index: 2;
  width: 250px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #aaa;
  background-color: #005069;
  border-radius: 8px;
  transition-delay: 0.2s;
  color: #fcfcfc;
}

.tooltip:hover > .tooltiptext{
  visibility: visible;
  opacity: 1;
  transition-delay: 0.1s;
}