War Commander Wiki
War Commander Wiki
(customizing Tabber)
(customize Cite extension)
Line 33: Line 33:
 
}
 
}
 
/* End of customizing units gallery */
 
/* End of customizing units gallery */
  +
 
/* Customizing Tabber */
 
/* Customizing Tabber */
 
div.tabber {
 
div.tabber {
Line 68: Line 69:
 
}
 
}
 
/* End of Customizing Tabber */
 
/* End of Customizing Tabber */
  +
  +
/* Customizing Cite extension */
  +
ol.references li:target,
  +
sup.reference:target {
  +
background-color: var(--theme-accent-color);
  +
}
  +
/* End of customizing Cite extension */

Revision as of 12:23, 12 June 2021

/* CSS placed here will affect the Fandomdesktop skin for all of the users. **/

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
	font-style: italic;
}
.allpagesredirect:after {
	color: #808080; content: " (redirect)";
}
.watchlistredir {
	font-style: italic;
}
/* Customizing units gallery */
div.gallery-units > div {
	width: 135px;
	height: 200px;
	margin: 5px;
	float: left;
	box-sizing: border-box;
}
div.gallery-units > div:hover {
	border: 1px solid #777;
}
div.gallery-units:before {
	content: "";
	display: table;
	clear: both;
}
div.gallery-units:after {
	content: "";
	display: table;
	clear: both;
}
/* End of customizing units gallery */

/* Customizing Tabber */
div.tabber {
	border-left: 1px solid var(--theme-link-color);
	border-right: 1px solid var(--theme-link-color);
	border-bottom: 1px solid var(--theme-link-color);
}
div.tabber > div.wds-tabs__wrapper {
	border-style: none !important;
}
div.tabber li.wds-tabs__tab {
    -moz-border-radius-topleft: 10px !important;
    -moz-border-radius-topright: 10px !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border: 1px solid var(--theme-link-color) !important;
}
div.tabber li.wds-tabs__tab:first-child {
    -moz-border-radius-topleft: 0 !important;
    border-top-left-radius: 0 !important;
    border-left-style: none !important;
}
div.tabber li.wds-tabs__tab:last-child {
    -moz-border-radius-topright: 0 !important;
    border-top-right-radius: 0 !important;
    border-right-style: none !important;
}
div.tabber li.wds-tabs__tab.wds-is-current {
    border-bottom: 1px solid transparent !important;
    box-shadow: none;
    cursor: default;
}
div.tabber > div.wds-tab__content {
	padding-left: 5px;
}
/* End of Customizing Tabber */

/* Customizing Cite extension */
ol.references li:target,
sup.reference:target {
	background-color: var(--theme-accent-color);
}
/* End of customizing Cite extension */