MediaWiki:Print.css: Difference between revisions

From greek.doctor
No edit summary
No edit summary
Line 83: Line 83:
     padding: 10px;
     padding: 10px;
     font-family: sans-serif;
     font-family: sans-serif;
    color: #202122;
     }
     }



Revision as of 21:11, 22 June 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: 10.5pt;
	line-height: 1.5em;
	width: 22em;
    font-family: sans-serif;
}


h1,
h2 {
    font-weight: normal;
    border-bottom: 1px solid #a2a9b1;
}

h2 {
   font-size: 16pt;
   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;
}

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: 18pt;

}

h3 {
   margin-block-start: 1em;
   font-size: 12pt;
}

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: 10.5pt; 
}

ul {
   font-size: 10.5pt;
}

.firstHeading {
   font-size: 22pt;
}

.toc, body {
    padding: 10px;
    font-family: sans-serif;
    color: #202122;
    }

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