From Dark and Darker Wiki

No edit summary
m (testing removing text rotation on enchant table)
 
(26 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.stripedtable tr:nth-child(even) {
.stripedtable tr:nth-child(even) {
    background-color: rgb(100,100,100,0.3);
background-color: rgb(100,100,100,0.3);
}
}


Line 27: Line 27:
==============================================================*/
==============================================================*/
:root {
:root {
    --rarity-Elite: 255,30,30;
--rarity-Elite: 255,30,30;
    --rarity-Nightmare: 120, 60, 140;
--rarity-Nightmare: 120, 60, 140;
}
}
.rarityElite {
.rarityElite {
    border: 1px solid rgb(var(--rarity-Elite),.5);
border: 1px solid rgb(var(--rarity-Elite),.5);
    background: linear-gradient(360deg,rgb(var(--rarity-Elite),.5),rgba(0,0,0,0.5));
background: linear-gradient(360deg,rgb(var(--rarity-Elite),.5),rgba(0,0,0,0.5));
}
}
.colorrarityElite {
.colorrarityElite {
    color: rgb(var(--rarity-Elite));
color: rgb(var(--rarity-Elite));
}
}
.rarityNightmare {
.rarityNightmare {
    border: 1px solid rgb(var(--rarity-Nightmare),.5);
border: 1px solid rgb(var(--rarity-Nightmare),.5);
    background: linear-gradient(360deg,rgb(var(--rarity-Nightmare),.5),rgba(0,0,0,0.5));
background: linear-gradient(360deg,rgb(var(--rarity-Nightmare),.5),rgba(0,0,0,0.5));
}
}
.colorrarityNightmare {
.colorrarityNightmare {
    color: rgb(var(--rarity-Nightmare));
color: rgb(var(--rarity-Nightmare));
}
}
.cr0 {
.cr0 {
    color: rgb(var(--rarity-0));
color: rgb(var(--rarity-0));
}
}
.cr1 {
.cr1 {
    color: rgb(var(--rarity-1));
color: rgb(var(--rarity-1));
}
}
.cr2 {
.cr2 {
    color: rgb(var(--rarity-2));
color: rgb(var(--rarity-2));
}
}
.cr3 {
.cr3 {
    color: rgb(var(--rarity-3));
color: rgb(var(--rarity-3));
}
}
.cr4 {
.cr4 {
    color: rgb(var(--rarity-4));
color: rgb(var(--rarity-4));
}
}
.cr5 {
.cr5 {
    color: rgb(var(--rarity-5));
color: rgb(var(--rarity-5));
}
}
.cr6 {
.cr6 {
    color: rgb(var(--rarity-6));
color: rgb(var(--rarity-6));
}
}
.cr7 {
.cr7 {
    color: rgb(var(--rarity-7));
color: rgb(var(--rarity-7));
}
}
.cr8 {
.cr8 {
    color: rgb(var(--rarity-7));
color: rgb(var(--rarity-7));
}
}


/*=============================================================
Enchantment Table
==============================================================*/
table.enchantmenttable {
border-collapse: separate;
border-spacing: 0;
text-align: center;
font-weight: 500;
color: #EEED;
text-shadow: 1px 1px 2px #000;
th {
background-color: #777;
padding: 5px;
border: 1.5px solid #AAA9;
}
td {
padding: 5px;
border: 1px solid #AAA7;
}
tr:first-child {
position: sticky;
top: 0;
height: 55px;
z-index: 14;
}
tr:nth-child(2) {
position: sticky;
top: 55px;
z-index: 14;
}
tr:nth-child(2n of #Attributes),
tr:nth-child(1 of #Attributes) {
background-color: #45753380;
}
tr:nth-child(2n of #Physical-Damage),
tr:nth-child(1 of #Physical-Damage) {
background-color: #BB432A80;
}
tr:nth-child(2n of #Magical-Damage),
tr:nth-child(1 of #Magical-Damage) {
background-color: #2A6DAC80;
}
tr:nth-child(2n of #Reductions),
tr:nth-child(1 of #Reductions) {
background-color: #99591A80;
}
tr:nth-child(2n of #Actions),
tr:nth-child(1 of #Actions) {
background-color: #8566B780;
}
tr:nth-child(2n of #Health),
tr:nth-child(1 of #Health) {
background-color: #FF300080;
}
tr:nth-child(2n of #Healing),
tr:nth-child(1 of #Healing) {
background-color: #2B884A80;
}
tr:nth-child(2n of #Statuses),
tr:nth-child(1 of #Statuses) {
background-color: #B340B380;
}
tr:nth-child(2n of #Memory),
tr:nth-child(1 of #Memory) {
background-color: #2B9DA180;
}
tr:nth-child(2n of #Misc),
tr:nth-child(1 of #Misc) {
background-color: #F3CE2B80;
}
td:nth-child(2n of :not([colspan]):not([id="gem"])):not(:first-child):not(:last-child) {
text-align: right;
border-right: none;
}
td:nth-child(2n+1 of :not([colspan]):not([id="gem"])):not(:first-child):not(:last-child) {
text-align: left;
border-left: none;
}
}


/*=============================================================
/*=============================================================
Line 77: Line 157:
==============================================================*/
==============================================================*/
div.notice{
div.notice{
    position:relative;
position:relative;


    >div:first-child {
>div:first-child {
        position:absolute;
position:absolute;
        height:100%;
height:100%;
        width:100%;
width:100%;
        background:linear-gradient(#0000 0%, #000B 5%, #000 50%, #000B 95%, #0000 100%);
background:linear-gradient(#0000 0%, #000B 5%, #000 50%, #000B 95%, #0000 100%);


        >div:first-child {
>div:first-child {
            position:absolute;
position:absolute;
            height:100%;
height:100%;
            width:100%;
width:100%;
            z-index:999;
z-index:999;


            >p {
>p {
                position:relative;
position:relative;
                width:100%;
width:100%;
                top:55%;
top:60%;
                text-align:center;
text-align:center;
                font-size:18px;
font-size:18px;
                text-decoration:underline;
text-decoration:underline;
            }
}
        }
}
        >div:first-child+div {
>div:first-child+div {
            position:relative;
position:relative;
            width:100%;
width:100%;
            top:45%;
top:35%;
            transform:translateY(-50%); text-align:center;
transform:translateY(-50%); text-align:center;


            >p {
>p {
                font-size:24px;
font-size:24px;
            }
}
        }
}
    }
}
}
}


Line 117: Line 197:
==============================================================*/
==============================================================*/
table.loottable, table.dropsourcetable {
table.loottable, table.dropsourcetable {
    border-spacing: 0px;
border-spacing: 0px;
    border-collapse:collapse;
border-collapse:collapse;
    padding: 10px;
padding: 10px;
    text-align:center;
text-align:center;
    vertical-align:middle;
vertical-align:middle;
    text-shadow:1px 1px 4px #000;
text-shadow:1px 1px 4px #000;


    & td:first-child {
& td[rowspan] {
        backgound-color: #0000;
background-color: black;
    }
}


    & caption, & th, & td {
& caption, & th, & td {
        border: 1px solid #eeea;
border: 1px solid #eeea;
        padding: 5px;
padding: 5px;
    }
}


    & caption, & th, &.summary td:first-child {
& caption, & th, &.summary td:first-child {
        background-color: #eee3;
background-color: #eee3;
        font-weight: bold;
font-weight: bold;
    }
}


    & div.iconbox {
& div.iconbox {
        display: inline-flex;
display: inline-flex;
        width: max-content;
width: max-content;
        max-width: initial;
max-width: initial;
        flex-direction: column;
flex-direction: column;
        align-items: center;
align-items: center;
        flex-wrap: wrap;
flex-wrap: wrap;
        white-space: pre-wrap;
white-space: pre-wrap;


        >a {
>a {
            font-weight: bold;
font-weight: bold;
        }
}
    }
}
}
}
table.loottable {
table.loottable {
    & tr:has(> :last-child:nth-child(6)):has(> td) {
& tr:has(> :last-child:nth-child(6)):has(> td) {
        border-top: 3px solid #eeea;
border-top: 3px solid #eeea;
    }
}
}
}
table.dropsourcetable {
table.dropsourcetable {
    & tr:has(> :last-child:nth-child(4)):has(> td) {
& tr:has(> :last-child:nth-child(4)):has(> td) {
        border-top: 3px solid #eeea;
border-top: 3px solid #eeea;
    }
}
}
}


Line 169: Line 247:
==============================================================*/
==============================================================*/
.image-row {
.image-row {
    display: flex;
display: flex;
    flex-wrap: wrap;
flex-wrap: wrap;
    justify-content: center;
justify-content: center;
    align-items: center;
align-items: center;
    margin-top: 20px;
margin-top: 20px;
}
}
.image-container {
.image-container {
    position: relative;
position: relative;
    margin: 10px;
margin: 10px;
    height: fit-content;
height: fit-content;
}
}
.image-container img {
.image-container img {
    display: block;
display: block;
    height: auto;
height: auto;
    max-width: 100%;
max-width: 100%;
}
}
.image-container .text {
.image-container .text {
    position: absolute;
position: absolute;
    bottom: -20;
bottom: -20;
    left: 0;
left: 0;
    width: 100%;
width: 100%;
    background-color: transparent;
background-color: transparent;
    padding: 5px;
padding: 5px;
    font-size: 18px;
font-size: 18px;
    font-weight: bold;
font-weight: bold;
    color: white;
color: white;
    text-align: center;
text-align: center;
}
}
/*=============================================================
/*=============================================================
Portal Page /Portals
Portal Page /Portals
==============================================================*/
==============================================================*/
.flexbox{
.flexbox{
    display: flex;
display: flex;
    flex-direction: row;
flex-direction: row;
}
}
.flexboxtext{
.flexboxtext{
    flex: 2;
flex: 2;
}
}
.flexboximage{
.flexboximage{
    flex: 1;
flex: 1;
    text-align: right;
text-align: right;
}
}
/*=============================================================
/*=============================================================
Tabs (Template:StatsCardWeaponTabs)
Tabs (Template:StatsCardWeaponTabs)
Line 217: Line 297:
/* See also: MediaWiki:Common.js */
/* See also: MediaWiki:Common.js */
.cardtabs{
.cardtabs{
    float:right;
float:right;
    margin-left:25px;
margin-left:25px;
    display: flex;
display: flex;
    flex-direction: column;
flex-direction: column;
}
}
.cardtabs__buttons {
.cardtabs__buttons {
    display: flex;
display: flex;
    flex-direction: row;
flex-direction: row;
    align-items: flex-end;
align-items: flex-end;
}
}
.cardtabs__button {
.cardtabs__button {
    border-radius: 5px 5px 0 0;
border-radius: 5px 5px 0 0;
    display: inline-block;
display: inline-block;
    font-size: 13px;
font-size: 13px;
    line-height: 1.5;
line-height: 1.5;
    position: relative;
position: relative;
    flex-grow: 1;
flex-grow: 1;
    text-align: center;
text-align: center;
}
}
.cardtabs__panel {
.cardtabs__panel {
    position: relative;
position: relative;
    z-index: 1;
z-index: 1;
}
}
.cardtabs__panel--js-hidden {
.cardtabs__panel--js-hidden {
    display: none;
display: none;
}
}
.cardtabs__button:not(.cardtabs__button--disabled):hover {
.cardtabs__button:not(.cardtabs__button--disabled):hover {
    cursor: url('/skins/ScratchWikiSkin2/resources/custom-cursorlink.webp?bccaa') 4 4, auto;
cursor: url('/skins/ScratchWikiSkin2/resources/custom-cursorlink.webp?bccaa') 4 4, auto;
}
}
.cardtabs__button--active {
.cardtabs__button--active {
    border-bottom: 0;
border-bottom: 0;
    z-index: 1;
z-index: 1;
    box-shadow: 0px -1px 7px 0px #fff;
box-shadow: 0px -1px 7px 0px #fff;
}
}
/* Info/Unlock panels */
/* Info/Unlock panels */
.cardtabs__button--icon-info img {
.cardtabs__button--icon-info img {
    position: relative;
position: relative;
    top: -2px;
top: -2px;
}
}
.cardtabs__button--icon-unlock img {
.cardtabs__button--icon-unlock img {
    position: relative;
position: relative;
    top: -1px;
top: -1px;
}
}
.cardtabs__button--icon-unlock {
.cardtabs__button--icon-unlock {
    padding-bottom: 0;
padding-bottom: 0;
}
}


Line 268: Line 348:
==============================================================*/
==============================================================*/
.btn {
.btn {
    background: rgba(255,255,255,0.05);
background: rgba(255,255,255,0.05);
    border-radius: 3px;
border-radius: 3px;
    border: 1px solid white;
border: 1px solid white;
    display: inline-block;
display: inline-block;
    font-size: 0.85rem;
font-size: 0.85rem;
    font-weight: bold;
font-weight: bold;
    padding: 6px 10px;
padding: 6px 10px;
}
}
.btn:hover {
.btn:hover {
    background: rgba(255,255,255,0.1);
background: rgba(255,255,255,0.1);
}
}
.btn--link {
.btn--link {
    padding: 0;
padding: 0;
}
}
.btn--link > a {
.btn--link > a {
    padding: 6px 15px 6px 10px;
padding: 6px 15px 6px 10px;
    padding-right: 15px !important; /* override needed due to exteral link bg image icon */
padding-right: 15px !important; /* override needed due to exteral link bg image icon */
    display: inline-block;
display: inline-block;
}
}
.btn--active {
.btn--active {
    border-color: #366436;
border-color: #366436;
}
}
.btn--inactive {
.btn--inactive {
    border-color: #643636;
border-color: #643636;
}
}
.tab{
.tab{
    --link-color: 231,159,52;
--link-color: 231,159,52;
    color: rgba(var(--link-color),0.9);
color: rgba(var(--link-color),0.9);
    margin:2px 2px 2px 2px;
margin:2px 2px 2px 2px;
    border-radius: 5px;
border-radius: 5px;
    border-width: 1px;
border-width: 1px;
    border-style: solid;
border-style: solid;
    border-color: rgba(var(--link-color),0.3);
border-color: rgba(var(--link-color),0.3);
    padding:2px 2px;
padding:2px 2px;
    user-select:none;
user-select:none;
}
}
.tab:hover,
.tab:hover, .tab:focus{
.tab:focus{
color: rgb(var(--link-hover-color));
    color: rgb(var(--link-hover-color));
cursor: url(/skins/ScratchWikiSkin2/resources/custom-cursorlink.webp?45785)4 4,auto;
    cursor: url(/skins/ScratchWikiSkin2/resources/custom-cursorlink.webp?45785)4 4,auto;
text-decoration: underline;
    text-decoration: underline;
}
}
.selected-tab{
.selected-tab{
    color: rgb(var(--link-hover-color));
color: rgb(var(--link-hover-color));
    box-shadow: 0px 0px 10px rgb(var(--link-hover-color));
box-shadow: 0px 0px 10px rgb(var(--link-hover-color));
}
}


/*=============================================================
/*=============================================================
Line 321: Line 401:
/* Template:MiniIconbox */
/* Template:MiniIconbox */
.iconbox--inline {
.iconbox--inline {
    margin: 0;
margin: 0;
    vertical-align: baseline;
vertical-align: baseline;
}
}


Line 329: Line 409:
==============================================================*/
==============================================================*/
.col-1 {
.col-1 {
    width: 8.33%;
width: 8.33%;
}
}
.col-2 {
.col-2 {
    width: 16.66%;
width: 16.66%;
}
}
.col-3 {
.col-3 {
    width: 25%;
width: 25%;
}
}
.col-4 {
.col-4 {
    width: 33.33%;
width: 33.33%;
}
}
.col-5 {
.col-5 {
    width: 41.66%;
width: 41.66%;
}
}
.col-6 {
.col-6 {
    width: 50%;
width: 50%;
}
}
.col-7 {
.col-7 {
    width: 58.33%;
width: 58.33%;
}
}
.col-8 {
.col-8 {
    width: 66.66%;
width: 66.66%;
}
}
.col-9 {
.col-9 {
    width: 75%;
width: 75%;
}
}
.col-10 {
.col-10 {
    width: 83.33%;
width: 83.33%;
}
}
.col-11 {
.col-11 {
    width: 91.6%;
width: 91.6%;
}
}
.col-12 {
.col-12 {
    width: 100%;
width: 100%;
}
}


Line 369: Line 449:
==============================================================*/
==============================================================*/
.tooltip {
.tooltip {
    position: relative;
position: relative;
}
}
.tooltip .tooltiptext {
.tooltip .tooltiptext {
    visibility: hidden;
visibility: hidden;
    background-color: #000D;
background-color: #000D;
    color: #fff;
color: #fff;
    text-align: center;
text-align: center;
    padding: 5px;
padding: 5px;
    border-radius: 3px;
border-radius: 3px;


    /* Position the tooltip text - see examples below! */
/* Position the tooltip text - see examples below! */
    position: absolute;
position: absolute;
    z-index: 1;
z-index: 1;
    width: 200px;
width: 200px;
    bottom: 100%;
bottom: 100%;
    left: 50%;
left: 50%;
    margin-left: -100px; /* Use half of the width (120/2 = 60), to center the tooltip */
margin-left: -100px; /* Use half of the width (120/2 = 60), to center the tooltip */
}
}
.tooltip:hover .tooltiptext {
.tooltip:hover .tooltiptext {
    visibility: visible;
visibility: visible;
}
}
.tooltip .tooltiptext-right {
.tooltip .tooltiptext-right {
    visibility: hidden;
visibility: hidden;
    background-color: #000a;
background-color: #000a;
    color: #db8;
color: #db8;
    text-align: center;
text-align: center;
    white-space: nowrap;
white-space: nowrap;
    padding: 5px;
padding: 5px;
    border-radius: 3px;
border-radius: 3px;


    /* Position the tooltip text - see examples below! */
/* Position the tooltip text - see examples below! */
    position: absolute;
position: absolute;
    z-index: 1;
z-index: 1;
    width: fit-content;
width: fit-content;
    bottom: 110%;
bottom: 110%;
    right: 0%;
right: 0%;
}
}
.tooltip:hover .tooltiptext-right {
.tooltip:hover .tooltiptext-right {
    visibility: visible;
visibility: visible;
}
}
.tooltip .tooltiptext-left {
.tooltip .tooltiptext-left {
    visibility: hidden;
visibility: hidden;
    background-color: #000D;
background-color: #000D;
    color: #fff;
color: #fff;
    text-align: center;
text-align: center;
    padding: 5px;
padding: 5px;
    border-radius: 3px;
border-radius: 3px;


    /* Position the tooltip text - see examples below! */
/* Position the tooltip text - see examples below! */
    position: absolute;
position: absolute;
    z-index: 1;
z-index: 1;
    width: 200px;
width: 200px;
    left: -15%;
left: -15%;
}
}
.tooltip:hover .tooltiptext-left {
.tooltip:hover .tooltiptext-left {
    visibility: visible;
visibility: visible;
}
}


Line 431: Line 511:
==============================================================*/
==============================================================*/
.InfoboxTooltip {
.InfoboxTooltip {
    position: relative;
position: relative;
    display: inline-block;
display: inline-block;
}
}
.InfoboxTooltipContent {
.InfoboxTooltipContent {
    visibility: hidden;
visibility: hidden;
    background-color: rgb(var(--background-color), 0.9) !important;
background-color: rgb(var(--background-color), 0.9) !important;
    position: absolute;
position: absolute;
    z-index: 8;
z-index: 8;
}
}
.InfoboxTooltip:hover .InfoboxTooltipContent {
.InfoboxTooltip:hover .InfoboxTooltipContent {
    visibility: visible;
visibility: visible;
}
}
.ClassesTable {
.ClassesTable {
    width:60%;  
width:60%;  
    color:#eee;  
color:#eee;  
    background:transparent;  
background:transparent;  
    text-align:center;  
text-align:center;  
    vertical-align:middle;  
vertical-align:middle;  
    border-spacing: 0px;
border-spacing: 0px;
}
}


@media screen and (max-width: 481px) {
@media screen and (max-width: 481px) {
    .ClassesTable {
.ClassesTable {
        width: 100%;
width: 100%;
    }
}
}
}

Latest revision as of 15:14, 12 March 2025

/* CSS placed here will be applied to all skins */
.stripedtable tr:nth-child(even) {
	background-color: rgb(100,100,100,0.3);
}

/*=============================================================
Element Colors
==============================================================*/
.fire {
	color: rgb(171, 34, 0);
}
.ice {
	color: rgb(0, 255, 255);
}
.earth {
	color: rgb(153, 154, 41);
}
.air {
	color: rgb(207, 207, 207);
}
.lightning {
	color: rgb(0, 103, 217);
}

/*=============================================================
Rarity Colors
==============================================================*/
:root {
	--rarity-Elite: 255,30,30;
	--rarity-Nightmare: 120, 60, 140;
}
.rarityElite {
	border: 1px solid rgb(var(--rarity-Elite),.5);
	background: linear-gradient(360deg,rgb(var(--rarity-Elite),.5),rgba(0,0,0,0.5));
}
.colorrarityElite {
	color: rgb(var(--rarity-Elite));
}
.rarityNightmare {
	border: 1px solid rgb(var(--rarity-Nightmare),.5);
	background: linear-gradient(360deg,rgb(var(--rarity-Nightmare),.5),rgba(0,0,0,0.5));
}
.colorrarityNightmare {
	color: rgb(var(--rarity-Nightmare));
}
.cr0 {
	color: rgb(var(--rarity-0));
}
.cr1 {
	color: rgb(var(--rarity-1));
}
.cr2 {
	color: rgb(var(--rarity-2));
}
.cr3 {
	color: rgb(var(--rarity-3));
}
.cr4 {
	color: rgb(var(--rarity-4));
}
.cr5 {
	color: rgb(var(--rarity-5));
}
.cr6 {
	color: rgb(var(--rarity-6));
}
.cr7 {
	color: rgb(var(--rarity-7));
}
.cr8 {
	color: rgb(var(--rarity-7));
}

/*=============================================================
Enchantment Table
==============================================================*/
table.enchantmenttable {
	border-collapse: separate;
	border-spacing: 0;
	text-align: center;
	font-weight: 500;
	color: #EEED;
	text-shadow: 1px 1px 2px #000;
	
	th {
		background-color: #777;
		padding: 5px;
		border: 1.5px solid #AAA9;
	}
	td {
		padding: 5px;
		border: 1px solid #AAA7;
	}
	tr:first-child {
		position: sticky;
		top: 0;
		height: 55px;
		z-index: 14;
	}
	tr:nth-child(2) {
		position: sticky;
		top: 55px;
		z-index: 14;
	}
	tr:nth-child(2n of #Attributes),
	tr:nth-child(1 of #Attributes) {
		background-color: #45753380;
	}
	tr:nth-child(2n of #Physical-Damage),
	tr:nth-child(1 of #Physical-Damage) {
		background-color: #BB432A80;
	}
	tr:nth-child(2n of #Magical-Damage),
	tr:nth-child(1 of #Magical-Damage) {
		background-color: #2A6DAC80;
	}
	tr:nth-child(2n of #Reductions),
	tr:nth-child(1 of #Reductions) {
		background-color: #99591A80;
	}
	tr:nth-child(2n of #Actions),
	tr:nth-child(1 of #Actions) {
		background-color: #8566B780;
	}
	tr:nth-child(2n of #Health),
	tr:nth-child(1 of #Health) {
		background-color: #FF300080;
	}
	tr:nth-child(2n of #Healing),
	tr:nth-child(1 of #Healing) {
		background-color: #2B884A80;
	}
	tr:nth-child(2n of #Statuses),
	tr:nth-child(1 of #Statuses) {
		background-color: #B340B380;
	}
	tr:nth-child(2n of #Memory),
	tr:nth-child(1 of #Memory) {
		background-color: #2B9DA180;
	}
	tr:nth-child(2n of #Misc),
	tr:nth-child(1 of #Misc) {
		background-color: #F3CE2B80;
	}
	td:nth-child(2n of :not([colspan]):not([id="gem"])):not(:first-child):not(:last-child) {
		text-align: right;
		border-right: none;
	}
	td:nth-child(2n+1 of :not([colspan]):not([id="gem"])):not(:first-child):not(:last-child) {
		text-align: left;
		border-left: none;
	}
}

/*=============================================================
Notice
==============================================================*/
div.notice{
	position:relative;

	>div:first-child {
		position:absolute;
		height:100%;
		width:100%;
		background:linear-gradient(#0000 0%, #000B 5%, #000 50%, #000B 95%, #0000 100%);

		>div:first-child {
			position:absolute;
			height:100%;
			width:100%;
			z-index:999;

			>p {
				position:relative;
				width:100%;
				top:60%;
				text-align:center;
				font-size:18px;
				text-decoration:underline;
			}
		}
		>div:first-child+div {
			position:relative;
			width:100%;
			top:35%;
			transform:translateY(-50%); text-align:center;

			>p {
				font-size:24px;
			}
		}
	}
}

/*=============================================================
Loot and Drop Source Table Classes
==============================================================*/
table.loottable, table.dropsourcetable {
	border-spacing: 0px;
	border-collapse:collapse;
	padding: 10px;
	text-align:center;
	vertical-align:middle;
	text-shadow:1px 1px 4px #000;

	& td[rowspan] {
		background-color: black;
	}

	& caption, & th, & td {
		border: 1px solid #eeea;
		padding: 5px;
	}

	& caption, & th, &.summary td:first-child {
		background-color: #eee3;
		font-weight: bold;
	}

	& div.iconbox {
		display: inline-flex;
		width: max-content;
		max-width: initial;
		flex-direction: column;
		align-items: center;
		flex-wrap: wrap;
		white-space: pre-wrap;

		>a {
			font-weight: bold;
		}
	}
}
table.loottable {
	& tr:has(> :last-child:nth-child(6)):has(> td) {
		border-top: 3px solid #eeea;
	}
}
table.dropsourcetable {
	& tr:has(> :last-child:nth-child(4)):has(> td) {
		border-top: 3px solid #eeea;
	}
}

/*=============================================================
Class Page /Classes
==============================================================*/
.image-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}
.image-container {
	position: relative;
	margin: 10px;
	height: fit-content;
}
.image-container img {
	display: block;
	height: auto;
	max-width: 100%;
}
.image-container .text {
	position: absolute;
	bottom: -20;
	left: 0;
	width: 100%;
	background-color: transparent;
	padding: 5px;
	font-size: 18px;
	font-weight: bold;
	color: white;
	text-align: center;
}

/*=============================================================
Portal Page /Portals
==============================================================*/
.flexbox{
	display: flex;
	flex-direction: row;
}
.flexboxtext{
	flex: 2;
}
.flexboximage{
	flex: 1;
	text-align: right;
}

/*=============================================================
Tabs (Template:StatsCardWeaponTabs)
==============================================================*/

/* See also: MediaWiki:Common.js */
.cardtabs{
	float:right;
	margin-left:25px;
	display: flex;
	flex-direction: column;
}
.cardtabs__buttons {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
}
.cardtabs__button {
	border-radius: 5px 5px 0 0;
	display: inline-block;
	font-size: 13px;
	line-height: 1.5;
	position: relative;
	flex-grow: 1;
	text-align: center;
}
.cardtabs__panel {
	position: relative;
	z-index: 1;
}
.cardtabs__panel--js-hidden {
	display: none;
}
.cardtabs__button:not(.cardtabs__button--disabled):hover {
	cursor: url('/skins/ScratchWikiSkin2/resources/custom-cursorlink.webp?bccaa') 4 4, auto;
}
.cardtabs__button--active {
	border-bottom: 0;
	z-index: 1;
	box-shadow: 0px -1px 7px 0px #fff;
}
/* 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;
}
.tab{
	--link-color: 231,159,52;
	color: rgba(var(--link-color),0.9);
	margin:2px 2px 2px 2px;
	border-radius: 5px;
	border-width: 1px;
	border-style: solid;
	border-color: rgba(var(--link-color),0.3);
	padding:2px 2px;
	user-select:none;
}
.tab:hover, .tab:focus{
	color: rgb(var(--link-hover-color));
	cursor: url(/skins/ScratchWikiSkin2/resources/custom-cursorlink.webp?45785)4 4,auto;
	text-decoration: underline;
}
.selected-tab{
	color: rgb(var(--link-hover-color));
	box-shadow: 0px 0px 10px rgb(var(--link-hover-color));
}


/*=============================================================
Other Templates
==============================================================*/

/* Template:MiniIconbox */
.iconbox--inline {
	margin: 0;
	vertical-align: baseline;
}

/*=============================================================
Auto-width/column classes
==============================================================*/
.col-1 {
	width: 8.33%;
}
.col-2 {
	width: 16.66%;
}
.col-3 {
	width: 25%;
}
.col-4 {
	width: 33.33%;
}
.col-5 {
	width: 41.66%;
}
.col-6 {
	width: 50%;
}
.col-7 {
	width: 58.33%;
}
.col-8 {
	width: 66.66%;
}
.col-9 {
	width: 75%;
}
.col-10 {
	width: 83.33%;
}
.col-11 {
	width: 91.6%;
}
.col-12 {
	width: 100%;
}

/*=============================================================
Basic tooltip classes
==============================================================*/
.tooltip {
	position: relative;
}
.tooltip .tooltiptext {
	visibility: hidden;
	background-color: #000D;
	color: #fff;
	text-align: center;
	padding: 5px;
	border-radius: 3px;

	/* Position the tooltip text - see examples below! */
	position: absolute;
	z-index: 1;
	width: 200px;
	bottom: 100%;
	left: 50%;
	margin-left: -100px; /* Use half of the width (120/2 = 60), to center the tooltip */
}
.tooltip:hover .tooltiptext {
	visibility: visible;
}
.tooltip .tooltiptext-right {
	visibility: hidden;
	background-color: #000a;
	color: #db8;
	text-align: center;
	white-space: nowrap;
	padding: 5px;
	border-radius: 3px;

	/* Position the tooltip text - see examples below! */
	position: absolute;
	z-index: 1;
	width: fit-content;
	bottom: 110%;
	right: 0%;
}
.tooltip:hover .tooltiptext-right {
	visibility: visible;
}
.tooltip .tooltiptext-left {
	visibility: hidden;
	background-color: #000D;
	color: #fff;
	text-align: center;
	padding: 5px;
	border-radius: 3px;

	/* Position the tooltip text - see examples below! */
	position: absolute;
	z-index: 1;
	width: 200px;
	left: -15%;
}
.tooltip:hover .tooltiptext-left {
	visibility: visible;
}

/*=============================================================
Infobox tooltip classes
==============================================================*/
.InfoboxTooltip {
	position: relative;
	display: inline-block;
}
.InfoboxTooltipContent {
	visibility: hidden;
	background-color: rgb(var(--background-color), 0.9) !important;
	position: absolute;
	z-index: 8;
}
.InfoboxTooltip:hover .InfoboxTooltipContent {
	visibility: visible;
}
.ClassesTable {
	width:60%; 
	color:#eee; 
	background:transparent; 
	text-align:center; 
	vertical-align:middle; 
	border-spacing: 0px;
}

@media screen and (max-width: 481px) {
	.ClassesTable {
		width: 100%;
	}
}