The Gold Network: Soyworld | SNCApedia | SoyPlace

MediaWiki:Common.css: Difference between revisions

From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 2: Line 2:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* -------------------- User Colors -------------------- */


/* owner color */
a[href="/wiki/User:SNCA_Enthusiast"] {
font-weight: 900;
background: linear-gradient(135deg, #FFD700 0%, #FFED4E 25%, #C5A028 50%, #FFD700 75%, #FFED4E 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* manager user color */
a[href="/wiki/User:Faggot"] {
background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: bold;
}


/*bureaucrat user color*/
/* bureaucrat user color */
a[href="/wiki/User:SNCA_Enthusiast"],
a[href="/wiki/User:Editor"],
a[href="/wiki/User:Faggot"],
a[href="/wiki/User:ShitNophono"] {
a[href="/wiki/User:Editor"] {
color: red !important;
color: red !important;
font-weight: bold;
font-weight: bold;
}
}


/*sysop user color*/
/* sysop user color */
a[href="/wiki/User:Sawoot"],
a[href="/wiki/User:Bob"],
a[href="/wiki/User:ShitNophono"] {
a[href="/wiki/User:Sawoot"] {
color: #c79430 !important;
color: purple !important;
font-weight: bold;
font-weight: bold;
}
}


/*approver user color*/
/* approver user color */
a[href="/wiki/User:Garf"],
a[href="/wiki/User:Garf"],
a[href="/wiki/User:Sneed"],
a[href="/wiki/User:Sneed"],
a[href="/wiki/User:MakerofClankers"],
a[href="/wiki/User:MakerofClankers"],
a[href="/wiki/User:Yaquer200"],
a[href="/wiki/User:Yaquer200"],
a[href="/wiki/User:Bob"],
a[href="/wiki/User:Ploot"],
a[href="/wiki/User:Channel_of_the_Sith"],
a[href="/wiki/User:Coswork16"],
a[href="/wiki/User:Coalfarmer"],
a[href="/wiki/User:Brimstone"],
a[href="/wiki/User:SECA_Enthusiast"] {
a[href="/wiki/User:SECA_Enthusiast"] {
color: #9a52a4 !important;
color: #9a52a4 !important;
}
}


/*landfill custom user color*/
/* landfill custom user color */
a[href="/wiki/User:Landfill"] {
a[href="/wiki/User:Landfill"] {
color: #8B5A2B !important;
color: #8B5A2B !important;
Line 35: Line 56:
}
}


/* Infoboxes */
/* bot user color */
a[href="/wiki/User:Abuse_filter"] {
color: #578CA9 !important;
}
 
/* -------------------- Infoboxes -------------------- */
 
.infobox {
.infobox {
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
Line 48: Line 75:
.infobox {
.infobox {
background-color: #f8f9fa;
background-color: #f8f9fa;
    }
}
}
}


Line 55: Line 82:
width: 100%;
width: 100%;
}
}
   
