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

Материал из wiki innovation station ss14
Нет описания правки
Нет описания правки
 
(не показаны 2 промежуточные версии этого же участника)
Строка 1: Строка 1:
/* Общий фон для всех блоков и белый текст */
* {
    background-color: transparent !important;
    color: #ffffff !important; /* Белый текст */
    font-weight: bold;
    box-shadow: none !important;
}


/* Основной фон страницы */
/* 🌑 Фон через ::before, затемнённый и прозрачный */
body {
body::before {
     background-image: url('https://wiki-innovationstation-ss14.ru/images/d/d6/СССП.png') !important;
    content: "";
     background-size: cover !important;
    position: fixed;
     background-repeat: no-repeat !important;
    top: 0;
     background-attachment: fixed !important;
    left: 0;
     color: #ffffff !important; /* Подстраховка */
    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;
    background-color: rgba(0, 0, 0, 0.6); /* ← вот это затемняет, но не палит "кота" */
    background-blend-mode: darken; /* ← делает фон темнее через смешивание */
    filter: brightness(1); /* ← можно убрать если слишком тускло */
}
}


/* Основной контейнер страницы */
#content {
    background-color: transparent !important;
    padding: 20px;
    box-shadow: none;
    color: #ffffff !important;
}


/* Боковые панели */
#p-logo, #p-navigation, #p-search, #p-tb, #p-cactions, .portal {
    background-color: transparent !important;
    padding: 10px;
    color: #ffffff !important;
}


/* Таблицы и списки */
/* ✨ Убираем стандартный фон body */
table, th, td, ol, ul {
body {
     background-color: transparent !important;
     background: none !important;
     color: #ffffff !important;
     color: #ffffff !important;
}
}


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


/* Всплывающие окна и сообщения */
/* 📄 Контейнеры и панели */
.mw-warning, .mw-error {
#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;
     background-color: transparent !important;
     color: #ffffff !important;
     color: #ffffff !important;
    box-shadow: none !important;
}
}


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


/* Аккордеоны */
/* 🧩 Аккордеоны */
.accordion-header {
.accordion-header {
  cursor: pointer;
    cursor: pointer;
  padding: 10px;
    padding: 10px;
  background-color: #333;
    background-color: #333;
  border: 1px solid #555;
    border: 1px solid #555;
  border-radius: 5px;
    border-radius: 5px;
  margin-bottom: 5px;
    margin-bottom: 5px;
  color: #ffffff !important;
    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:13, 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;
    background-color: rgba(0, 0, 0, 0.6); /* ← вот это затемняет, но не палит "кота" */
    background-blend-mode: darken; /* ← делает фон темнее через смешивание */
    filter: brightness(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;
}