Skip to content

Commit 68d1d7f

Browse files
committed
Test removal of print styles for customized builds
1 parent b5ceca1 commit 68d1d7f

File tree

2 files changed

+0
-122
lines changed

2 files changed

+0
-122
lines changed

docs/assets/css/bootstrap.css

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -137,58 +137,6 @@ textarea {
137137
vertical-align: top;
138138
}
139139

140-
@media print {
141-
* {
142-
color: #000 !important;
143-
text-shadow: none !important;
144-
background: transparent !important;
145-
box-shadow: none !important;
146-
}
147-
a,
148-
a:visited {
149-
text-decoration: underline;
150-
}
151-
a[href]:after {
152-
content: " (" attr(href) ")";
153-
}
154-
abbr[title]:after {
155-
content: " (" attr(title) ")";
156-
}
157-
.ir a:after,
158-
a[href^="javascript:"]:after,
159-
a[href^="#"]:after {
160-
content: "";
161-
}
162-
pre,
163-
blockquote {
164-
border: 1px solid #999;
165-
page-break-inside: avoid;
166-
}
167-
thead {
168-
display: table-header-group;
169-
}
170-
tr,
171-
img {
172-
page-break-inside: avoid;
173-
}
174-
img {
175-
max-width: 100% !important;
176-
}
177-
@page {
178-
margin: 0.5cm;
179-
}
180-
p,
181-
h2,
182-
h3 {
183-
orphans: 3;
184-
widows: 3;
185-
}
186-
h2,
187-
h3 {
188-
page-break-after: avoid;
189-
}
190-
}
191-
192140
.clearfix {
193141
*zoom: 1;
194142
}

less/reset.less

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -144,73 +144,3 @@ textarea {
144144
overflow: auto; // Remove vertical scrollbar in IE6-9
145145
vertical-align: top; // Readability and alignment cross-browser
146146
}
147-
148-
149-
// Printing
150-
// -------------------------
151-
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
152-
153-
@media print {
154-
155-
* {
156-
text-shadow: none !important;
157-
color: #000 !important; // Black prints faster: h5bp.com/s
158-
background: transparent !important;
159-
box-shadow: none !important;
160-
}
161-
162-
a,
163-
a:visited {
164-
text-decoration: underline;
165-
}
166-
167-
a[href]:after {
168-
content: " (" attr(href) ")";
169-
}
170-
171-
abbr[title]:after {
172-
content: " (" attr(title) ")";
173-
}
174-
175-
// Don't show links for images, or javascript/internal links
176-
.ir a:after,
177-
a[href^="javascript:"]:after,
178-
a[href^="#"]:after {
179-
content: "";
180-
}
181-
182-
pre,
183-
blockquote {
184-
border: 1px solid #999;
185-
page-break-inside: avoid;
186-
}
187-
188-
thead {
189-
display: table-header-group; // h5bp.com/t
190-
}
191-
192-
tr,
193-
img {
194-
page-break-inside: avoid;
195-
}
196-
197-
img {
198-
max-width: 100% !important;
199-
}
200-
201-
@page {
202-
margin: 0.5cm;
203-
}
204-
205-
p,
206-
h2,
207-
h3 {
208-
orphans: 3;
209-
widows: 3;
210-
}
211-
212-
h2,
213-
h3 {
214-
page-break-after: avoid;
215-
}
216-
}

0 commit comments

Comments
 (0)