MediaWiki:Print.css: Difference between revisions

From greek.doctor
No edit summary
No edit summary
Tag: Reverted
Line 82: Line 82:
.toc, body {
.toc, body {
         padding: 10px;
         padding: 10px;
        font-family: 'Times';
      /* font-family: 'Times'; */
     }
     }



Revision as of 10:10, 21 June 2024

/* CSS placed here will affect the print output */

@media print {

/* 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: 88%;
	line-height: 1.5em;
	width: 22em;
    font-family: 'sans-serif';
}
*/
/*
.printfooter,
.mw-footer,
.thumb,
figure,
table,
ol,
dl,
ul,
h3,
h4,
h5,
h6 {
	font-family: 'Georgia';
    
}
*/

h1,
h2 {
    font-weight: normal;
}

h2 {
   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 {
   border-bottom: 1px solid #a2a9b1;
   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;
}

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

.toc, body {
        padding: 10px;
       /* font-family: 'Times'; */
    }

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