MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 139: | Line 139: | ||
margin-top: 8px; | margin-top: 8px; | ||
} | } | ||
.grid-image-wrap { | |||
position: relative; | |||
} | |||
.grid-image-wrap img { | |||
display: block; | |||
width: 100%; | |||
height: auto; | |||
margin: 0 auto; | |||
border: 1px solid #777; | |||
} | |||
.grid-overlay-title { | |||
position: absolute; | |||
left: 50%; | |||
top: 50%; | |||
transform: translate(-50%, -50%); | |||
background: rgba(255, 255, 255, 0.92); | |||
padding: 8px 14px; | |||
font-variant: small-caps; | |||
font-weight: bold; | |||
font-size: 26px; | |||
line-height: 1.1; | |||
text-align: center; | |||
max-width: 80%; | |||
box-sizing: border-box; | |||
} | |||
.grid-overlay-title a { | |||
text-decoration: none; | |||
} | |||
/* GRID FOUR */ | /* GRID FOUR */ | ||