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; | |||
} | } | ||