MediaWiki:Common.css
From SNCApedia, the shit nobody cares about encyclopedia
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;
}