MediaWiki:Vector-darkmode.less/templates.less

From Old School RuneScape Wiki
Jump to navigation Jump to search
// <pre>
/* ========================
           templates
   ======================== */
/* ------------------------
             math
   kind of sus but it works
   ------------------------ */

.mwe-math-element {
	-webkit-filter: invert(100%);
	filter: invert(100%);
}

/* ------------------------
            coins
   ------------------------ */

.coins {
    color: @lima;
}

.coins-pos {
    color: @curious-blue;
}

.coins-neg {
    color: @flamingo;
}

/* ------------------------
            quotes
   ------------------------ */

blockquote {
    color: inherit;

    p:not(.quote-source) {
        border-color: @pickled-bluewood;
    }

}

/* ------------------------
        quest details
   ------------------------ */

.questdetails,
.trainingdetails {
    background-color: @dark-wikitable-background;
    border: none;

    .questdetails-header {
        background-color: @dark-wikitable-header;
    }

}

.questreq ul {
	border-color: @waikawa-grey;
}

/* ------------------------
        documentation
   ------------------------ */

.documentation {
	background-color: @pickled-bluewood;
	color: @dark-text;
	border-left-color: @cloud-burst;

	a,
	a:visited,
	a:active {
		color: @portage;
	}

	pre, code {
		background-color: @cloud-burst;
	}
}

/* ------------------------
        templatedata
   ------------------------ */

.mw-templatedata-doc-params dl {
    border-color: @dark-wikitable-border;
}

/* ------------------------
      Uses material list
   ------------------------ */

.production-selected {
	background: @la-palma;
	color: @white;

	.mw-selflink.selflink {
		color: @white;
	}
}

/* ------------------------
        Redwood Grove
   ------------------------ */

.forumheader {
	border-color: @dark-wikitable-header;
    background-color: @dark-wikitable-background;
}
/* unused
.forumsearchbox {
	color: @dark-text;
    background-color: @dark-wikitable-background;

    .mw-ui-button.mw-ui-progressive:disabled {
        color: @river-bed;
    }

}
*/
.forumlist.archive {
	background: transparent;
	text-align: initial;
}

/* ------------------------
         Update pages
   ------------------------ */

div.update {
	background: @dark-wikitable-background;
	color: @dark-text;
}

/* ------------------------
          succession
   ------------------------ */

.succession {

	th {
		background: @dark-wikitable-header;
	}

	td {
		background: @dark-wikitable-background;
	}

}

/* ------------------------
         family tree
   ------------------------ */

td.famtreeleaf {
    background: @dark-wikitable-background;
    border-color: @dark-wikitable-border;
}

/* ------------------------
         Chat options
   ------------------------ */

.chat-options .chat-options-underline {
	border-color: @dark-links;
}

/* --------------------------
     Module:ExchangeDefault
   -------------------------- */

.gemw-header {

    .gemw-name a {
        color: @dark-links;
    }

    .gemw-examine,
    .gemw-price::after,
    .gemw-updated,
    .gemw-time {
        color: @dark-text;
    }

}

.gemw-body {

    .gemw-section-left a,
    .gemw-property dt {
        color: @dark-links;
    }

    .gemw-property {
        border-color: @waikawa-grey;
    }

    .gemw-links {
        color: @dark-text;
    }

}

/* ------------------------
          sic/fact
   ------------------------ */

.fact-text {
	color: @curious-blue;
	border-color: @portage;
}

/* ------------------------
      Template:Wikipedia
   ------------------------ */
.wikipedia {
	background-color: @dark-wikitable-background;
	border-color: @dark-interface-border;
}

/* ------------------------
      Template:Equipment
   ------------------------ */
.equip-table {
	background-color: @dark-wikitable-background;
	border-color: @dark-wikitable-border;
	outline-color: @black-pearl;
	
	td.equip-slot {
		background-color: @waikawa-grey;
		border-color: @dark-wikitable-border;
	}
	
	th.equip-caption {
		color: @dark-text;
	}
}

//Template:MMGTable?
.mmg-profit {
	color: #3ea4df;
}

//Talkheader template
.talkheader {
	background-color: @dark-infobox-subheader;
}

//Template:Shortcut
.shortcut {
	background-color: @dark-wikitable-background;
	border-color: @dark-interface-border;
}

//Template:Succession
.succession-title {
    background: @dark-wikitable-header;
}

.succession-cell {
    background: @dark-wikitable-background;
}

//Relative location
.relative-location {
	background-color: @dark-wikitable-background; 
	border-color: @dark-wikitable-border;
}

.relative-location-txt {
 	color: @dark-text;
}

.relative-location-header {
	background: @dark-infobox-subheader;
}

//Template:CategoryTOC
.messagebox-toc {
	color: @dark-text;
}

//Template:Archive list
.archivelist {
	background-color: @dark-wikitable-background;
	border-color: @dark-interface-border;
}

//Template:Infotable Bonuses header
.InfotableBonusesHeader {
	color: @dark-text;
}

//Template:Inventory
.inventorytable {
	background: url('filepath://Inventory_tab_(dark_mode).png') no-repeat;
}

//Template:Looting bag
.lootingbagtable {
	background-image: url('filepath://Looting_bag_tab_(dark_mode).png');
}

//Template:Horizontal Line
.updateline {
	background: url('filepath://Dark_Horizontal_Line.png') no-repeat;
	background-position: center;
}

//Template:PollNotice
.pollnotice {
	background: @dark-wikitable-background;
	color: @dark-text;
}

.pollquestion {
	border: 2px solid @dark-interface-border;
	color: @dark-text;
	background: @dark-wikitable-header;
	
	&::before {
		background: linear-gradient(0deg, #222e45, #222e45 50%, rgba(0, 0, 0, 0) 50.001%, rgba(0, 0, 0, 0));
	}
}

//Template:Rune pouch
.runepouchtable {
	background: url('filepath://Rune_pouch_background_(dark_mode).png') no-repeat;
}

//Template:Equipment
.equipment {
	background: #242f43;
	border-image-source: url("filepath://Interface_border_(dark_mode).png");
}

.equipment-div {
    background-image: url('filepath://Worn_equipment_tab_(no_buttons)_(dark_mode).png');
}

.equipment-div-buttons {
    background-image: url('filepath://Worn_equipment_tab_(dark_mode).png');
}

.equipment-blank {
    background-image: url('filepath://Blank_slot_(dark_mode).png');
}

.equipment-ikod hr {
    border-top: 1px solid #0e0e2c;
    border-bottom: 1px solid #474765;
}

//Template:Collapsed section
.collapsed-sec {
	color: @dark-text;
	text-shadow:1px 1px black;
}


//Template:CiteGeneral Language
.citegen-lang {
	color:darkgrey;
}

//Template:Rfd top
.rfdheader {
	border: 1px solid @dark-interface-border;
}

// Template:TB
.tbz-region,
.tbz-badge {
	background-color: #242E43;
	border-color: @waikawa-grey;
}

.tbz-unlocked {
	background: repeating-linear-gradient(-45deg, #315d30 0 20px, #13421e 20px 30px);
	border-color: #00e417;
}

.tbz-locked {
	background-color: #8a2525;
	border-color: #b32828;
}

// Template:Key press 
.keypress {
	background: @pickled-bluewood;
	color: @dark-text;
	border: 1px solid @cloud-burst;
	text-shadow: none;
}