MediaWiki:Common.css: Difference between revisions
remove wgLogos |
add thumbnail css for Common Images |
||
| Line 1,338: | Line 1,338: | ||
flex-flow: row wrap; | flex-flow: row wrap; | ||
justify-content: space-around; | justify-content: space-around; | ||
} | |||
/* Main page category thumbnails */ | |||
.mpheader4 { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: flex-start; | |||
border: 1px var(--mp-border-color) solid; | |||
border-radius: 5px; | |||
margin: 0.2em; | |||
padding: 0.5em; | |||
width: 150px; | |||
box-sizing: border-box; | |||
gap: 8px; | |||
} | |||
/* Thumbnail image */ | |||
.mpheader4 img { | |||
width: 100px; | |||
height: 100px; | |||
object-fit: contain; | |||
} | |||
/* Category link */ | |||
.mpheader4 a { | |||
text-align: center; | |||
} | } | ||