Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/mertbakir/resume-a4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/_print.scss')
-rw-r--r--assets/css/_print.scss80
1 files changed, 28 insertions, 52 deletions
diff --git a/assets/css/_print.scss b/assets/css/_print.scss
index ed9e608..e1fa6b7 100644
--- a/assets/css/_print.scss
+++ b/assets/css/_print.scss
@@ -1,57 +1,33 @@
/* Print */
@media print {
- @page {
- size: A4;
- margin: 0;
- }
-
- html, body {
- background: #fff;
- margin: 0;
- padding: 0;
- }
+ @page {
+ size: A4;
+ margin: 0;
+ }
- .paper, main.paper {
+ html, body {
+ background: #fff;
margin: 0;
- width: 210mm;
- height: 297mm;
- overflow: hidden;
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- box-shadow: none;
- page-break-after: always;
- }
-
- a {
- text-decoration: none;
-
- &:not(.non-existing)::after {
- content: " (" attr(href) ")";
- margin: 0;
- font-weight: 400;
- font-size: 0.75rem;
- color: scale-color($text-color, $lightness: 30%);
- }
-
- .item-title & {
- &::after {
- content: attr(href);
- display: block;
- margin: 0;
- }
- }
-
- .section-publications & {
- &::after {
- content: attr(href);
- display: block;
- margin: 0 0.75rem;
- }
- }
- }
-
- footer {
- display: none;
- }
-}
+ padding: 0;
+ }
+
+ .paper, main.paper {
+ margin: 0;
+ width: 210mm;
+ height: 297mm;
+ overflow: hidden;
+ -moz-box-shadow: none;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ page-break-after: always;
+ }
+
+ a {
+ text-decoration: none;
+ }
+
+ footer {
+ display: none;
+ }
+} \ No newline at end of file