MediaWiki:Print.css: Difference between revisions
No edit summary |
No edit summary |
||
(23 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
font-weight: normal; | font-weight: normal; | ||
border-bottom: 1px solid #a2a9b1; | border-bottom: 1px solid #a2a9b1; | ||
} | } | ||
Line 50: | Line 38: | ||
margin-right: 0px; | margin-right: 0px; | ||
margin-top: 25.2px; | margin-top: 25.2px; | ||
font-size: | 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; | |||
} | } | ||
Line 57: | Line 57: | ||
margin-block-start: 1em; | margin-block-start: 1em; | ||
font-size: 11pt; | font-size: 11pt; | ||
} | |||
h1, h2, h3, h4, h5, tr td p { | |||
font-family: sans-serif !important; | |||
} | } | ||
Line 70: | Line 74: | ||
line-height: 1.4; | line-height: 1.4; | ||
font-size: 10pt; | font-size: 10pt; | ||
font-family: serif; | |||
} | } | ||
ol li, ul li { | ol li, ul li, table { | ||
font-size: 10pt; | font-size: 10pt; | ||
font-family: serif; | font-family: serif; | ||
} | |||
ol, ul { | |||
margin: 2px 0 0px 1.5em; | |||
} | } | ||
Line 83: | Line 93: | ||
.toc, body { | .toc, body { | ||
padding: 10px; | padding: 10px; | ||
color: #202122; | 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 { |
Latest revision as of 14: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; }