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

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

Страница интерфейса MediaWiki
Новая страница: «Размещённый здесь CSS-код будет загружаться для пользователей, использующих тему оформления Citizen: ===== Ethereal Portal background =====: html, body{ background-image: url("/resources/assets/ep-bg.jpg"); background-size: cover; background-position: center top; background-attachment: fixed; background-repeat: no-repeat; } /* карточки контента...»
 
Нет описания правки
Строка 17: Строка 17:
   backdrop-filter: blur(3px);
   backdrop-filter: blur(3px);
   border-radius: 12px;
   border-radius: 12px;
}
/* ===== EP Main Page Showcase ===== */
.page-Main_Page .mw-body,
.page-Заглавная_страница .mw-body{
  background: rgba(255,248,235,.80) !important;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(120,85,35,.18);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}
/* hero */
.ep-hero{
  padding: 28px 28px 18px;
  text-align: center;
}
.ep-kicker{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background: rgba(120,85,35,.10);
  border:1px solid rgba(120,85,35,.18);
  color:#7b5a2d;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.ep-title{
  margin:0 0 10px;
  font-size:52px;
  line-height:1;
  font-weight:800;
  color:#2a2117;
}
.ep-subtitle{
  max-width: 850px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(42,33,23,.78);
}
/* grid */
.ep-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
  margin: 20px 0 12px;
}
.ep-card{
  display:block;
  text-decoration:none !important;
  padding:22px 22px 18px;
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(244,228,198,.78));
  border:1px solid rgba(120,85,35,.20);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ep-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
  border-color: rgba(120,85,35,.34);
}
.ep-card__icon{
  font-size: 28px;
  margin-bottom: 8px;
}
.ep-card__title{
  margin:0 0 8px;
  font-size:28px;
  font-weight:800;
  color:#2a2117;
}
.ep-card__text{
  margin:0 0 12px;
  color: rgba(42,33,23,.76);
  line-height:1.5;
}
.ep-card__links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.ep-card__links span{
  display:inline-block;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(120,85,35,.08);
  border:1px solid rgba(120,85,35,.14);
  color:#5d4423;
  font-size:14px;
}
/* lower info blocks */
.ep-lower{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  margin-top: 10px;
}
.ep-panel{
  padding:20px 22px;
  border-radius:18px;
  background: rgba(255,252,246,.74);
  border:1px solid rgba(120,85,35,.18);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.ep-panel h2{
  margin:0 0 12px;
  border:0 !important;
  color:#2a2117 !important;
}
.ep-list{
  margin:0;
  padding-left: 18px;
}
.ep-list li{
  margin:8px 0;
}
.ep-note{
  color: rgba(42,33,23,.74);
  line-height:1.6;
}
@media (max-width: 900px){
  .ep-grid,
  .ep-lower{
    grid-template-columns: 1fr;
  }
  .ep-title{
    font-size:38px;
  }
  .ep-subtitle{
    font-size:18px;
  }
}
}

Версия от 16:05, 9 марта 2026

/* Размещённый здесь CSS-код будет загружаться для пользователей, использующих тему оформления Citizen */
/* ===== Ethereal Portal background ===== */

html, body{
  background-image: url("/resources/assets/ep-bg.jpg");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* карточки контента как в Terraria */
.mw-body,
.citizen-card,
#content{
  background: rgba(255,255,255,0.88) !important;
  backdrop-filter: blur(3px);
  border-radius: 12px;
}

/* ===== EP Main Page Showcase ===== */

.page-Main_Page .mw-body,
.page-Заглавная_страница .mw-body{
  background: rgba(255,248,235,.80) !important;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(120,85,35,.18);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

/* hero */
.ep-hero{
  padding: 28px 28px 18px;
  text-align: center;
}

.ep-kicker{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background: rgba(120,85,35,.10);
  border:1px solid rgba(120,85,35,.18);
  color:#7b5a2d;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:14px;
}

.ep-title{
  margin:0 0 10px;
  font-size:52px;
  line-height:1;
  font-weight:800;
  color:#2a2117;
}

.ep-subtitle{
  max-width: 850px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(42,33,23,.78);
}

/* grid */
.ep-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
  margin: 20px 0 12px;
}

.ep-card{
  display:block;
  text-decoration:none !important;
  padding:22px 22px 18px;
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(244,228,198,.78));
  border:1px solid rgba(120,85,35,.20);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ep-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
  border-color: rgba(120,85,35,.34);
}

.ep-card__icon{
  font-size: 28px;
  margin-bottom: 8px;
}

.ep-card__title{
  margin:0 0 8px;
  font-size:28px;
  font-weight:800;
  color:#2a2117;
}

.ep-card__text{
  margin:0 0 12px;
  color: rgba(42,33,23,.76);
  line-height:1.5;
}

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

.ep-card__links span{
  display:inline-block;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(120,85,35,.08);
  border:1px solid rgba(120,85,35,.14);
  color:#5d4423;
  font-size:14px;
}

/* lower info blocks */
.ep-lower{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  margin-top: 10px;
}

.ep-panel{
  padding:20px 22px;
  border-radius:18px;
  background: rgba(255,252,246,.74);
  border:1px solid rgba(120,85,35,.18);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.ep-panel h2{
  margin:0 0 12px;
  border:0 !important;
  color:#2a2117 !important;
}

.ep-list{
  margin:0;
  padding-left: 18px;
}

.ep-list li{
  margin:8px 0;
}

.ep-note{
  color: rgba(42,33,23,.74);
  line-height:1.6;
}

@media (max-width: 900px){
  .ep-grid,
  .ep-lower{
    grid-template-columns: 1fr;
  }

  .ep-title{
    font-size:38px;
  }

  .ep-subtitle{
    font-size:18px;
  }
}