MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap'); | |||
.mw-body { | |||
border-color: transparent; | |||
box-shadow: 0 0.25em 0.6em -0.15em rgba(0, 0, 0, 0.15); | |||
margin-top: 0; | |||
background:#fbfbfb# | |||
} | |||
#mw-page-base { | |||
background: none; | |||
} | |||
body.page-Main_Page .firstHeading{ | |||
display: none; | |||
} | |||
body.page-Main_Page .mw-parser-output{ | |||
max-width: 75em; | |||
margin: 0 auto; | |||
} | |||
.mw-body h1, | |||
.mw-body h2, | |||
.mw-body h3, | |||
.mw-body h4, | |||
.mw-body h5{ | |||
font-family: "PT Serif", serif; | |||
} | |||
body.page-Main_Page h1 { | |||
font-weight:700; | |||
font-size:2.5em; | |||
border: none; | |||
} | |||
.az-infobox { | .az-infobox { | ||
Line 9: | Line 44: | ||
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1); | box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1); | ||
float: right; | float: right; | ||
table-layout: | table-layout: auto; | ||
background: var(--body-light); | background: var(--body-light); | ||
border: 1px solid #000; | border: 1px solid #000; | ||
Line 33: | Line 68: | ||
text-align: right; | text-align: right; | ||
padding-right:8px; | padding-right:8px; | ||
width: | width:35%; | ||
} | |||
.item-info { | |||
display: flex; | |||
align-items: flex-start; /* Align image and text at the top */ | |||
margin: 10px 0; | |||
} | |||
.item-info img { | |||
margin-right: 10px; /* Space between image and text */ | |||
} | } |
Latest revision as of 10:00, 24 June 2025
/* CSS placed here will be applied to all skins */ @import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap'); .mw-body { border-color: transparent; box-shadow: 0 0.25em 0.6em -0.15em rgba(0, 0, 0, 0.15); margin-top: 0; background:#fbfbfb# } #mw-page-base { background: none; } body.page-Main_Page .firstHeading{ display: none; } body.page-Main_Page .mw-parser-output{ max-width: 75em; margin: 0 auto; } .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5{ font-family: "PT Serif", serif; } body.page-Main_Page h1 { font-weight:700; font-size:2.5em; border: none; } .az-infobox { font-size: 0.85em; width: 300px; margin: 0.5em 0 1em 1em; border-collapse: collapse; box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1); float: right; table-layout: auto; background: var(--body-light); border: 1px solid #000; word-break: break-word; } .az-infobox .infobox-header, .az-infobox .infobox-subheader{ color: #fff; font-size: 1.15em; line-height: 1.4em; background: #2e293c; padding: 0.5em 0; white-space: normal; } .az-infobox .infobox-subheader{ background: #4a4566; } .az-infobox tr td:first-child{ font-weight: bold; text-align: right; padding-right:8px; width:35%; } .item-info { display: flex; align-items: flex-start; /* Align image and text at the top */ margin: 10px 0; } .item-info img { margin-right: 10px; /* Space between image and text */ }