]> git.proxmox.com Git - pve-eslint.git/blame - eslint/docs/src/assets/scss/print.scss
import 8.41.0 source
[pve-eslint.git] / eslint / docs / src / assets / scss / print.scss
CommitLineData
8f9d1d4d 1*,
f2a92ac6
DC
2*::before,
3*::after,
4*::first-letter,
5p::first-line,
6div::first-line,
7blockquote::first-line,
8li::first-line {
8f9d1d4d
DC
9 background: transparent !important;
10 color: #000 !important;
11 box-shadow: none !important;
12 text-shadow: none !important;
13}
14
15body {
16 width: 100% !important;
17 margin: 0 !important;
18 padding: 0 !important;
19 line-height: 1.45;
20 font-family: Helvetica, sans-serif;
21 color: #000;
22 background: none;
23 font-size: 14pt;
24}
25
26.grid {
27 display: block;
28}
29
30main,
31.docs-content,
32.docs-wrapper {
33 display: block;
34 width: 100%;
35 max-width: 75ch;
36 margin: 1cm auto;
37}
38
39/* Headings */
40h1,
41h2,
42h3,
43h4,
44h5,
45h6 {
46 page-break-after: avoid;
47}
48
49h1 {
50 font-size: 19pt;
51}
52
53h2 {
54 font-size: 17pt;
55}
56
57h3 {
58 font-size: 15pt;
59}
60
61h4,
62h5,
63h6 {
64 font-size: 14pt;
65}
66
8f9d1d4d
DC
67p,
68h2,
69h3 {
70 orphans: 3;
71 widows: 3;
72}
73
74code {
75 font: 12pt Courier, monospace;
76}
77
78blockquote {
79 margin: 1.2em;
80 padding: 1em;
81 font-size: 12pt;
82}
83
84hr {
85 background-color: #ccc;
86}
87
88/* Images */
89img {
90 max-width: 100% !important;
91}
92
93a img {
94 border: none;
95}
96
97/* Links */
98a:link,
99a:visited {
100 background: transparent;
101 font-weight: 700;
102 text-decoration: underline;
103 color: #333;
104}
105
106// a:link[href^="http://"]:after,
107// a[href^="http://"]:visited:after {
108// content: " ("attr(href) ") ";
109// font-size: 90%;
110// }
111
f2a92ac6 112abbr[title]::after {
8f9d1d4d
DC
113 content: " ("attr(title) ")";
114}
115
116/* Don't show linked images */
117a[href^="http://"] {
118 color: #000;
119}
120
f2a92ac6
DC
121a[href$=".jpg"]::after,
122a[href$=".jpeg"]::after,
123a[href$=".gif"]::after,
124a[href$=".png"]::after {
8f9d1d4d
DC
125 content: " ("attr(href) ") ";
126 display: none;
127}
128
129/* Don't show links that are fragment identifiers, or use the `javascript:` pseudo protocol .. taken from html5boilerplate */
f2a92ac6
DC
130a[href^="#"]::after,
131a[href^="javascript:"]::after {
8f9d1d4d
DC
132 content: "";
133}
134
135/* Table */
136table {
137 margin: 1px;
138 text-align: left;
139}
140
141th {
142 border-bottom: 1px solid #333;
143 font-weight: bold;
144}
145
146td {
147 border-bottom: 1px solid #333;
148}
149
150th,
151td {
152 padding: 4px 10px 4px 0;
153}
154
155tfoot {
156 font-style: italic;
157}
158
159caption {
160 background: #fff;
161 margin-bottom: 2em;
162 text-align: left;
163}
164
165thead {
166 display: table-header-group;
167}
168
169img,
170tr {
171 page-break-inside: avoid;
172}
173
f2a92ac6 174body > *:not(main),
8f9d1d4d
DC
175aside,
176*[class*="sidebar"] {
177 display: none;
178}
179
180button,
181.c-btn.c-btn--playground,
182.docs-edit-link {
183 display: none;
184}
185
f2a92ac6
DC
186a[href^="http"]:not([href*="eslint.org"])::after {
187 content: " ("attr(href) ")";
8f9d1d4d
DC
188}
189
190.resource a::after {
191 display: none;
192}
193
194ul {
195 page-break-inside: avoid;
196}
197
f2a92ac6
DC
198.docs-toc,
199.docs-index,
200.docs-aside,
201#skip-link {
8f9d1d4d
DC
202 display: none;
203}
204
205@media print {
206 @page {
207 margin: 1cm;
208 }
209}
f2a92ac6
DC
210
211#scroll-up-btn {
212 display: none;
213}