Différences entre versions de « MediaWiki:Print.css »

De médecine.top

Ligne 1 : Ligne 1 :
 
/* Le CSS placé ici affectera les impressions */
 
/* Le CSS placé ici affectera les impressions */
  
html,body,body div,span,object,iframe,h1,h2,h3,h4,h5,h6,a,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;color:#222;font-family:"helvetica neue",helvetica,arial,sans-serif;vertical-align:baseline;}h1,h2,h3,h4,h5,h6{font-weight:bold}article,aside,figure,footer,header,hgroup,nav,section{display:block}img,object,embed{max-width:100%}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}a{margin:0;padding:0;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}table{font-size:inherit;font:100%;border-collapse:collapse;border-spacing:0}th{font-weight:bold;vertical-align:bottom}td{font-weight:normal;vertical-align:top}td,td img{vertical-align:top}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}.clickable,button,input,select,textarea{display:none}pre{white-space:pre;white-space:pre-wrap;white-space:pre-line;word-wrap:break-word}a:hover,a:active{outline:0}small{font-size:85%}strong,th{font-weight:bold}sub,sup{font-size:75%;line-height:0;position:relative}sup{top:-0.5em}sub{bottom:-0.25em}pre,code,kbd,samp{font-family:consolas,"lucida console","courier new",courier,monospace,sans-serif}.ie7 img{-ms-interpolation-mode:bicubic}.clearfix:before,.clearfix:after{content:"\0020";display:block;height:0;overflow:hidden}.clearfix:after{clear:both}.clearfix{zoom:1}
+
/*
html {
+
  Adapted from https://github.com/murtaugh/HTML5-Reset
  font-size: 100.01%;
+
  Formatted using http://procssor.com/
  background: white;
+
*/
 +
 
 +
html,
 +
body,
 +
body div,
 +
span,
 +
object,
 +
iframe,
 +
h1,
 +
h2,
 +
h3,
 +
h4,
 +
h5,
 +
h6,
 +
a,
 +
p,
 +
blockquote,
 +
pre,
 +
abbr,
 +
address,
 +
cite,
 +
code,
 +
del,
 +
dfn,
 +
em,
 +
img,
 +
ins,
 +
kbd,
 +
q,
 +
samp,
 +
small,
 +
strong,
 +
sub,
 +
sup,
 +
var,
 +
b,
 +
i,
 +
dl,
 +
dt,
 +
dd,
 +
ol,
 +
ul,
 +
li,
 +
fieldset,
 +
form,
 +
label,
 +
legend,
 +
table,
 +
caption,
 +
tbody,
 +
tfoot,
 +
thead,
 +
tr,
 +
th,
 +
td,
 +
article,
 +
aside,
 +
figure,
 +
footer,
 +
header,
 +
hgroup,
 +
menu,
 +
nav,
 +
section,
 +
time,
 +
mark,
 +
audio,
 +
video {
 +
  margin: 0 !important;
 +
  padding: 0 !important;
 +
  border: 0;
 +
  outline: 0;
 +
  font-size: 100%;
 +
  color: #222;
 +
  font-family: "helvetica neue", helvetica, arial, sans-serif;
 +
  font-weight: normal;
 +
  vertical-align: baseline;
 
}
 
}
body,
+
h1,
*[style] {
+
h2,
font-size: 75% !important;
+
h3,
line-height: 1.5
+
h4,
 +
h5,
 +
h6 {
 +
  font-weight: bold!important
 +
}
 +
article,
 +
aside,
 +
figure,
 +
footer,
 +
header,
 +
hgroup,
 +
nav,
 +
section {
 +
  display: block
 +
}
 +
/* Responsive images and other embedded objects
 +
  Note: keeping IMG here will cause problems if you're using foreground images as sprites.
 +
  If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
 +
img,
 +
object,
 +
embed {
 +
  max-width: 100%
 +
}
 +
ul {
 +
  list-style: none
 +
}
 +
blockquote,
 +
q {
 +
  quotes: none
 +
}
 +
blockquote:before,
 +
blockquote:after,
 +
q:before,
 +
q:after {
 +
  content: '';
 +
  content: none;
 
}
 
}
h1 { font-size: 3em }
 
h2 { font-size: 2em }
 
h3 { font-size: 1.5em }
 
h4 { font-size: 1.2em }
 
h5 { font-size: 1em }
 
h6 { font-size: 1em }
 
 
a {
 
a {
text-decoration: none;
+
  margin: 0;
 +
  padding: 0;
 +
  vertical-align: baseline;
 +
  background: transparent;
 +
}
 +
del {
 +
  text-decoration: line-through
 +
}
 +
abbr[title],
 +
dfn[title] {
 +
  border-bottom: 1px dotted #000;
 +
  cursor: help;
 +
}
 +
/* tables still need cellspacing="0" in the markup */
 +
table {
 +
  font-size: inherit;
 +
  font: 100%;
 +
  border-collapse: collapse;
 +
  border-spacing: 0;
 
}
 
}
 
