MediaWiki:Common.css: Difference between revisions

From Wikisum
No edit summary
Tag: Manual revert
No edit summary
Line 43: Line 43:
}
}
.microsummary-content { display: inline; font-size: 18px; line-height: 24px; }
.microsummary-content { display: inline; font-size: 18px; line-height: 24px; }
.main_content { font-size: 22px; line-height: 1.45em; max-width:35em; margin: 0 auto 50px; }

Revision as of 19:53, 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 }


.summary-card { display: block; max-width: 500px; margin: 30px auto; text-align: center; }
.summary-card__author { font-size: 10px; line-height: 13px; margin-bottom: 13px; }
.summary-card__title { font-size: 32px; font-weight: bold; line-height: 110%; margin-bottom: 22px; }
.summary-card__subtitle { font: 18px/1.1em sans-serif; max-width: 75%; margin: -12px auto 20px; }
.summary-card__original-title { font-size: 10px; line-height: 13px; max-width: 75%; margin: 0 auto 13px }
.summary-card__genre { font-size: 15px; line-height: 20px; margin-bottom: 20px; }

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

.main_content { font-size: 22px; line-height: 1.45em; max-width:35em; margin: 0 auto 50px; }