User:Nikenpelle/common.css: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
((by SublimeText.Mediawiker))
No edit summary
 
(35 intermediate revisions by the same user not shown)
Line 11: Line 11:
#dbe8f4 bg alt
#dbe8f4 bg alt
#eef4fa bg
#eef4fa bg
*/
*/
@property --font-size-mario-default {
syntax: "<length>";
inherits: false;
initial-value: 0.9375rem;
}
:root {
/* Setting font-size to approximately 15px(11.25pt),
provided user use 16px(12pt) as default */
--font-size-mario-default: 0.9375rem;
}
body:not(.skin-monobook, .skin-vector-2022) {
font-size: var(--font-size-mario-default);
}
span.changedby {
background-color: #f2e3e9;
}


#mariotable.wikitable {
#mariotable.wikitable {
Line 47: Line 67:
#e7e7fa bg
#e7e7fa bg
#fcfcfe
#fcfcfe
*/


.infobox#test {
.infobox#test {
Line 86: Line 104:
background: #d1d1f6;
background: #d1d1f6;
}
}
/* Horizontal listing */


.hlist ul {
.hlist ul {
Line 120: Line 136:
font-weight: normal;
font-weight: normal;
}
}
 
*/
body:not(.skin-monobook) {
font-size: 0.9375em !important;
}
 
#globalWrapper {
font-size: inherit !important;
}
 
@media screen and (max-width: 719px) {
#mw-content {
padding: 1em !important;
border-width: unset;
}
 
#mw-content-block {
background: unset;
border-width: unset;
}
 
#menus-cover {
display: none;
position: fixed;
top: 0;
left: 0;
z-index: 99;
width: 100%;
height: 100% !important;
background-color: #eaecf0;
opacity: 0.8;
overflow: hidden;
}
 
.sidebar-inner,
.dropdown {
font-size: unset;
}
}
 
@media screen and (min-width: 720px) {
.mediawiki {
font-size: 0.9375em !important;
}
 
#mw-content-container {
font-size: 0.875em !important;
}
}

Latest revision as of 06:20, March 26, 2024

/* CSS for User:Nikenpelle/sandbox

Table style for Super Mario franchise


#78a8d8		Darkest
#8bb5de
#9fc1e3		border
#b3cee9
#c7dbef		bg top header
#dbe8f4		bg alt
#eef4fa		bg

*/
@property --font-size-mario-default {
	syntax: "<length>";
	inherits: false;
	initial-value: 0.9375rem;
}

:root {
	/* Setting font-size to approximately 15px(11.25pt),
	provided user use 16px(12pt) as default */
	--font-size-mario-default: 0.9375rem;
}

body:not(.skin-monobook, .skin-vector-2022) {
	font-size: var(--font-size-mario-default);
}

span.changedby {
	background-color: #f2e3e9;
}

#mariotable.wikitable {
	background-color: #eef4fa;
	border: 1px solid #9fc1e3;
	/* Due to timeless parsing, needed 1px */
	color: #202122;
}

#mariotable.wikitable tr {
	background-color: #eef4fa;
}

#mariotable.wikitable th,
#mariotable.wikitable td {
	border-color: #9fc1e3;
}

#mariotable.wikitable tr:first-of-type>th {
	background-color: #c7dbef;
	border-color: #9fc1e3;
}

#mariotable.wikitable.alternate-rows tr:nth-of-type(2n + 1) {
	background-color: #dbe8f4;
}

/*

#7c7ce6
#9191ea
#a7a7ee
#bcbcf2		header
#d1d1f6		bg alt
#e7e7fa		bg
#fcfcfe

.infobox#test {
	background: #e7e7fa;
	border-color: #7c7ce6;
	font-size: 88%;
	line-height: 1.5em;
	width: 24em;
}

.infobox#test th,
.infobox#test td {
	padding: 2px 4px;
}

.infobox#test>tbody>tr:first-of-type {
	background: #bcbcf2;
}

.infobox#test>tbody>tr:first-of-type>th:first-of-type {
	font-size: larger;
}

.infobox#test>tbody>tr:nth-of-type(2)>td {
	background-color: transparent;
	text-align: center;
	font-size: small;
}

.infobox#test>tbody>tr>td:first-of-type:not(:last-of-type, [colspan]) {
	font-weight: bold;
	min-width: 0 !important;
	max-width: 6em !important;
}

.infobox#test>tbody>tr:nth-of-type(2n+3) {
	background: #d1d1f6;
}

.hlist ul {
	margin: 0;
	padding: 0;
}

.hlist li {
	display: inline;
}

.hlist ul ul {
	display: inline;
}

.hlist li::after {
	content: " · ";
	font-weight: bold;
}

.hlist li:last-child::after {
	content: none;
}

.hlist li li:first-child::before {
	content: " (";
	font-weight: normal;
}

.hlist li li:last-child::after {
	content: ")";
	font-weight: normal;
}
*/