diff options
author | Valentin Popov <valentin@popov.link> | 2022-11-22 01:47:29 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2022-11-22 01:47:29 +0300 |
commit | fac06af9415c1105146d3840a271a1b9917829c4 (patch) | |
tree | 7323d99bed63b6b11939d3555ca5ffa1be1d7db5 | |
parent | 442fbbb5c520fe7c0e293d50358ab101e03c93cc (diff) | |
download | popov.link-fac06af9415c1105146d3840a271a1b9917829c4.tar.xz popov.link-fac06af9415c1105146d3840a271a1b9917829c4.zip |
Added CSS styles for printer and printing
-rw-r--r-- | sass/_print.scss | 21 | ||||
-rw-r--r-- | sass/styles.scss | 5 |
2 files changed, 24 insertions, 2 deletions
diff --git a/sass/_print.scss b/sass/_print.scss new file mode 100644 index 0000000..9c56324 --- /dev/null +++ b/sass/_print.scss @@ -0,0 +1,21 @@ +@media print { + body { + padding: 0; + } + + audio, + embed, + footer, + form, + header, + iframe, + nav, + object, + video { + display: none; + } + + img { + max-width: 500px; + } +}
\ No newline at end of file diff --git a/sass/styles.scss b/sass/styles.scss index 7f0aef9..42c0e72 100644 --- a/sass/styles.scss +++ b/sass/styles.scss @@ -10,9 +10,10 @@ $color-blossom: #6da13f; $color-fade: #608b4e; $color-header: #212121; $color-text: #a9a9b3; -$font-family-base: "Inter var experimental", "Inter var",-apple-system,"BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",sans-serif; +$font-family-base: "Inter var experimental", "Inter var", -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; $font-feature: "calt", "case", "liga", "locl", "ss01", "tnum", "zero"; $font-size-base: 1.8rem; @import "framework"; -@import "navbar";
\ No newline at end of file +@import "navbar"; +@import "print";
\ No newline at end of file |