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

Материал из wiki innovation station ss14
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
/* Общий фон для всех блоков и белый текст */
/* 🌑 Фон через ::before, затемнённый и прозрачный */
* {
body::before {
     background-color: transparent !important;
    content: "";
     color: #ffffff !important; /* Белый текст */
    position: fixed;
     font-weight: bold;
    top: 0;
     box-shadow: none !important;
    left: 0;
    height: 100vh;
    width: 100vw;
     background-image: url('https://wiki-innovationstation-ss14.ru/images/d/d6/СССП.png');
     background-size: cover;
    background-repeat: no-repeat;
     background-attachment: fixed;
     z-index: -1;
    opacity: 0.9; /* прозрачность картинки */
    filter: brightness(0.1); /* тёмность картинки */
}
}


/* Основной фон страницы */
/* ✨ Убираем стандартный фон body */
body {
body {
     background-image: url('https://wiki-innovationstation-ss14.ru/images/d/d6/СССП.png') !important;
     background: none !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    color: #ffffff !important; /* Подстраховка */
}
 
/* Основной контейнер страницы */
#content {
    background-color: transparent !important;
    padding: 20px;
    box-shadow: none;
     color: #ffffff !important;
     color: #ffffff !important;
}
}


/* Боковые панели */
/* 🌟 Общие настройки — белый текст, прозрачный фон, убираем тени */
#p-logo, #p-navigation, #p-search, #p-tb, #p-cactions, .portal {
* {
     background-color: transparent !important;
     background-color: transparent !important;
    padding: 10px;
     color: #ffffff !important;
     color: #ffffff !important;
    font-weight: bold;
    box-shadow: none !important;
}
}


/* Таблицы и списки */
/* 📄 Контейнеры и панели */
#content,
#p-logo, #p-navigation, #p-search, #p-tb, #p-cactions, .portal,
.vector-menu-content,
#footer,
.mw-warning, .mw-error,
table, th, td, ol, ul {
table, th, td, ol, ul {
     background-color: transparent !important;
     background-color: transparent !important;
     color: #ffffff !important;
     color: #ffffff !important;
    box-shadow: none !important;
}
}


/* Нижний футер */
/* 📋 Текст всех основных элементов */
#footer {
a, li, td, th, p, span, div, h1, h2, h3, h4, h5, h6 {
    background-color: transparent !important;
    padding: 10px;
     color: #ffffff !important;
     color: #ffffff !important;
}
}


/* Всплывающие окна и сообщения */
/* 🧩 Аккордеоны */
.mw-warning, .mw-error {
.accordion-header {
     background-color: transparent !important;
    cursor: pointer;
     color: #ffffff !important;
    padding: 10px;
}
     background-color: #333;
 
     border: 1px solid #555;
/* Меню */
    border-radius: 5px;
.vector-menu-content {
     margin-bottom: 5px;
     background-color: transparent !important;
     color: #ffffff !important;
     color: #ffffff !important;
}
/* Аккордеоны */
.accordion-header {
  cursor: pointer;
  padding: 10px;
  background-color: #333;
  border: 1px solid #555;
  border-radius: 5px;
  margin-bottom: 5px;
  color: #ffffff !important;
}
}


.accordion-header:hover {
.accordion-header:hover {
  background-color: #444;
    background-color: #444;
}
}


.accordion-content {
.accordion-content {
  display: none;
    display: none;
  padding: 10px;
    padding: 10px;
  background-color: #222;
    background-color: #222;
  border: 1px solid #444;
    border: 1px solid #444;
  border-radius: 5px;
    border-radius: 5px;
  margin-top: 5px;
    margin-top: 5px;
  color: #ffffff !important;
    color: #ffffff !important;
}
}


.accordion-content .accordion-header {
.accordion-content .accordion-header {
  margin-left: 20px;
    margin-left: 20px;
  background-color: #444;
    background-color: #444;
}
}


.accordion-content .accordion-content {
.accordion-content .accordion-content {
  margin-left: 20px;
    margin-left: 20px;
  background-color: #333;
    background-color: #333;
}
 
/* Дополнительная подстраховка для ссылок и текстов в списках */
a, li, td, th, p, span, div, h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}
}

Версия от 22:08, 12 июня 2025

/* 🌑 Фон через ::before, затемнённый и прозрачный */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-image: url('https://wiki-innovationstation-ss14.ru/images/d/d6/СССП.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.9; /* прозрачность картинки */
    filter: brightness(0.1); /* тёмность картинки */
}

/* ✨ Убираем стандартный фон body */
body {
    background: none !important;
    color: #ffffff !important;
}

/* 🌟 Общие настройки — белый текст, прозрачный фон, убираем тени */
* {
    background-color: transparent !important;
    color: #ffffff !important;
    font-weight: bold;
    box-shadow: none !important;
}

/* 📄 Контейнеры и панели */
#content,
#p-logo, #p-navigation, #p-search, #p-tb, #p-cactions, .portal,
.vector-menu-content,
#footer,
.mw-warning, .mw-error,
table, th, td, ol, ul {
    background-color: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* 📋 Текст всех основных элементов */
a, li, td, th, p, span, div, h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}

/* 🧩 Аккордеоны */
.accordion-header {
    cursor: pointer;
    padding: 10px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 5px;
    margin-bottom: 5px;
    color: #ffffff !important;
}

.accordion-header:hover {
    background-color: #444;
}

.accordion-content {
    display: none;
    padding: 10px;
    background-color: #222;
    border: 1px solid #444;
    border-radius: 5px;
    margin-top: 5px;
    color: #ffffff !important;
}

.accordion-content .accordion-header {
    margin-left: 20px;
    background-color: #444;
}

.accordion-content .accordion-content {
    margin-left: 20px;
    background-color: #333;
}