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

_print.scss « css « assets - gitlab.com/mertbakir/resume-a4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ed9e60815df726e10bf2f677d54643517ca9562d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* Print */

@media print {
    @page {
      size: A4;
      margin: 0;
    }

    html, body {
        background: #fff;
        margin: 0;
        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;

      &: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;
    }
}