+
th {
/* Article heading and source */
+
  font-weight: bold;
#firstHeading { text-align: center }
+
  vertical-align: bottom;
#siteSub {
 
display: block;
 
margin: 1em 0 0 0;
 
color: #999;
 
font-size: 1.5em; font-weight: bold;
 
text-align: center
 
 
}
 
}
#contentSub { display: none }
+
td {
 
+
  font-weight: normal;
/* Table of Contents */
+
  vertical-align: top;
/* Typically not wrapped in div. Can't do two-columns */
 
#toc {
 
width: 100%;
 
font-size: 125%;
 
/* Gets its own page */
 
background: none;
 
border: none!important;
 
page-break-after: always;
 
page-break-before: always;
 
 
}
 
}
#toc .tocnumber {
+
td,
position: absolute;
+
td img {
left: 0.5em;
+
  vertical-align: top
width: 4.5em;
 
padding: 0 0.5em 0 0;
 
font-weight: bold;
 
text-align: right
 
 
}
 
}
#toc .tocnumber:after { content: " " }
+
hr {
#toc .toctext {
+
  display: block;
display: block;
+
  height: 1px;
margin: 0 0 0 6em
+
  border: 0;
 +
  border-top: 1px solid #ccc;
 +
  margin: 1em 0;
 +
  padding: 0;
 
}
 
}
#toc h2 {
+
.clickable,
padding: 0.25em 0;
+
button,
border-bottom: none !important;
+
input,
text-align: center
+
select,
 +
textarea {
 +
  display: none
 
}
 
}
#toc td { border: none!important }
+
pre {
#toc td > ul { margin: 1.5em 0 !important }
+
  white-space: pre; /* CSS2 */
#toc li {
+
  white-space: pre-wrap; /* CSS 2.1 */
position: relative;
+
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
padding-right: 4.5em
+
  word-wrap: break-word; /* IE */
 
}
 
}
#toc ul { list-style-type: none!important }
+
/* Accessible focus treatment
 
+
    people.opera.com/patrickl/experiments/keyboard/test */
/* Article content */
+
a:hover,
#bodyContent h2,
+
a:active {
h3,
+
  outline: none
h4,
 
h5 { clear: left }
 
#bodyContent p {
 
margin: 1em 0;
 
line-height: 1.5
 
 
}
 
}
#bodyContent em,
+
small {
#bodyContent i { font-family: georgia, "times new roman", times, serif }
+
  font-size: 85%
#bodyContent ul,
 
#bodyContent ol { margin: 0.75em 1.5em 0.75em 3em }
 
#bodyContent p span,
 
#bodyContent ul span,
 
#bodyContent ol span,
 
tr[style] { font-size: 1em!important }
 
#bodyContent ul { list-style-type: disc }
 
#bodyContent ol { list-style-type: decimal }
 
#bodyContent pre {
 
padding: 0.75em;
 
border: 1px solid #CCC
 
 
}
 
}
#bodyContent pre + pre { margin: 0.75em 0 0 0 }
+
strong,
#bodyContent a.external.text { border-bottom: 1px solid #CCC }
+
th {
#bodyContent a.external.text:after,
+
  font-weight: bold
#content a.external.autonumber:after {
 
content: " <" attr(href) ">";
 
font-family: consolas, "lucida console", "courier new", courier, monospace, sans-serif;
 
 
}
 
}
 
+
/* Make sure sup and sub don't screw with your line-heights
/* Hide pronounciation icon */
+
    gist.github.com/413930 */
#bodyContent a[title^=Listen] { display: none }
+
sub,
 
+
sup {
/* Don't show links to main articles */
+
  font-size: 75%;
#bodyContent .rellink { display: none }
+
  line-height: 0;
 
+
  position: relative;
/* Tables */
 
#bodyContent table { border-left: 1px solid #CCC }
 
#bodyContent table .headerSort { background: none }
 
#bodyContent table .sortheader { display: none }
 
#bodyContent table caption {
 
padding: 0.5em 0;
 
font-size: 115%; font-weight: bold;
 
border: 1px solid #CCC
 
 
}
 
}
#bodyContent table th,
+
sup {
#bodyContent table td {
+
  top: -0.5em
padding: 0.5em;
 
border-bottom: 1px solid #CCC; border-right: 1px solid #CCC;
 
text-align: left;
 
vertical-align: top
 
 
}
 
}
 