.infobox .nowrap {
.infobox .nowrap {
white-space: normal;
white-space: normal;
Line 63: Line 89:
@media (min-width: 640px) {
@media (min-width: 640px) {
.infobox {
.infobox {
/* @noflip */
margin: 0.5em 0 0.5em 1em;
margin: 0.5em 0 0.5em 1em;
/* @noflip */
float: right;
float: right;
/* @noflip */
clear: right;
clear: right;
width: 22em;
width: 22em;
Line 82: Line 105:
.infobox-image,
.infobox-image,
.infobox-navbar,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox th,
.infobox td {
.infobox td {
Line 90: Line 112:
.infobox-label,
.infobox-label,
.infobox-data,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox th,
.infobox td {
.infobox td {
/* @noflip */
text-align: left;
text-align: left;
}
}


/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-above,
.infobox .infobox-title,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
.infobox caption {
font-size: 125%;
font-size: 125%;
Line 108: Line 126:


.infobox-title,
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
.infobox caption {
padding: 0.2em;
padding: 0.2em;
}
}


/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-subheader,
Line 122: Line 138:
}
}


/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
text-align: right;
}
}


/* Below is stolen from ED's Common.css */
/* -------------------- Toggle / Collapsible -------------------- */


/* Toggle styling */
.hiddentext {
.hiddentext {
display: none;
display: none;
Line 155: Line 168:
.showhidetext:active {
.showhidetext:active {
color: #faa700;
color: #faa700;
}
/* -------------------- Layout & Readability Fixes -------------------- */
/* Prevent long words / usernames from breaking layout */
.mw-parser-output {
overflow-wrap: break-word;
}
/* Prevent images from overflowing */
.mw-parser-output img {
max-width: 100%;
height: auto;
}
/* Better blockquote styling */
blockquote {
border-left: 4px solid #a2a9b1;
padding-left: 10px;
color: #555;
margin-left: 0;
}
/* Table styling */
.wikitable {
border-collapse: collapse;
}
.wikitable th,
.wikitable td {
padding: 6px 10px;
}
/* Code block styling */
pre, code {
font-family: Consolas, Monaco, monospace;
font-size: 14px;
background: #f6f6f6;
padding: 2px 4px;
border-radius: 3px;
}
/* Highlight self-links */
.mw-selflink {
font-weight: bold;
text-decoration: underline;
}
/* Hide empty category box */
#catlinks:empty {
display: none;
}
}

Latest revision as of 18:26, 15 March 2026

/* DO NOT MODIFY THIS UNLESS YOU ARE A HELPER, CHUD. */
/* CSS placed here will be applied to all skins */

/* -------------------- User Colors -------------------- */

/* owner color */
a[href="/wiki/User:SNCA_Enthusiast"] {
	font-weight: 900;
	background: linear-gradient(135deg, #FFD700 0%, #FFED4E 25%, #C5A028 50%, #FFD700 75%, #FFED4E 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* manager user color */
a[href="/wiki/User:Faggot"] {
	background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: bold;
}

/* bureaucrat user color */
a[href="/wiki/User:Editor"],
a[href="/wiki/User:ShitNophono"] {
	color: red !important;
	font-weight: bold;
}

/* sysop user color */
a[href="/wiki/User:Bob"],
a[href="/wiki/User:Sawoot"] {
	color: purple !important;
	font-weight: bold;
}

/* approver user color */
a[href="/wiki/User:Garf"],
a[href="/wiki/User:Sneed"],
a[href="/wiki/User:MakerofClankers"],
a[href="/wiki/User:Yaquer200"],
a[href="/wiki/User:Ploot"],
a[href="/wiki/User:Channel_of_the_Sith"],
a[href="/wiki/User:Coswork16"],
a[href="/wiki/User:Coalfarmer"],
a[href="/wiki/User:Brimstone"],
a[href="/wiki/User:SECA_Enthusiast"] {
	color: #9a52a4 !important;
}

/* landfill custom user color */
a[href="/wiki/User:Landfill"] {
	color: #8B5A2B !important;
	font-weight: bold;
}

/* bot user color */
a[href="/wiki/User:Abuse_filter"] {
	color: #578CA9 !important;
}

/* -------------------- Infoboxes -------------------- */

.infobox {
	border: 1px solid #a2a9b1;
	color: black;
	padding: 0.2em;
	font-size: 88%;
	line-height: 1.5em;
	border-spacing: 3px;
}

@media screen {
	.infobox {
		background-color: #f8f9fa;
	}
}

@media (max-width: 640px) {
	.infobox {
		width: 100%;
	}
	.infobox .nowrap {
		white-space: normal;
	}
}

@media (min-width: 640px) {
	.infobox {
		margin: 0.5em 0 0.5em 1em;
		float: right;
		clear: right;
		width: 22em;
	}
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
.infobox th,
.infobox td {
	vertical-align: top;
}

.infobox-label,
.infobox-data,
.infobox th,
.infobox td {
	text-align: left;
}

.infobox .infobox-above,
.infobox .infobox-title,
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title,
.infobox caption {
	padding: 0.2em;
}

.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

.infobox .infobox-navbar {
	text-align: right;
}

/* -------------------- Toggle / Collapsible -------------------- */

.hiddentext {
	display: none;
}

.showhidetext {
	color: #0645ad;
	cursor: pointer;
}

.showhidetext,
.collapsibletoggle {
	-khtml-user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.showhidetext:hover {
	text-decoration: underline;
}

.showhidetext:active {
	color: #faa700;
}

/* -------------------- Layout & Readability Fixes -------------------- */

/* Prevent long words / usernames from breaking layout */
.mw-parser-output {
	overflow-wrap: break-word;
}

/* Prevent images from overflowing */
.mw-parser-output img {
	max-width: 100%;
	height: auto;
}

/* Better blockquote styling */
blockquote {
	border-left: 4px solid #a2a9b1;
	padding-left: 10px;
	color: #555;
	margin-left: 0;
}

/* Table styling */
.wikitable {
	border-collapse: collapse;
}

.wikitable th,
.wikitable td {
	padding: 6px 10px;
}

/* Code block styling */
pre, code {
	font-family: Consolas, Monaco, monospace;
	font-size: 14px;
	background: #f6f6f6;
	padding: 2px 4px;
	border-radius: 3px;
}

/* Highlight self-links */
.mw-selflink {
	font-weight: bold;
	text-decoration: underline;
}

/* Hide empty category box */
#catlinks:empty {
	display: none;
}