MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 829:
/* ======================================================= */
 
/* 1. Prevent underline on the parent link when hovering */
/* We attach this to the flex container (.vector-header-start)
.mw-logo:hover,
instead of the logo link (.mw-logo).
.mw-logo:active,
This ensures the text is NOT clickable. */
.mw-logo:focus {
text-decoration: none !important;
}
 
/* 2. Inject the tagline text */
.vector-header-start::after {
.mw-logo::after {
/* \A is the CSS escape character for a Newline */
content: "Learn business.,\A Buildbuild skills.";
/* Typography - Matching Body Text */
font-family: sans-serif;
font-size: 0.875rem85em; /* 14px (StandardAdjusted Vectorsize Bodyas Size)requested */
font-weight: normal;
line-height: 1.2; /* TighterAdjusted line-height as requested */
color: #202122; /* Standard dark grey */
/* InteractionVisuals */
color: #202122 !important; /* Force color to stay dark grey even if link is visited */
text-decoration: none !important; /* Ensures no underline appears on the text itself */
cursor: defaultpointer; /* StandardShows the arrow"hand" cursor */
/* Positioning */
display: block;
white-space: pre; /* Forces the newline to render */
margin-left: 7px;
text-align: left;
align-self: center; /* Vertically aligns text in the header */
/* Interaction */
cursor: default; /* Standard arrow cursor */
pointer-events: none; /* Ensures clicks pass through (just in case) */
}
 
/* Hide on Mobile/Tablet */
@media screen and (max-width: 900px) {
.vectormw-header-startlogo::after {
display: none !important;
}