Réorganisation des dossiers : un dossier css + less + sass
This commit is contained in:
parent
1196a16e65
commit
8493b4dfd7
8 changed files with 0 additions and 0 deletions
69
css/print.css
Normal file
69
css/print.css
Normal file
|
@ -0,0 +1,69 @@
|
|||
/* quick print reset */
|
||||
@media print {
|
||||
* {
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
body {
|
||||
width: auto !important;
|
||||
margin: auto !important;
|
||||
font-family: serif;
|
||||
font-size: 12pt;
|
||||
background-color: #fff !important;
|
||||
color: #333 !important;
|
||||
}
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
blockquote,
|
||||
ul,
|
||||
ol {
|
||||
color: #000 !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
.print {
|
||||
display: block; /* displaying .print elements */
|
||||
}
|
||||
img {
|
||||
-webkit-filter: grayscale(100%);
|
||||
-moz-filter: grayscale(100%);
|
||||
-ms-filter: grayscale(100%);
|
||||
-o-filter: grayscale(100%);
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
p,
|
||||
blockquote {
|
||||
orphans: 3; /* no orphans */
|
||||
widows: 3; /* no widows */
|
||||
}
|
||||
blockquote,
|
||||
ul,
|
||||
ol {
|
||||
page-break-inside: avoid; /* no breaks inside these elements */
|
||||
}
|
||||
h1 {
|
||||
page-break-before: always; /* page break before main headers */
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
caption {
|
||||
page-break-after: avoid; /* no breaks after these elements */
|
||||
}
|
||||
a {
|
||||
color: #000 !important;
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
a[href]:after {
|
||||
content: " (" attr(href) ")"; /* displaying URLs */
|
||||
}
|
||||
a[href^="javascript:"]:after,
|
||||
a[href^="#"]:after {
|
||||
content: "";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue