Projet

Général

Profil

Paste
Télécharger (3,75 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / adaptivetheme / at_subtheme / css / print.css @ 74f6bef0

1
/*
2
 * @file
3
 * Print Styles
4
 * This probably needs work, but it's a good starting point.
5
 */
6
/*
7
 * Body
8
 */
9
body {
10
  width: 100% !important;
11
  margin: 0 !important;
12
  padding: 0 !important;
13
  line-height: 1.4;
14
  word-spacing: 1.1pt;
15
  letter-spacing: 0.2pt;
16
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
17
  color: black;
18
  background: none;
19
  font-size: 11pt;
20
}
21

    
22
/*
23
 * Links
24
 */
25
a {
26
  background: transparent;
27
  font-weight: 700;
28
  text-decoration: underline;
29
  color: #0000ee;
30
}
31
a[href^="http://"]:after, a[href^="http://"]:visited:after {
32
  content: "(" attr(href) ")";
33
  font-size: 10pt;
34
}
35

    
36
/*
37
 * Strip background from likely candidates
38
 */
39
div[id*="wrapper"],
40
[class*="title"],
41
[class*="inner"],
42
header,
43
footer,
44
#branding,
45
#container,
46
#columns,
47
.columns-inner,
48
#content-column,
49
.content-inner,
50
.region,
51
.region-header,
52
.region-content,
53
.article,
54
.article-title,
55
.article-content,
56
.comment,
57
.comment-title,
58
.comment-content,
59
.block,
60
.block-inner,
61
.block-title,
62
.block-content,
63
table,
64
table * {
65
  background: none !important;
66
}
67

    
68
/*
69
 * Hide various bits of the page, .noprint reusable class for hiding stuff.
70
 */
71
.noprint,
72
.sidebar,
73
#breadcrumb,
74
.nav,
75
.field-type-taxonomy-term-reference,
76
ul.links,
77
.feed-icon,
78
.poll .bar,
79
.poll .foreground,
80
.comment-form,
81
#comment-form,
82
.book-navigation,
83
.tabs,
84
.action-links,
85
.pager,
86
.messages,
87
.help {
88
  display: none;
89
}
90

    
91
/*
92
 * Ensure the display the main content region
93
 */
94
#content {
95
  display: block !important;
96
}
97

    
98
/*
99
 * Layout
100
 */
101
#header {
102
  margin-bottom: 20px;
103
}
104

    
105
.content-inner {
106
  margin: 0 !important;
107
  padding: 0 !important;
108
}
109

    
110
/*
111
 * HTML elements
112
 */
113
h1,
114
h2,
115
h3,
116
h4,
117
h5,
118
h6 {
119
  color: #333333;
120
  margin: 0;
121
  padding: 0;
122
  line-height: 1;
123
}
124

    
125
h1 {
126
  font-size: 14pt;
127
}
128

    
129
h2 {
130
  font-size: 13pt;
131
}
132

    
133
h3 {
134
  font-size: 12pt;
135
}
136

    
137
h4,
138
h5,
139
h6 {
140
  font-size: 11pt;
141
}
142

    
143
h1 a,
144
h2 a,
145
h3 a,
146
h4 a,
147
h5 a,
148
h6 a,
149
#site-name a,
150
#site-slogan {
151
  text-decoration: none !important;
152
  color: #333333;
153
}
154

    
155
.h-group a:link, .h-group a:visited {
156
  text-decoration: none;
157
}
158

    
159
#page-title {
160
  margin-top: 20px;
161
}
162

    
163
pre,
164
code,
165
tt,
166
samp,
167
kbd,
168
var {
169
  font-size: 10pt;
170
  font-family: Consolas, "Lucida Console", Menlo, Monaco, "DejaVu Sans Mono", monospace, sans-serif;
171
}
172

    
173
blockquote {
174
  margin: 20px;
175
  padding: 10px;
176
  font-size: 10pt;
177
  font-style: italic;
178
  background: #eeeeee;
179
}
180

    
181
hr {
182
  background-color: #666666;
183
}
184

    
185
/*
186
 * Header, Logo, Site name
187
 */
188
#header {
189
  padding-bottom: 20px;
190
}
191

    
192
#logo img {
193
  padding: 0 10px 0 0;
194
  margin: 0 !important;
195
  float: none !important;
196
}
197

    
198
/*
199
 * Images
200
 */
201
img {
202
  float: left;
203
  margin: 4px 20px 10px 0;
204
  page-break-inside: avoid;
205
}
206

    
207
a img {
208
  border: none;
209
}
210

    
211
/*
212
 * Tables
213
 */
214
table {
215
  margin: 1px;
216
  text-align: left;
217
}
218

    
219
th {
220
  border-bottom: 1px solid #333333;
221
  font-weight: 700;
222
}
223

    
224
td {
225
  border-bottom: 1px solid #333333;
226
}
227

    
228
th,
229
td {
230
  padding: 4px 10px 4px 0;
231
}
232

    
233
tfoot {
234
  font-style: italic;
235
}
236

    
237
caption {
238
  margin-bottom: 10px;
239
  text-align: left;
240
}
241

    
242
thead {
243
  display: table-header-group;
244
}
245

    
246
tr {
247
  page-break-inside: avoid;
248
}
249

    
250
/*
251
 * Forms
252
 */
253
form {
254
  margin-bottom: 10px;
255
}
256

    
257
/*
258
 * Poll module
259
 */
260
.poll .text,
261
.poll .percent,
262
.poll .total {
263
  text-align: left;
264
}
265
.poll form {
266
  margin-bottom: 0;
267
}
268

    
269
/*
270
 * Articles
271
 */
272
.node,
273
.comment {
274
  margin-bottom: 20px;
275
  overflow: hidden;
276
  page-break-inside: avoid;
277
}
278

    
279
.submitted {
280
  color: #666666;
281
  text-decoration: none;
282
  font-size: 9pt;
283
  font-weight: 400;
284
  margin: 0;
285
  padding: 0;
286
}
287
.submitted a {
288
  color: #666666;
289
  text-decoration: none;
290
  font-size: 9pt;
291
  font-weight: 400;
292
  margin: 0;
293
  padding: 0;
294
}