MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
a:active { | a:active { | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | |||
/* Download buttons row */ | |||
.download-row { | |||
display: flex; | |||
flex-wrap: wrap; /* wrap if super narrow */ | |||
justify-content: center; /* center the row */ | |||
gap: 12px; /* space between buttons */ | |||
margin: 8px 0 16px; | |||
} | |||
/* Make the badge images responsive */ | |||
.download-row img { | |||
width: clamp(140px, 28vw, 200px); /* 140–200px, scales with viewport */ | |||
height: auto; | |||
display: block; | |||
} | } | ||
Revision as of 23:23, 25 August 2025
/* CSS placed here will be applied to all skins */
#p-tb {
display: none;
}
body.page-Home #firstHeading {
display: none;
}
/* Force all links to be underlined */
a,
a:visited,
a:active {
text-decoration: underline !important;
}
/* Download buttons row */
.download-row {
display: flex;
flex-wrap: wrap; /* wrap if super narrow */
justify-content: center; /* center the row */
gap: 12px; /* space between buttons */
margin: 8px 0 16px;
}
/* Make the badge images responsive */
.download-row img {
width: clamp(140px, 28vw, 200px); /* 140–200px, scales with viewport */
height: auto;
display: block;
}