MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,062:
white-space: nowrap;
/* Shape1. THICKER TOP PADDING */
/* Top: 2px | Right: 0.4em | Bottom: 1px | Left: 0.4em */
padding: 2px 0.1em4em 1px 0.4em;
/* 2. LIFT TEXT UP 1 PIXEL */
position: relative;
top: -1px;
/* Visuals */
border-radius: 4px;
padding: 0.1em 0.4em;
margin: 0 0.1em;
/* TypographyFonts */
font-size: 0.85em;
font-weight: 500;
/* FORCEColor THEInheritance BASE& TEXTWrapping COLORSafety */
color: #202122 !important;
/* Clone ensures background renders if it wraps */
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
}
 
/* 1.Link PAGEColor EXISTSFixes (Standard Link& Missing) */
/* ======================================================= */
.read-pill a { color: #202122 !important; text-decoration: none !important; }
/* FORCE ALL LINKS INSIDE PILL TO BE DARK GRAY */
.read-pill a.new { color: white !important; background-color: #d73333; padding: 0 4px; border-radius: 3px; }
/* We must target 'a.new' specifically to fix the red links */
/* ======================================================= */
/* ======================================================= */
/* READ PILL LINK COLORS */
/* ======================================================= */
 
/* 1. PAGE EXISTS (Standard Link) */
/* Forces Dark Gray (#202122) */
.read-pill a,
.read-pill a:visited,
.read-pill a:active,
.read-pill a.external {
color: #202122 !important;
text-decoration: none !important;
}
 
/* 2. PAGE DOES NOT EXIST (Broken/Red Link) */
/* Forces White Text + Red Background (for readability) */
.read-pill a.new {
color: red !important;
/* Formatting to make the red bg look good inside the pill */
padding: 0 4px;
border-radius: 3px;
text-decoration: none !important;
}