Last print css to print file.
This commit is contained in:
parent
110d34531e
commit
3eaa936f29
5 changed files with 20 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ rules:
|
|||
- '*width'
|
||||
no-qualifying-elements: 0
|
||||
no-trailing-zero: 2
|
||||
no-transition-all: 2
|
||||
no-transition-all: 1
|
||||
no-url-protocols: 2
|
||||
# no-vendor-prefixes: 2
|
||||
no-warn: 2
|
||||
|
|
|
|||
|
|
@ -111,6 +111,8 @@ $base-unit: 'rem';
|
|||
// px fallbacks for rem units are needed for IE 8 and earlier.
|
||||
$rem-fallback: false;
|
||||
|
||||
// We have separate print file.
|
||||
$auto-print-sizing: false;
|
||||
|
||||
// Breakpoints
|
||||
//
|
||||
|
|
|
|||
|
|
@ -1,7 +1,18 @@
|
|||
// @file
|
||||
// The print stylesheet for this theme.
|
||||
|
||||
// Colors and Sass
|
||||
//
|
||||
// Documentation for colors and Sass mixins and variables.
|
||||
//
|
||||
// Weight: -1
|
||||
|
||||
@import 'init';
|
||||
|
||||
// Components
|
||||
//
|
||||
// Weight: 1
|
||||
|
||||
@import 'components/print-none/print-none';
|
||||
|
||||
.skip-link,
|
||||
|
|
@ -17,6 +28,10 @@ footer {
|
|||
}
|
||||
|
||||
@media print {
|
||||
html {
|
||||
font-size: $print-font-size;
|
||||
}
|
||||
|
||||
body,
|
||||
.page {
|
||||
background-color: color(white);
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@media print{.breadcrumb,.pager,.print-none,.skip-link,aside,footer,nav{display:none}}@media print{.page,body{background-color:color(white)}[role=main]{width:100%}:link,:visited{text-decoration:underline}}
|
||||
/*! typey | GPLv2 License | https://github.com/jptaranto/typey */@media print{.breadcrumb,.pager,.print-none,.skip-link,aside,footer,nav{display:none}}@media print{html{font-size:12pt}.page,body{background-color:#fff}[role=main]{width:100%}:link,:visited{text-decoration:underline}}
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue