MediaWiki:Print.css: Difference between revisions
No edit summary |
No edit summary |
||
(68 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will affect the print output */ | /* CSS placed here will affect the print output */ | ||
/* Infobox template style | |||
/* Infobox template style */ | |||
.infobox { | .infobox { | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
Line 14: | Line 15: | ||
/* @noflip */ | /* @noflip */ | ||
clear: right; | clear: right; | ||
font-size: 10pt; | |||
line-height: 1.5em; | line-height: 1.5em; | ||
width: 22em; | width: 22em; | ||
font-family: | font-family: sans-serif; | ||
} | } | ||
h1, | h1, | ||
h2 { | h2 { | ||
font-weight: normal; | font-weight: normal; | ||
border-bottom: 1px solid #a2a9b1; | |||
} | |||
h1 { | |||
line-height: 32.76px; | |||
margin-block-end: 6.3px; | |||
margin-block-start: 25.2px; | |||
margin-bottom: 6.3px; | |||
margin-inline-end: 0px; | |||
margin-inline-start: 0px; | |||
margin-left: 0px; | |||
margin-right: 0px; | |||
margin-top: 25.2px; | |||
font-size: 16pt; | |||
} | } | ||
h2 { | h2 { | ||
font-size: 12pt; | |||
margin-block-end: 5.25px; | margin-block-end: 5.25px; | ||
margin-block-start: 21px; | margin-block-start: 21px; | ||
Line 54: | Line 54: | ||
} | } | ||
h3 { | |||
margin-block-start: 1em; | |||
font-size: 11pt; | |||
} | |||
margin-block-start: | |||
h1, h2, h3, h4, h5, tr td p { | |||
font-family: sans-serif !important; | |||
} | } | ||
Line 76: | Line 72: | ||
margin-right: 0px; | margin-right: 0px; | ||
margin-top: 7px; | margin-top: 7px; | ||
line-height: 1.4; | |||
font-size: 10pt; | |||
font-family: serif; | |||
} | |||
ol li, ul li, table { | |||
font-size: 10pt; | |||
font-family: serif; | |||
} | |||
ol, ul { | |||
margin: 2px 0 0px 1.5em; | |||
} | |||
.firstHeading { | |||
font-size: 18pt; | |||
} | } | ||
.toc, body { | .toc, body { | ||
padding: 10px; | |||
color: #202122; | |||
} | |||
.wikitable > tr > th,.wikitable > * > tr > th { | |||
background-color: #eaecf0 !important; | |||
text-align: center; | |||
font-family: sans-serif; | |||
} | |||
figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child, figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child, figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child, figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child { | figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child, figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child, figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child, figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child { | ||
Line 90: | Line 109: | ||
border: 1px solid #c8ccd1; | border: 1px solid #c8ccd1; | ||
background: #ffffff; | background: #ffffff; | ||
} | |||
.mw-body h1, .mw-body-content h1, .mw-body-content h2 { | |||
margin-bottom: 0.25em; | |||
padding: 0; | |||
/* font-family: 'Linux Libertine', 'Georgia', 'Times', serif; */ | |||
line-height: 1.3; | |||
} | } |
Latest revision as of 13:26, 9 July 2024
/* CSS placed here will affect the print output */ /* Infobox template style */ .infobox { border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; /* @noflip */ margin: 0.5em 0 0.5em 1em; padding: 0.2em; /* @noflip */ float: right; /* @noflip */ clear: right; font-size: 10pt; line-height: 1.5em; width: 22em; font-family: sans-serif; } h1, h2 { font-weight: normal; border-bottom: 1px solid #a2a9b1; } h1 { line-height: 32.76px; margin-block-end: 6.3px; margin-block-start: 25.2px; margin-bottom: 6.3px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 25.2px; font-size: 16pt; } h2 { font-size: 12pt; margin-block-end: 5.25px; margin-block-start: 21px; margin-bottom: 5.25px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 21px; } h3 { margin-block-start: 1em; font-size: 11pt; } h1, h2, h3, h4, h5, tr td p { font-family: sans-serif !important; } p { margin-block-end: 7px; margin-block-start: 7px; margin-bottom: 7px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 7px; line-height: 1.4; font-size: 10pt; font-family: serif; } ol li, ul li, table { font-size: 10pt; font-family: serif; } ol, ul { margin: 2px 0 0px 1.5em; } .firstHeading { font-size: 18pt; } .toc, body { padding: 10px; color: #202122; } .wikitable > tr > th,.wikitable > * > tr > th { background-color: #eaecf0 !important; text-align: center; font-family: sans-serif; } figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child, figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child, figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child, figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child { margin: 3px; } figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) { border: 1px solid #c8ccd1; background: #ffffff; } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { margin-bottom: 0.25em; padding: 0; /* font-family: 'Linux Libertine', 'Georgia', 'Times', serif; */ line-height: 1.3; }