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

print.scss « stylesheets « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c3662c3e6ea81e3129d80543de23fe9953063f49 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
@import 'framework/variables';
@import 'framework/variables_overrides';

@import '@gitlab/ui/src/scss/variables';
@import '@gitlab/ui/src/scss/utility-mixins/index';

.md h1,
.md h2,
.md h3,
.md h4,
.md h5,
.md h6 {
  margin-top: 17px;
}

.md h1 {
  font-size: 30px;
}

.md h2 {
  font-size: 22px;
}

.md h3 {
  font-size: 18px;
  font-weight: 600;
}

.md {
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;

  // fix blockquote style in print
  blockquote {
    &::before {
      position: absolute;
      top: 0;
      left: -4px;
      content: ' ';
      height: 100%;
      width: 4px;
      background-color: $white-dark;
    }

    position: relative;
    font-size: inherit;
    @include gl-text-gray-700;
    @include gl-py-3;
    @include gl-pl-6;
    @include gl-my-3;
    @include gl-mx-0;
    @include gl-inset-border-l-4-gray-100;
    margin-left: 4px;
    border: 0 !important;
  }
}

header,
nav,
nav.navbar-collapse,
nav.navbar-collapse.collapse,
.nav-sidebar,
.super-sidebar,
.profiler-results,
.tree-ref-holder,
.tree-holder .breadcrumb,
.nav,
.btn,
ul.notes-form,
.ci-status-link::after,
.issuable-gutter-toggle,
.gutter-toggle,
.issuable-details .content-block-small,
.edit-link,
.note-action-button,
.right-sidebar,
.flash-container,
copy-code,
#js-peek {
  display: none !important;
}

pre {
  page-break-before: avoid;
  page-break-inside: auto;
}

.page-gutter {
  padding-top: 0;
  padding-left: 0;
}

.right-sidebar {
  top: 0;
}

a[href]::after {
  content: none !important;
}

.with-performance-bar .layout-page {
  padding-top: 0;
}