From Dark and Darker Wiki

No edit summary
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 18: Line 18:
font-size: 13px;
font-size: 13px;
line-height: 1.5;
line-height: 1.5;
margin-left: 5%;
margin-left: 8px;
padding: 2px 3px 1px;
padding: 2px 15px 1px;
position: relative;
position: relative;
top: -2px;
top: -2px;

Revision as of 06:09, 4 February 2023

/* CSS placed here will be applied to all skins */
/*=============================================================
 Tabs (Template:StatsCardWeaponTabs)
==============================================================*/

/* See also: MediaWiki:Common.js */

.cardtabs__panel {
	position: relative;
	z-index: 1;
}
.cardtabs__panel--js-hidden {
	display: none;
}
.cardtabs__button {
	border-radius: 0 0 5px 5px;
	display: inline-block;
	font-size: 13px;
	line-height: 1.5;
	margin-left: 8px;
	padding: 2px 15px 1px;
	position: relative;
	top: -2px;
}
.cardtabs__button:not(.cardtabs__button--disabled):hover {
	 cursor: url("../custom-cursorlink.webp") 4 4, auto;
}
.cardtabs__button--active {
	border-top: 0;
	z-index: 1;
}
.cardtabs__button--disabled {
	opacity: 0.2;
}
/* Info/Unlock panels */
.cardtabs__button--icon-info img {
    position: relative;
    top: -2px;
}
.cardtabs__button--icon-unlock img {
    position: relative;
    top: -1px;
}
.cardtabs__button--icon-unlock {
	padding-bottom: 0;
}


/*=============================================================
 Toggle Buttons (Template:ToggleStart + Template:ToggleButton)
==============================================================*/

.btn {
	background: rgba(255,255,255,0.05);
	border-radius: 3px;
	border: 1px solid white;
	display: inline-block;
	font-size: 0.85rem;
	font-weight: bold;
	padding: 6px 10px;
}
.btn:hover {
	background: rgba(255,255,255,0.1);
}
.btn--link {
	padding: 0;
}
.btn--link > a {
    padding: 6px 15px 6px 10px;
    padding-right: 15px !important; /* override needed due to exteral link bg image icon */
    display: inline-block;
}
.btn--active {
    border-color: #366436;
}
.btn--inactive {
    border-color: #643636;
}