« MediaWiki:Print.css » : différence entre les versions
De Guide de l'Installation Electrique
m (1 révision importée : importer pages, templates etc de PPR-FR (X1)) |
m (1 version importée : MW1.35 - common pages for all wikis) |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
/* CSS placed here will affect the print output */ | /* CSS placed here will affect the print output */ | ||
#contentSub, #share-prev-next, .navbar, .footer-main {display:none;} | #header, #contentSub, #jump-to-nav, #share-prev-next, .navbar, .printfooter, .footer-main {display:none!important;} | ||
#firstHeading { padding-top: 0; } | #firstHeading { padding-top: 0!important; margin-top: 0!important;} | ||
a, a:visited { text-decoration: underline; } | a, a:visited { text-decoration: underline; } | ||
#firstHeading a[href]:after { content:""; } | #firstHeading a[href]:after { content:""; } | ||
.thumbinner a[href]:after, .gallerybox .thumb a[href]:after, table.wikitable a.image[href]:after { font-size: 8px; color:#626469!important; } | /* uncomment the line below to show the figure numbers in the printed page ... | ||
.thumbinner a[href]:after, .gallerybox .thumb a[href]:after, table.wikitable a.image[href]:after { font-size: 8px; color:#626469!important; } | |||
... and comment the following line */ | |||
#content a.image[href]:after { display:none!important; } | |||
.hl-box { background-color: #F7F7F7!important; -webkit-print-color-adjust: exact; } | |||
a, a:visited { color: #219bfd!important; text-decoration: underline !important; } | |||
a.external { text-decoration: underline !important; } | |||
a[href]:after { content: "" !important; } | |||
.thumbinner > img, .thumbinner a > img {max-width: calc(100% - 2px) !important;} | |||
.thumbcaption { background-color: #ededed!important; } | |||
.figure-title, .gallerytext { border: 1px solid #ededed; } | .figure-title, .gallerytext { border: 1px solid #ededed; } | ||
/* TO DO = add css to improve format of printed tables */ | /* TO DO = add css to improve format of printed tables */ | ||
Ligne 10 : | Ligne 19 : | ||
table.wikitable td.table_title_level_1 { background-color:#cbcbcb!important; -webkit-print-color-adjust: exact; } | table.wikitable td.table_title_level_1 { background-color:#cbcbcb!important; -webkit-print-color-adjust: exact; } | ||
table.wikitable td.table_title_level_2 { background-color:#ededed!important; -webkit-print-color-adjust: exact; } | table.wikitable td.table_title_level_2 { background-color:#ededed!important; -webkit-print-color-adjust: exact; } | ||
#tc-privacy-wrapper, #SideSummary, #toc, .vd0 #firstHeading:after { display: none!important; } | |||
*:not([class="tb-squares"]) { font-family: 'Arial'!important; } | |||
#footer-info li { color: #626469!important; font-style: italic; } | |||
#footer-info { margin-top: 12px; } | |||
h3, h4, h5, .related-guide-title {font-weight: bold;} | |||
/* Bootstrap 4 print workaround */ | |||
@page { size: auto; } | |||
body { min-width: 0px !important; } | |||
.container { min-width: 0px !important; width: auto; } | |||
*, *::before, *::after { color: #000 !important; } | |||
/* Override MediaWiki print styles */ | |||
p { line-height: 1.42857143; } | |||
img, figure, .wikitable, .thumb { page-break-inside: auto; } | |||
/* Override common.css */ | |||
.containerBodyWithoutSS { padding-top: 0px !important; } |
Dernière version du 30 juin 2022 à 15:47
/* CSS placed here will affect the print output */
#header, #contentSub, #jump-to-nav, #share-prev-next, .navbar, .printfooter, .footer-main {display:none!important;}
#firstHeading { padding-top: 0!important; margin-top: 0!important;}
a, a:visited { text-decoration: underline; }
#firstHeading a[href]:after { content:""; }
/* uncomment the line below to show the figure numbers in the printed page ...
.thumbinner a[href]:after, .gallerybox .thumb a[href]:after, table.wikitable a.image[href]:after { font-size: 8px; color:#626469!important; }
... and comment the following line */
#content a.image[href]:after { display:none!important; }
.hl-box { background-color: #F7F7F7!important; -webkit-print-color-adjust: exact; }
a, a:visited { color: #219bfd!important; text-decoration: underline !important; }
a.external { text-decoration: underline !important; }
a[href]:after { content: "" !important; }
.thumbinner > img, .thumbinner a > img {max-width: calc(100% - 2px) !important;}
.thumbcaption { background-color: #ededed!important; }
.figure-title, .gallerytext { border: 1px solid #ededed; }
/* TO DO = add css to improve format of printed tables */
table.wikitable > tr > th, table.wikitable > * > tr > th { background-color:#cef2d5!important; -webkit-print-color-adjust: exact; }
table.wikitable td.table_title_level_1 { background-color:#cbcbcb!important; -webkit-print-color-adjust: exact; }
table.wikitable td.table_title_level_2 { background-color:#ededed!important; -webkit-print-color-adjust: exact; }
#tc-privacy-wrapper, #SideSummary, #toc, .vd0 #firstHeading:after { display: none!important; }
*:not([class="tb-squares"]) { font-family: 'Arial'!important; }
#footer-info li { color: #626469!important; font-style: italic; }
#footer-info { margin-top: 12px; }
h3, h4, h5, .related-guide-title {font-weight: bold;}
/* Bootstrap 4 print workaround */
@page { size: auto; }
body { min-width: 0px !important; }
.container { min-width: 0px !important; width: auto; }
*, *::before, *::after { color: #000 !important; }
/* Override MediaWiki print styles */
p { line-height: 1.42857143; }
img, figure, .wikitable, .thumb { page-break-inside: auto; }
/* Override common.css */
.containerBodyWithoutSS { padding-top: 0px !important; }