MediaWiki:Common.css: различия между версиями
Материал из wiki innovation station ss14
Userr (обсуждение | вклад) Нет описания правки |
Userr (обсуждение | вклад) Нет описания правки |
||
Строка 1: | Строка 1: | ||
/* Общий фон для всех блоков */ | /* Общий фон для всех блоков и белый текст */ | ||
* { | * { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
color: # | color: #ffffff !important; /* Белый текст */ | ||
font-weight: bold; | font-weight: bold; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
Строка 13: | Строка 13: | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
background-attachment: fixed !important; | background-attachment: fixed !important; | ||
color: #ffffff !important; /* Подстраховка */ | |||
} | } | ||
/* Основной контейнер страницы */ | /* Основной контейнер страницы */ | ||
#content { | #content { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
padding: 20px; | padding: 20px; | ||
box-shadow: none; | box-shadow: none; | ||
color: #ffffff !important; | |||
} | } | ||
/* Боковые панели */ | /* Боковые панели */ | ||
#p-logo, #p-navigation, #p-search, #p-tb, #p-cactions, .portal { | #p-logo, #p-navigation, #p-search, #p-tb, #p-cactions, .portal { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
padding: 10px; | padding: 10px; | ||
color: #ffffff !important; | |||
} | } | ||
/* Таблицы и списки */ | /* Таблицы и списки */ | ||
table, th, td, ol, ul { | table, th, td, ol, ul { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
color: #ffffff !important; | |||
} | } | ||
/* Нижний футер */ | /* Нижний футер */ | ||
#footer { | #footer { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
padding: 10px; | padding: 10px; | ||
color: # | color: #ffffff !important; | ||
} | } | ||
/* Всплывающие окна и сообщения */ | /* Всплывающие окна и сообщения */ | ||
.mw-warning, .mw-error { | .mw-warning, .mw-error { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
color: #ffffff !important; | |||
} | } | ||
/* | /* Меню */ | ||
.vector-menu-content { | .vector-menu-content { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
color: #ffffff !important; | |||
} | } | ||
/* Аккордеоны */ | |||
/* | |||
.accordion-header { | .accordion-header { | ||
cursor: pointer; | cursor: pointer; | ||
Строка 60: | Строка 64: | ||
border-radius: 5px; | border-radius: 5px; | ||
margin-bottom: 5px; | margin-bottom: 5px; | ||
color: # | 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; | ||
Строка 76: | Строка 78: | ||
border-radius: 5px; | border-radius: 5px; | ||
margin-top: 5px; | margin-top: 5px; | ||
color: # | color: #ffffff !important; | ||
} | } | ||
.accordion-content .accordion-header { | .accordion-content .accordion-header { | ||
margin-left: 20px; | margin-left: 20px; | ||
Строка 88: | Строка 89: | ||
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:06, 12 июня 2025
/* Общий фон для всех блоков и белый текст */ * { background-color: transparent !important; color: #ffffff !important; /* Белый текст */ font-weight: bold; box-shadow: none !important; } /* Основной фон страницы */ body { background-image: url('https://wiki-innovationstation-ss14.ru/images/d/d6/СССП.png') !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; } /* Боковые панели */ #p-logo, #p-navigation, #p-search, #p-tb, #p-cactions, .portal { background-color: transparent !important; padding: 10px; color: #ffffff !important; } /* Таблицы и списки */ table, th, td, ol, ul { background-color: transparent !important; color: #ffffff !important; } /* Нижний футер */ #footer { background-color: transparent !important; padding: 10px; color: #ffffff !important; } /* Всплывающие окна и сообщения */ .mw-warning, .mw-error { background-color: transparent !important; color: #ffffff !important; } /* Меню */ .vector-menu-content { background-color: transparent !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 { 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; } /* Дополнительная подстраховка для ссылок и текстов в списках */ a, li, td, th, p, span, div, h1, h2, h3, h4, h5, h6 { color: #ffffff !important; }