MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 254: | Line 254: | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: center; | justify-content: center; | ||
gap: 10px | gap: 12px 10px; | ||
width: 100%; | |||
} | |||
.skin-citizen .wizlords-wideimagetext-grid .wizlords-wideimagetext { | |||
flex: 0 0 calc((100% - 10px) / 2); | |||
box-sizing: border-box; | |||
width: calc((100% - 10px) / 2); | |||
max-width: none; | |||
margin: 0; | |||
text-align: center; | |||
} | |||
.skin-citizen .wizlords-wideimagetext-image, | |||
.skin-citizen .wizlords-wideimagetext-image img { | |||
display: block; | |||
width: 100%; | |||
height: auto; | |||
aspect-ratio: 2 / 1; | |||
object-fit: cover; | |||
border: 0; | |||
background: transparent; | |||
} | |||
.skin-citizen .wizlords-wideimagetext-text { | |||
display: flex; | |||
align-items: flex-start; | |||
justify-content: center; | |||
width: 100%; | |||
min-height: 34px; | |||
height: auto; | |||
margin-top: 4px; | |||
font-size: 12px; | |||
line-height: 1.2; | |||
text-align: center; | |||
overflow-wrap: anywhere; | |||
} | } | ||
} | } | ||