MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Tag: Reverted
Line 1,056:
 
/* ======================================================= */
/* TEMPLATE:READ (FIXED ALIGNMENT) */
/* ======================================================= */
 
/* ======================================================= */
/* TEMPLATE:READ */
/* ======================================================= */
 
.read-pill {
/* Ensures the pill doesn't stretch the text line */
box-sizing: border-box;
/* EnsuresThis ensures the pill doesn't stretch the"shiver" texton linehover */
transition: background-color 0.2s;
}
 
Line 1,072 ⟶ 1,069:
color: #202122 !important;
text-decoration: none;
display: inline-block; /* CRITICAL:Changed Must befrom inline forto ellipsisblock tofor workbetter correctlycentering */
line-height: 1; /* Force line height to 1 inside the flex container */
display: inline;
white-space: nowrap;
position: relative;
top: 0; /* Ensures no browser-specific offset */
}
 
/* Optional: Slight hover for better UX */
.read-pill a:hover {
text-decoration: underline;
filter: brightness(0.95);
}