MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1,056:
 
/* ======================================================= */
/* TEMPLATE:READ (FIXED ALIGNMENT) */
/* ======================================================= */
 
/* ======================================================= */
/* TEMPLATE:READ */
/* ======================================================= */
 
.read-pill {
/* This ensuresEnsures the pill doesn't "shiver"stretch the ontext hoverline */
box-sizing: border-box;
/* This ensures the pill doesn't "shiver" on hover */
transition: background-color 0.2s;
}
 
Line 1,069 ⟶ 1,072:
color: #202122 !important;
text-decoration: none;
display: inline-block; /* ChangedCRITICAL: fromMust be inline tofor blockellipsis forto betterwork centeringcorrectly */
display: inline;
line-height: 1; /* Force line height to 1 inside the flex container */
white-space: nowrap;
position: relative;
top: 0; /* Ensures no browser-specific offset */
}
 
.read-pill a:hover {
/* Optional: Slight hover for better UX */
text-decoration: underline;
.read-pill:hover {
filter: brightness(0.95);
}