MediaWiki:Gadget-DiecastTables.css

From Pixar Cars Wiki
Jump to navigation Jump to search

This is a special system page, used for managing the wiki interface. For help or suggestions, please contact the developer.

/* Die-cast tables */
.dc-appearance-series {
	text-align:right;
	vertical-align: top;
	padding-right: 10px;}
.dc-appearance-subseries {
	vertical-align: top;}

span.M-link, .M-link {color: #FFFFFF }
.M-year { font-size:70%; margin-top:-5px }
.m-col-name {padding-left: 1em !important;}

.M_2006 {background-color:#fdd8bb; color:black;}
.M_2007 {background-color:#373bae; color:white;}
.M_2008 {background-color:#fd591d; color:black;}
.M_2009 {background-color:#4f8c3d; color:white;}
.M_2010 {background-color:#066ea2; color:white;}
.M_2011,
.M_2012 {background-color:#55aaff; color:white;}
.M_2013 {background-color:#fefefe; color:#000}
.M_2014 {background-color:#fefefe; color:red}
.M_2018 {background-color:#a96546; color:white;}
.M_2019,
.M_2020 {background-color:#76bfec; color:white }
.M_2021 {background-color:#f4e389; color:white }
.M_2022,
.M_2023,
.M_2024 {background-color:#b12223; color:white}
/* Link color corrections */
.M_2007 a, .M_2009 a, .M_2010 a, .M_2011 a, .M_2012 a, .M_2018 a, 
.M_2019 a, .M_2020 a, .M_2021 a, .M_2022 a, .M_2023 a, .M_2024 a {
	color: #fff;
}

.MS_2007_MPJ,
.MS_2007_RT,
.MS_2007_R66B {background-color:#f20751; color:white}
.MS_2008_1RS,
.MS_2008_2PCR,
.MS_2008_3PCF,
.MS_2008_4PCPC,
.MS_2008_5H66,
.MS_2008_6D {background:#000000; color: white }
.MS_2009_1RS {background:#FFC205; color:black}
.MS_2009_2PCR {background:#E36F0A; color:black}
.MS_2009_3PCRD {background:#9F212C; color:black}
.MS_2009_4PCPC {background:#7899DE; color:black}
.MS_2009_5H66 {background:#A5B703; color:black}
.MS_2009_6D {background:#48C1F8; color:black}
.MS_2009_7MS {background:#96b7d9; color:black}
.MS_2009_8TT {background:#9e9b9e; color:black}
.MS_2010_1RS {background:#00672d; color:white}
.MS_2010_2PCR {background:#ab5929; color:white}
.MS_2010_3PCRD {background:#560c51; color:white}
.MS_2010_4PCPC {background:#293576; color:white}
.MS_2010_5H66 {background:#c0910a; color:white}
.MS_2010_6D {background:#047f98; color:white}
.MS_2010_7MS {background:#043064; color:white}
.MS_2010_8TT {background:#374d5a; color:white}
.MS_2013_PC {background:#0E486F; color:white}
.MS_2013_RER {background:#841719; color:white}
.MS_2013_FI {background:#0D8241; color:white}
.MS_2013_WGP {background:#81C54A; color:white}
.MS_2013_LM {background:#EE4423; color:white}
.MS_2013_M {background:#985A25; color:white}
.MS_2013_L {background:#E3B611; color:white}
.MS_2013_AA {background:#252B4A; color:white}
.MS_2013_PCH {background:#313C84; color:white}
.MS_2013_RRS {background:#826C37; color:white}
.MS_2013_WWM {background:#DD8A11; color:white}
.MS_2013_T, .MS_2014_T, .MS_2015_T {background:#5E5E5E; color:white}
.MS_2014_PC, .MS_2015_PC {background:#40537B; color:white}
.MS_2014_AB {background:#40537B;color:white}
.MS_2014_MD {background:#9393CB; color:white}
.MS_2014_WGP, .MS_2015_WGP {background:#374E29; color:white}
.MS_2014_PT {background:#EA160E; color:white}
.MS_2014_L {background:#FAEF96; color:white}
.MS_2014_RSN {background:#6E4574; color:white}
.MS_2014_95PC, .MS_2015_95PC {background:#EE9822; color:white}
.MS_2014_RS, .MS_2015_RS {background:#97985B; color:white}
.MS_2014_RF, .MS_2015_RF {background:#A96C2B; color:white}
.MS_2015_YLTI {background:#F5AB40;color:white}
.MS_2015_LAF {background:#EE2224;color:white}
.MS_2015_AA {background:#252B4A;color:white}
.MS_2015_D {background:#1199CA;color:white}
.MS_2015_TP {background:#A43769;color:white}
.MS_2015_PC {background:#323C83;color:white}
.MS_2022_1, .MS_2023_1, .MS_2024_1 {background:#ebd1d0; color:black}
.MS_2022_2, .MS_2023_2, .MS_2024_2 {background:#cfe6f8; color:black}
.MS_2022_3, .MS_2023_3, .MS_2024_3 {background:#d4e8cc; color:black}
.MS_2022_OTR, .MS_2023_OTR, .MS_2024_OTR {background:#fefbc4; color:black}
.MS_2023_T, .MS_2024_T {background:#ccc3de; color:black}
.MS_2023_D100 {background:#dfdfdf; color:black;}
.MS_2024_GRC {background:#C7C9C8; color:#436675;
}
.MC_E {background: linear-gradient(to right, purple 0, purple 5%, transparent 5%, transparent 10%, pink 10%, pink 15%, transparent 15%, transparent 100%)}
.MC_WC {background: linear-gradient(to right, purple 0, purple 5%, transparent 5%, transparent 10%, #CCCCFF 10%, #CCCCFF 15%, transparent 15%, transparent 100%)}
.MC_CS,
.MC_WOCR {background: linear-gradient(to right, gray 0, gray 5%, #b12223 5%, #b12223 10%, transparent 10%, transparent 15%, transparent 15%, transparent 100%)}
.MC_CC {background: linear-gradient(to right, green 0, green 5%, #ECDEC9 5%, #ECDEC9 10%, aqua 10%, aqua 15%, transparent 15%, transparent 100%)}
.MC_GR {background: linear-gradient(to right, purple 0, purple 5%, transparent 5%, transparent 10%, #befdb7 10%, #befdb7 15%, transparent 15%, transparent 100%)
}
span.new-release {background:#f0e153; border-radius:1em; padding:1px 5px; color:#b0490b; font-weight:bold;}
.chase {background-color:#D0312D; color: white;}
span.chase {background-color:transparent; color:#D0312D;}
.unreleased {background-color:#808080; color: white;}
.postponed {background-color:#6960EC; color: white;
}

tr > td.fieldSeries, td.fieldSegment
td.field_Series, td.field_Segment {
	padding: 0;
	height: 100%;
}
.c-row {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.cargoTable .c-row {
	padding: 0 5px;
}
.c-row, .dc-table tbody {
	height: 100%;
}
.c-rowtext, .tooltip-wrap {
	width: 100%;
}

/* CURRENT SERIES FOR MAIN PAGE */
.MPT_M24, .MPT_HC, .MPT_WOCR {
	background-color:#b12223;
}
.MPT_GR {
	background-color:#befdb7;
}
.MPT_CC {
	background-color: #4b719d;
}
.MPT_M24 a, .MPT_HC a, .MPT_WOCR a, .MPT_CC a {color: #fff;}
.MPT_GR a {color:purple;}

/* https://stackoverflow.com/questions/3215553/make-a-div-fill-an-entire-table-cell/56913789#56913789 */
.mw-special-CargoTables table,
table.dc-table,
div.dc-table table {height: 1px;}
.mw-special-CargoTables tr:not(:first-of-type),
td.fieldSeries, td.fieldSegment td.field_Series, td.field_Segment,
td.fieldSeries > div {height: 100%;}

.field_Year + .fieldSeries .mainline-year {
	display: none;
}