aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material/css/print.css
blob: 37228cff89e2461a8bee220e2a32b7ff93f636a2 (plain) (blame)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
@media print {
  /* ### Layout ### */

  body {
    font-family: Serif;
    background-color: #fff;
  }

  @page {
    margin: 1cm;
  }

  img {
    max-width: 100% !important;
  }

  /* ### Content ### */

  /* Hide useless blocks */
  body > header,
  #article_toolbar,
  #links,
  #sort,
  body > footer,
  .top_link,
  div.tools,
  header div,
  .messages,
  .entry + .results,
  #slide-out,
  .progress, .hide-on-large-only,
  #article > aside,
  #article .mbm a
  {
    display: none !important;
  }

  main {
      padding-left: 0 !important;
  }

  #article {
      margin: inherit !important;
  }

  article {
    border: none !important;
  }

  /* Add URL after links */
  .vieworiginal a::after {
    content: " (" attr(href) ")";
  }

  /* Add explanation after abbr */
  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /* Change border on current pager item */
  .pagination span.current {
    border-style: dashed;
  }

  #main {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  #article {
    width: 100%;
  }
}