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 |
||
| (45 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* DO NOT MODIFY THIS UNLESS YOU ARE A HELPER, CHUD. */ | |||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | /* -------------------- User Colors -------------------- */ | ||
a[href="/wiki/User:SNCA_Enthusiast"], | |||
/* 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"] { | 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; | color: red !important; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
/*sysop user color*/ | /* sysop user color */ | ||
a[href="/wiki/User: | a[href="/wiki/User:Bob"], | ||
a[href="/wiki/User:Sawoot"] { | a[href="/wiki/User:Sawoot"] { | ||
color: purple !important; | color: purple !important; | ||
| Line 15: | Line 36: | ||
} | } | ||
/* | /* 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:Yaquer200"] { | a[href="/wiki/User:MakerofClankers"], | ||
color: # | 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; | font-weight: bold; | ||
} | } | ||
/* 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 36: | Line 75: | ||
.infobox { | .infobox { | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
} | |||
} | } | ||
| Line 43: | Line 82: | ||
width: 100%; | width: 100%; | ||
} | } | ||
.infobox .nowrap { | .infobox .nowrap { | ||
white-space: normal; | white-space: normal; | ||
| Line 51: | Line 89: | ||
@media (min-width: 640px) { | @media (min-width: 640px) { | ||
.infobox { | .infobox { | ||
margin: 0.5em 0 0.5em 1em; | margin: 0.5em 0 0.5em 1em; | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
width: 22em; | width: 22em; | ||
| Line 70: | Line 105: | ||
.infobox-image, | .infobox-image, | ||
.infobox-navbar, | .infobox-navbar, | ||
.infobox th, | .infobox th, | ||
.infobox td { | .infobox td { | ||
| Line 78: | Line 112: | ||
.infobox-label, | .infobox-label, | ||
.infobox-data, | .infobox-data, | ||
.infobox th, | .infobox th, | ||
.infobox td { | .infobox td { | ||
text-align: left; | text-align: left; | ||
} | } | ||
.infobox .infobox-above, | .infobox .infobox-above, | ||
.infobox .infobox-title, | .infobox .infobox-title, | ||
.infobox caption { | .infobox caption { | ||
font-size: 125%; | font-size: 125%; | ||
| Line 96: | Line 126: | ||
.infobox-title, | .infobox-title, | ||
.infobox caption { | .infobox caption { | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
.infobox .infobox-header, | .infobox .infobox-header, | ||
.infobox .infobox-subheader, | .infobox .infobox-subheader, | ||
| Line 110: | Line 138: | ||
} | } | ||
.infobox .infobox-navbar { | .infobox .infobox-navbar { | ||
text-align: right; | text-align: right; | ||
} | } | ||
/* | /* -------------------- Toggle / Collapsible -------------------- */ | ||
.hiddentext { | .hiddentext { | ||
display: none; | display: none; | ||
| Line 143: | 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;
}