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

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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 433: Строка 433:
img {
img {
     image-rendering: pixelated;
     image-rendering: pixelated;
}
.test {
  .bluemoon-bg {
    background-image: linear-gradient(to bottom right, rgba(30, 109, 129, 0.45), rgba(33, 141, 200, 0.45));
  }
  .whitemoon-bg {
    background-image: linear-gradient(to bottom right, rgba(58, 63, 70, 0.45), rgba(150, 150, 150, 0.45));
  }
  .redmoon-bg {
    background-image: linear-gradient(to bottom right, rgba(97, 32, 31, 0.45), rgba(200, 35, 33, 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(255, 255, 255, 0.3);
      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);
      > .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-between;
          .link {
            flex: 1;
            padding: 5px;
            margin: 5px;
            text-align: center;
          }
        }
      }
    }
    .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 {
            background-color: rgba(2, 23, 26);
            flex: 0 0 auto;
          }
          .title {
            flex: 1 1 auto;
            font-size: 1em;
          }
        }
      }
    }
  }
  @media (max-width: 600px) {
    .main-panel .item {
      flex: 1 1 100% !important;
    }
    .main-panel .button {
      flex: 1 1 100% !important;
    }
  }
}
}