Действия

MediaWiki

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

Материал из ВикиВоины

Строка 443: Строка 443:
 
     background: #0179a3;
 
     background: #0179a3;
 
}
 
}
 
.question-mark {
 
  color: blue;
 
  cursor: pointer;
 
}
 
 
#tooltip {
 
    display: none;
 
    position: absolute;
 
    background-color: white;
 
    border: 1px solid gray;
 
    padding: 5px;
 
  }
 

Версия 18:18, 2 февраля 2023

/* Должно удалить футер*/
#footer-poweredbyico { display: none; }

/*link colors */
.mw-body a:link {color: #3a4247}
.mw-body a:active {color: #696969}
.mw-body a:visited {color: #696969}
.mw-body a:hover {color: #2786c2}
.mw-body a:link.new { color: #ba0000; } /* new links */
.mw-body a.new:visited { color:#cf6363; }
.mw-body a.external { color: #696969; } /* external links */
.mw-body-content a.external:visited {color: #696969}
.mw-body a:link.stub { color: #a32b2b; } /* hovered links */

/* Картинки оформления инфобокса*/

.portable-infobox .pi-title {
    background: url(https://wikiwarriors.org/mediawiki/images/infobox-head-top.png);
}

.portable-infobox > .pi-item:last-child {
    background: url(https://wikiwarriors.org/mediawiki/images/infobox-head-bottom.png) bottom;
    padding-bottom: 20px;
    background-repeat-y: no-repeat;
}

/* Стили модульного инфобокса */
/** Заголовок инфобокса **/
.pi-title {
    text-align: center;
}
 
/** Подпись инфобокса (общие) **/
.pi-caption {
    text-align :center;
    font-size: 12px;
}
 
/** Красная тема **/
.pi-theme-red {
    background-color: #66120e;
    color: #ffffff;
}
 
.pi-theme-red .pi-caption,
.pi-theme-red .pi-title,
.pi-theme-red .pi-secondary-background  {
    background-color: #500e0b; /* Цвет фона */
    color: #ffffff;
}

.pi-theme-red a:link {color: #29a4f2}
.pi-theme-red a:hover {color: #29a4f2}
.pi-theme-red a:visited {color: #5fafd2}
.pi-theme-red a:visited:hover {color: #29a4f2}
.pi-theme-red a:link.new {color: #ff6767;}
.pi-theme-red a.new:visited { color: #fb7979; }
.pi-theme-red a.external { color: #29a4f2; }
.pi-theme-red a.external:visited { color: #5fafd2; }
 
/** Синяя тема **/
.pi-theme-blue {
    background-color: #1315a8;
    color: #ffffff;
}
 
.pi-theme-blue .pi-caption,
.pi-theme-blue .pi-title,
.pi-theme-blue .pi-secondary-background  {
    background-color: #000150;
    color: #fbfbfb;
}
 
.pi-theme-blue a:link {color: #29a4f2}
.pi-theme-blue a:hover {color: #29a4f2}
.pi-theme-blue a:visited {color: #5fafd2}
.pi-theme-blue a:visited:hover {color: #29a4f2}
.pi-theme-blue a:link.new {color: #ff6767;}
.pi-theme-blue a.new:visited { color: #fb7979; }
.pi-theme-blue a.external { color: #29a4f2; }
.pi-theme-blue a.external:visited { color: #5fafd2; }
 
/** Желтая тема **/
.pi-theme-yellow {
    background-color: #563815;
    color: #ffffff;
}
 
.pi-theme-yellow .pi-caption,
.pi-theme-yellow .pi-title,
.pi-theme-yellow .pi-secondary-background  {
    background-color: #3a1f00;
    color: #ffffff;
}
 
.pi-theme-yellow a:link {color: #29a4f2}
.pi-theme-yellow a:hover {color: #29a4f2}
.pi-theme-yellow a:visited {color: #5fafd2}
.pi-theme-yellow a:visited:hover {color: #29a4f2}
.pi-theme-yellow a:link.new {color: #ff6767;}
.pi-theme-yellow a.new:visited { color: #fb7979; }
.pi-theme-yellow a.external { color: #29a4f2; }
.pi-theme-yellow a.external:visited { color: #5fafd2; } 
 
/** Зелёная тема **/
.pi-theme-green {
    background-color: #0b4424;
    color: #ffffff;
}
 
.pi-theme-green .pi-caption,
.pi-theme-green .pi-title,
.pi-theme-green .pi-secondary-background {
    background-color: #04351a;
    color: #ffffff;
}

.pi-theme-green a:link {color: #29a4f2}
.pi-theme-green a:hover {color: #29a4f2}
.pi-theme-green a:visited {color: #5fafd2}
.pi-theme-green a:visited:hover {color: #29a4f2}
.pi-theme-green a:link.new {color: #ff6767;}
.pi-theme-green a.new:visited { color: #fb7979; }
.pi-theme-green a.external { color: #29a4f2; }
.pi-theme-green a.external:visited { color: #5fafd2; }

/** Фиолетовая тема **/
.pi-theme-violet {
    background-color: #2e0592;
    color: #fff;
}
 
.pi-theme-violet .pi-caption,
.pi-theme-violet .pi-title,
.pi-theme-violet .pi-secondary-background  {
    background-color: #28034a;
    color: #ffffff;
}

.pi-theme-violet a:link {color: #29a4f2}
.pi-theme-violet a:hover {color: #29a4f2}
.pi-theme-violet a:visited {color: #5fafd2}
.pi-theme-violet a:visited:hover {color: #29a4f2}
.pi-theme-violet a:link.new {color: #ff6767;}
.pi-theme-violet a.new:visited { color: #fb7979; }
.pi-theme-violet a.external { color: #29a4f2; }
.pi-theme-violet a.external:visited { color: #5fafd2; }


/** Серая тема **/
.pi-theme-grey {
    background-color: #4a4a4a;
    color: #fff;
}
 
.pi-theme-grey .pi-caption,
.pi-theme-grey .pi-title,
.pi-theme-grey .pi-secondary-background  {
    background-color: #232323;
    color: #ffffff;
}

.pi-theme-grey a:link {color: #29a4f2}
.pi-theme-grey a:hover {color: #29a4f2}
.pi-theme-grey a:visited {color: #5fafd2}
.pi-theme-grey a:visited:hover {color: #29a4f2}
.pi-theme-grey a:link.new {color: #ff6767;}
.pi-theme-grey a.new:visited { color: #fb7979; }
.pi-theme-grey a.external { color: #29a4f2; }
.pi-theme-grey a.external:visited { color: #5fafd2; }
/* Конец стилей модульного инфобокса */

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	/* @noflip */
	float: left;
}
div.NavFrame div.NavHead {
	line-height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position: absolute;
	top: 0;
	/* @noflip */
	right: 3px;
	font-weight: normal;
	font-size: 90%;
}

.client-js .NavFrame.collapsed > .NavContent {
	display: none;
}

div#p-personal h5 {
    color: #fff;
}

div#p-personal a {
    color: #fff;
}

div#p-personal a:hover {
    color: #FFFFFF;
    background: transparent;
}

div#mw-panel div.portal h3,
#mw-panel.collapsible-nav .portal h3 a,
#mw-panel.collapsible-nav .portal h3 a:visited,
#mw-panel.collapsible-nav .portal.collapsed h3 a,
#mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
    color: #fff;
    font-weight: bold;
}

div#mw-panel div.portal div.body ul li a:visited {
    color: #fff;
}

div#mw-panel div.portal div.body ul li a {
    color: #fff;
}

div#mw-panel div.portal,
div#mw-panel div.portal div.body,
#mw-panel.collapsible-nav .portal {
    background-image: none;
}
/* ------------------ */

.tabs-tabbox > .tabs-container {
    max-width: 70% !important;
}

div#mw-page-base {
    background: transparent !important;
}

div#mw-head-base {
    background: transparent;
}

#p-logo a {
    height: 180px !important;
}

/**
 * Styling for links generated by [[MediaWiki:Edittools]]
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2012-02-29
 */
.mw-charinsert-buttons {
	margin-top: 10px;
	border: 1px solid #aaaaaa;
	padding: 1px;
	text-align: center;
	font-size: 110%;
}
.mw-charinsert-buttons a {
	color: black;
	background-color: #cde !important;
	font-weight: bold;
	font-size: .9em;
	text-decoration: none;
	border: thin #069 outset;
	padding: 0 .1em .1em;
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
	background-color: #bcd;
	border-style: inset;
}
.client-js .mw-edittools-section {
	display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
	font-size: 0.9em;
	padding-left: 1px;
	padding-right: 1px;
	margin-left: 1px;
}

.quiz .sign {
    min-width: 30px;
}

.collapsibleBox {
	box-sizing: border-box;
}

.collapsibleBox .NavHead {
	line-height: 1.6em;
	min-height: 1.2em;
	padding: .1em 6em;
}
.collapsibleBox .NavToggle {
	font-size: inherit;
	position: absolute;
	top: .1em;
	width: 5em;
}
.collapsibleBox-title-rightHideLink .NavToggle {
	text-align: right;
	right: 1em;
}
.collapsibleBox-title-leftHideLink .NavToggle {
	text-align: left;
	left: 1em;
}
.collapsibleBox .collapsibleBox-title-rightTitle.collapsibleBox-title-rightHideLink {
	padding-right: 6.5em;
}
:not(.collapsibleBox-transparent) .collapsibleBox-title-leftTitle.collapsibleBox-title-rightHideLink {
	padding-left: 1em;
}
.collapsibleBox .collapsibleBox-title-leftTitle.collapsibleBox-title-leftHideLink {
	padding-left: 6.5em;
}
:not(.collapsibleBox-transparent) .collapsibleBox-title-rightTitle.collapsibleBox-title-leftHideLink {
	padding-right: 1em;
}

.collapsibleBox .NavContent {
	padding: .25em 1em;
}

.collapsibleBox-transparent.NavFrame {
	border: none;
}
.collapsibleBox-transparent.NavFrame .NavHead {
	background: transparent;
	padding: .1em 5.5em;
}
.collapsibleBox-transparent .collapsibleBox-title-rightHideLink .NavToggle {
	text-align: right;
	right: 0;
}
.collapsibleBox-transparent .collapsibleBox-title-leftHideLink .NavToggle {
	text-align: left;
	left: 0;
}
.collapsibleBox-transparent.NavFrame .collapsibleBox-title-rightTitle.collapsibleBox-title-rightHideLink,
.collapsibleBox-transparent.NavFrame .collapsibleBox-title-leftTitle.collapsibleBox-title-rightHideLink {
	padding-left: 0;
}
.collapsibleBox-transparent.NavFrame .collapsibleBox-title-rightTitle.collapsibleBox-title-leftHideLink,
.collapsibleBox-transparent.NavFrame .collapsibleBox-title-leftTitle.collapsibleBox-title-leftHideLink {
	padding-right: 0;
}
.collapsibleBox-transparent .NavContent {
	padding: .25em 0;
}

.socials-mob {
 display: none;
}
#yandex_rtb_R-A-462711-2 {
	margin-left: -10px;
}

.mw-hidden-catlinks {
	display: none;
}

.scrollup {
  width: 60px;
  height: 60px;
  opacity: 0.3;
  position: fixed;
  z-index: 1;    
  bottom: 3%;
  right: 1%;
  display: none;
  text-indent: -9999px;
  background: url('https://wikiwarriors.org/mediawiki/images/b/ba/Arrow-up.png') no-repeat;
  transition: all 0.2s;
}

.scrollup:hover {
  opacity: 0.8;
}

.fancytree ul {
    background: none;
    border: none;
    font-size: 12px;
}
ul.fancytree-container {
    outline: 0;
    border: none;
    overflow: hidden;
}
.fancytree p {
    display: none;
}
span.fancytree-title {
    cursor: default;
}
span.fancytree-title a {
    color: black;
}

.pi-section-navigation .pi-section-tab.pi-section-active, .pi-section-navigation .pi-section-tab.current, .pi-media-collection .pi-tab-link.current {
    background: #0179a3;
}
.pi-section-navigation .pi-section-tab, .pi-media-collection .pi-tab-link {
	border: none;
}
.pi-media-collection .pi-tab-link:hover {
	background: #6bb4ce;
}
.pi-media-collection .pi-tab-link.current:hover {
    background: #0179a3;
}