MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
.mw-article-toolbar-container { max-width: 100% !important; } | .mw-article-toolbar-container { max-width: 100% !important; } | ||
.mw-body { border-top: 0 } | .mw-body { border-top: 0 } | ||
.microsummary { text-align: left } | |||
.microsummary-title { | |||
display: inline-block; | |||
color: #fff; | |||
font-size: 10px; | |||
line-height: 20px; | |||
font-weight: bold; | |||
letter-spacing: .05em; | |||
text-transform: uppercase; | |||
background: #e20016; | |||
padding: 0 6px; | |||
top: -1px; | |||
position: relative; | |||
vertical-align: middle; | |||
border-radius: 2px; | |||
} | |||
.microsummary-divider { | |||
display: inline-block; | |||
width: 3px; | |||
height: 3px; | |||
overflow: hidden; | |||
opacity: 0; | |||
} | |||
.microsummary-content { display: inline; font-size: 18px; line-height: 24px; } |
Revision as of 18:13, 8 March 2022
.character-card { display:flex; margin:1em auto; } .character-card__indent { margin-left: 32px; } .character-card__emoji { flex-shrink: 0; width: 64px; height: 64px; margin-right: 10px; overflow: hidden; border-radius: 100%; background: #efefef; text-align: center; line-height: 64px; font-size: 40px; overflow: hidden; } .character-card__portrait { flex-shrink: 0; width: 64px; height: 64px; margin-right: 10px; overflow: hidden; border-radius: 100%; background: #efefef; } .character-card__portrait a { display: block; widht: 100%; height: 100%; } .character-card__portrait img { display: block; widht: 100%; height: 100%; object-fit: cover; } .character-card__description { align-self: center; } .mw-page-container { min-width: auto !important; } .mw-article-toolbar-container { max-width: 100% !important; } .mw-body { border-top: 0 } .microsummary { text-align: left } .microsummary-title { display: inline-block; color: #fff; font-size: 10px; line-height: 20px; font-weight: bold; letter-spacing: .05em; text-transform: uppercase; background: #e20016; padding: 0 6px; top: -1px; position: relative; vertical-align: middle; border-radius: 2px; } .microsummary-divider { display: inline-block; width: 3px; height: 3px; overflow: hidden; opacity: 0; } .microsummary-content { display: inline; font-size: 18px; line-height: 24px; }