MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
height: fit-content; | height: fit-content; | ||
padding: 5px; | padding: 5px; | ||
margin-bottom: | margin-bottom: 15px; | ||
font-size: 12pt; | font-size: 12pt; | ||
} | } |
Revision as of 19:33, 21 December 2023
/* CSS placed here will be applied to all skins */ /* White background in body */ @font-face { font-family: 'HALColant-TextRegular'; src: url('/fonts/HALColant-TextRegular.woff2') format('woff2'), url('/fonts/HALColant-TextRegular.woff') format('woff'); font-weight: normal; font-style: normal; } body { font-family: 'HALColant-TextRegular', sans-serif; background-color: white; transition: background-color 1s ease; } /* Mediawiki horizontal navigation styles */ #mw-head { background-color: white; transition: background-color 1s ease; display: none; } #mw-page-base { background-color: white; transition: background-color 1s ease; background-image: none; } .mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer { margin-left: 0!important; } .mw-body { border: none; } #p-logo a { display: none; } .mw-footer { display: none; } .list { display: flex; flex-wrap: wrap; max-width: 90%; margin: 0 auto; } .card { width: calc(20% - 2px); box-sizing: border-box; border: 1px solid black; height: fit-content; padding: 5px; margin-bottom: 15px; font-size: 12pt; } .card:not(:first-child) { margin-left: -1px; } .card:nth-child(5n + 1) { margin-left: 0; transform: none; } .card:last-child { margin-right: 0; border-right: 1px solid black; } .mw-body .firstHeading { display: none; } #mw-panel { display: none; } .people { text-decoration: underline; border-top: 1px solid black; } .type { border-top: 1px solid black; }