+
sub {
/* Footer */
+
  bottom: -0.25em
.printfooter {
 
padding: 1.5em 0 0 0;
 
font-size: 95%
 
 
}
 
}
.printfooter a { font-weight: bold }
+
/* standardize any monospaced elements */
/** Show categories?
+
pre,
* .catlinks a,
+
code,
* #catlinks a {
+
kbd,
* font-weight: bold;
+
samp {
* font-size: 95%;
+
  font-family: consolas, "lucida console", "courier new", courier, monospace, sans-serif
* }
 
* .catlinks span a,
 
* #catlinks span a {
 
* font-weight: normal;
 
* }
 
*/
 
.catlinks,
 
#catlinks { display: none }
 
#footer {
 
margin: 0!important; padding: 0!important;
 
font-size: 95%;
 
border: 0
 
 
}
 
}
#footer-places,
+
/* scale images in IE7 more attractively */
.patrollink { display: none }
+
.ie7 img {
 
+
  -ms-interpolation-mode: bicubic
/* Two columns for list of references */
 
.reflist {
 
padding: 0.75em 0;
 
font-size: 0.75em!important;
 
-moz-column-count: 2;
 
-moz-column-gap: 10px;
 
-webkit-column-count: 2;
 
-webkit-column-gap: 10px;
 
column-count: 2;
 
column-gap: 10px;
 
 
}
 
}
 
+
/* let's clear some floats */
/* Hide all backlinks to article */
+
.clearfix:before,
.mw-cite-backlink { display: none }
+
.clearfix:after {
.infobox,
+
  content: "\0020";
#mw-navigation { display: none }
+
  display: block;
 
+
  height: 0;
/* Galleries */
+
  overflow: hidden;
.gallery[style] { max-width: 100%!important }
 
.gallery {
 
margin: 0.375em!important; padding: 0!important;
 
font-size: 1.75em!important
 
 
}
 
}
.thumb {
+
.clearfix:after {
font-size: 1.25em!important;
+
  clear: both
outline: 3px solid #EEE
 
 
}
 
}
 
+
.clearfix {
/* Floating thumbs 'fall off page' otherwise */
+
  zoom: 1
.tright { margin-right: 0.375em!important }
 
.tleft { margin-left: 0.375em!important }
 
 
 
/* Miscellaneous hacks for Wikipedia */
 
.barbox { font-size: 1.5em!important }
 
thead { display: table-header-group }
 
tfoot { display: table-footer-group }
 
 
 
/* Remove the up arrow in references */
 
.references li a[href*="#cite"] { display: none!important }
 
 
 
/* Stuff to hide */
 
#jump-to-nav,
 
.dablink,
 
.mw-editsection,
 
.hide-when-compact,
 
.noprint,
 
.toctoggle,
 
.ambox-very_long {
 
display:none;
 
 
}
 
}

Version du 7 octobre 2021 à 13:10

/* Le CSS placé ici affectera les impressions */

/* 
  Adapted from https://github.com/murtaugh/HTML5-Reset 
  Formatted using http://procssor.com/ 
*/

html,
body,
body div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  outline: 0;
  font-size: 100%;
  color: #222;
  font-family: "helvetica neue", helvetica, arial, sans-serif;
  font-weight: normal;
  vertical-align: baseline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold!important
}
article,
aside,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block
}
/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites.
   If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
img,
object,
embed {
  max-width: 100%
}
ul {
  list-style: none
}
blockquote,
q {
  quotes: none
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
a {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
}
del {
  text-decoration: line-through
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted #000;
  cursor: help;
}
/* tables still need cellspacing="0" in the markup */
table {
  font-size: inherit;
  font: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
th {
  font-weight: bold;
  vertical-align: bottom;
}
td {
  font-weight: normal;
  vertical-align: top;
}
td,
td img {
  vertical-align: top
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
.clickable,
button,
input,
select,
textarea {
  display: none
}
pre {
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}
/* Accessible focus treatment
    people.opera.com/patrickl/experiments/keyboard/test */
a:hover,
a:active {
  outline: none
}
small {
  font-size: 85%
}
strong,
th {
  font-weight: bold
}
/* Make sure sup and sub don't screw with your line-heights
    gist.github.com/413930 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
}
sup {
  top: -0.5em
}
sub {
  bottom: -0.25em
}
/* standardize any monospaced elements */
pre,
code,
kbd,
samp {
  font-family: consolas, "lucida console", "courier new", courier, monospace, sans-serif
}
/* scale images in IE7 more attractively */
.ie7 img {
  -ms-interpolation-mode: bicubic
}
/* let's clear some floats */
.clearfix:before,
.clearfix:after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}
.clearfix:after {
  clear: both
}
.clearfix {
  zoom: 1
}