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

Материал из Ashen Sky
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 67: Строка 67:
   body {
   body {
   background-color: #261f19;
   background-color: #261f19;
  }
}
  figure[typeof~="mw:File/Thumb"] > figcaption, figure[typeof~="mw:File/Frame"] > figcaption,
figure[typeof~="mw:File/Thumb"] > figcaption, figure[typeof~="mw:File/Frame"] > figcaption,
  figure[typeof~="mw:File/Thumb"], figure[typeof~="mw:File/Frame"] {
figure[typeof~="mw:File/Thumb"], figure[typeof~="mw:File/Frame"] {
  background-color: #261f19;
  background-color: #261f19;
  }
}
.vector-feature-limited-width-disabled .mw-content-container,
.vector-feature-limited-width-disabled .mw-table-of-contents-container,
.vector-feature-limited-width-content-disabled .mw-content-container,
.vector-feature-limited-width-content-disabled .mw-table-of-contents-container
{
width: auto;
}
}
}
.vector-dropdown .vector-dropdown-content, .vector-dropdown > .vector-menu-content {
.vector-dropdown .vector-dropdown-content, .vector-dropdown > .vector-menu-content {
Строка 100: Строка 107:
.vector-feature-page-tools-enabled.vector-feature-toc-pinned-enabled #mw-panel-toc {
.vector-feature-page-tools-enabled.vector-feature-toc-pinned-enabled #mw-panel-toc {
margin-left: -28px;
margin-left: -28px;
}
.vector-feature-limited-width-disabled .mw-content-container,
.vector-feature-limited-width-disabled .mw-table-of-contents-container,
.vector-feature-limited-width-content-disabled .mw-content-container,
.vector-feature-limited-width-content-disabled .mw-table-of-contents-container
{
width: auto;
}
}

Версия от 13:25, 14 октября 2023

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.mw-page-container {
	background-color: #30271e;
}

body,
.vector-pinnable-header-label,
.vector-feature-page-tools-enabled .vector-pinnable-element .vector-menu-heading, .vector-dropdown-content .vector-menu-heading,
.vector-menu-tabs .mw-list-item.selectevd a, .vector-menu-tabs .mw-list-item.selected a:visited,
.mw-footer li,
.vector-toc .vector-toc-list-item-active > .vector-toc-link, .vector-toc .vector-toc-level-1-active:not(.vector-toc-list-item-expanded) > .vector-toc-link, .vector-toc .vector-toc-list-item-active.vector-toc-level-1-active > .vector-toc-link,
.vector-menu-tabs .mw-list-item.selected a, .vector-menu-tabs .mw-list-item.selected a:visited
{
	color: #ffffff;
}

.mw-ui-icon::before {
	filter: invert(80%) sepia(65%) saturate(2334%) hue-rotate(330deg) brightness(81%) contrast(87%);
}

a,
.vector-menu-tabs .mw-list-item a,
.vector-feature-page-tools-enabled .vector-pinnable-element .mw-list-item a,
.vector-feature-page-tools-disabled .vector-main-menu-group .vector-menu-content li a, .vector-feature-page-tools-disabled .vector-main-menu-action-item .vector-menu-content li a,
.vector-dropdown-content .mw-list-item a,
.vector-pinnable-header-toggle-button,
#pt-userpage-2 a:not(.mw-selflink),
.vector-toc .vector-toc-link {
	color: #c58439; /* ashanov golden */
}

ul {
	list-style-image: none;
}

.vector-pinnable-header-toggle-button:hover {
	color: #eb9d44;
}

.vector-feature-page-tools-enabled .vector-pinnable-element .mw-list-item a:not(.mw-selflink):visited, .vector-dropdown-content .mw-list-item a:not(.mw-selflink):visited,
a:visited{
	color: #92612a;
}
.vector-feature-page-tools-enabled #vector-main-menu-pinned-container .vector-main-menu,
.vector-feature-page-tools-disabled .vector-main-menu,
.vector-toc {
	background-color: #261f19;
	box-shadow:
		0 0 0 1px white, /* 1-pixel white border */
		0 0 0 3px #30271e, /* 3-pixel black space */
		0 0 0 4px gray;  /* 1-pixel gray border */
}

#vector-toc-pinned-container .vector-toc::after {
	background: none;
}

h1, h2, h3, h4, h5, h6 {
	color: #98b0c3;
}

#vector-page-tools-pinned-container .vector-page-tools::after {
	background: none;
}

@media screen {
  body {
  	background-color: #261f19;
	}
	figure[typeof~="mw:File/Thumb"] > figcaption, figure[typeof~="mw:File/Frame"] > figcaption,
	figure[typeof~="mw:File/Thumb"], figure[typeof~="mw:File/Frame"] {
	  background-color: #261f19;
	}
	.vector-feature-limited-width-disabled .mw-content-container,
	.vector-feature-limited-width-disabled .mw-table-of-contents-container,
	.vector-feature-limited-width-content-disabled .mw-content-container,
	.vector-feature-limited-width-content-disabled .mw-table-of-contents-container
	{
		width: auto;
	}
}
.vector-dropdown .vector-dropdown-content, .vector-dropdown > .vector-menu-content {
	background: #261f19;
}

.vector-sticky-header {
	background: #261f19;
	background-color: #261f19;
}

.mw-datatable tr,
.mw-datatable th,
.mw-datatable td{
	background: #261f19;
}

#mw-allmessagestable tbody:hover td {
	background: #30271e;
}

.vector-feature-toc-pinned-enabled #mw-panel-toc {
	contain: inherit;
}

.vector-feature-page-tools-enabled #vector-main-menu-pinned-container .vector-main-menu,
.vector-feature-page-tools-disabled.vector-feature-toc-pinned-enabled #mw-panel-toc,
.vector-feature-page-tools-enabled.vector-feature-toc-pinned-enabled #mw-panel-toc {
	margin-left: -28px;
}