MediaWiki:Common.css: Difference between revisions

From Wikisum
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
.disclaimer {
.disclaimer {
     background-color: #fef6e7;
     background-color: #fef6e7;
    margin-bottom: 16px;
     border: 1px solid #fc3;
     border: 1px solid #fc3;
     padding: 12px 24px;
     padding: 12px 24px;
max-width:630px;  
    max-width:630px;  
margin: 0 auto 50px;
    margin: 0 auto 48px;
    box-sizing: border-box;
}
}



Latest revision as of 20:52, 9 November 2024

body.ns-0.action-view header.mw-body-header { display: none; }
.mw-article-toolbar-container { border-bottom: none; }
#p-associated-pages { display: none; }
.user-anonymous .vector-page-toolbar { display: none; }
.mw-header { min-width: auto !important }
 
.disclaimer {
    background-color: #fef6e7;
    border: 1px solid #fc3;
    padding: 12px 24px;
    max-width:630px; 
    margin: 0 auto 48px;
    box-sizing: border-box;
}

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


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

.summary-card { display: block; max-width: 500px; margin: 30px auto; text-align: center; }
.summary-card__emoji { font-size: 48px; line-height: 100%; margin-bottom: 24px; }
.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; }