Mercurial > minori
comparison dep/fmt/doc/bootstrap/print.less @ 343:1faa72660932
*: transfer back to cmake from autotools
autotools just made lots of things more complicated than
they should have and many things broke (i.e. translations)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 20 Jun 2024 05:56:06 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
342:adb79bdde329 | 343:1faa72660932 |
---|---|
1 /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ | |
2 | |
3 // ========================================================================== | |
4 // Print styles. | |
5 // Inlined to avoid the additional HTTP request: h5bp.com/r | |
6 // ========================================================================== | |
7 | |
8 @media print { | |
9 *, | |
10 *:before, | |
11 *:after { | |
12 background: transparent !important; | |
13 color: #000 !important; // Black prints faster: h5bp.com/s | |
14 box-shadow: none !important; | |
15 text-shadow: none !important; | |
16 } | |
17 | |
18 a, | |
19 a:visited { | |
20 text-decoration: underline; | |
21 } | |
22 | |
23 a[href]:after { | |
24 content: " (" attr(href) ")"; | |
25 } | |
26 | |
27 abbr[title]:after { | |
28 content: " (" attr(title) ")"; | |
29 } | |
30 | |
31 // Don't show links that are fragment identifiers, | |
32 // or use the `javascript:` pseudo protocol | |
33 a[href^="#"]:after, | |
34 a[href^="javascript:"]:after { | |
35 content: ""; | |
36 } | |
37 | |
38 pre, | |
39 blockquote { | |
40 border: 1px solid #999; | |
41 page-break-inside: avoid; | |
42 } | |
43 | |
44 thead { | |
45 display: table-header-group; // h5bp.com/t | |
46 } | |
47 | |
48 tr, | |
49 img { | |
50 page-break-inside: avoid; | |
51 } | |
52 | |
53 img { | |
54 max-width: 100% !important; | |
55 } | |
56 | |
57 p, | |
58 h2, | |
59 h3 { | |
60 orphans: 3; | |
61 widows: 3; | |
62 } | |
63 | |
64 h2, | |
65 h3 { | |
66 page-break-after: avoid; | |
67 } | |
68 | |
69 // Bootstrap specific changes start | |
70 // | |
71 // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245 | |
72 // Once fixed, we can just straight up remove this. | |
73 select { | |
74 background: #fff !important; | |
75 } | |
76 | |
77 // Bootstrap components | |
78 .navbar { | |
79 display: none; | |
80 } | |
81 .btn, | |
82 .dropup > .btn { | |
83 > .caret { | |
84 border-top-color: #000 !important; | |
85 } | |
86 } | |
87 .label { | |
88 border: 1px solid #000; | |
89 } | |
90 | |
91 .table { | |
92 border-collapse: collapse !important; | |
93 | |
94 td, | |
95 th { | |
96 background-color: #fff !important; | |
97 } | |
98 } | |
99 .table-bordered { | |
100 th, | |
101 td { | |
102 border: 1px solid #ddd !important; | |
103 } | |
104 } | |
105 | |
106 // Bootstrap specific changes end | |
107 } |