MediaWiki:Common.css

From Wikisum
Revision as of 20:50, 9 November 2024 by Alexey Skripnik (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
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;
    margin-bottom: 16px;
    border: 1px solid #fc3;
    padding: 12px 24px;
max-width:630px; 
margin: 0 auto 50px;
}

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