Projet

Général

Profil

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

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

1 85ad3d82 Assos Assos
2
// _base.scss imports _custom.scss and other partials.
3
@import "base";
4
5
/*
6
 * @file
7
 * Print Styles
8
 * This probably needs work, but it's a good starting point.
9
 */
10
11
/*
12
 * Body
13
 */
14
body {
15
  width: 100% !important;
16
  margin: 0 !important;
17
  padding: 0 !important;
18
  line-height: 1.4;
19
  word-spacing: 1.1pt;
20
  letter-spacing: 0.2pt;
21
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
22
  color: rgb(0, 0, 0);
23
  background: none;
24
  font-size: 11pt;
25
}
26
27
28
/*
29
 * Links
30
 */
31
a {
32
  background: transparent;
33
  font-weight: 700;
34
  text-decoration: underline;
35
  color: rgb(0, 0, 238);
36
37
  &[href^="http://"] {
38
    &:after,
39
    &:visited:after {
40
      content: "("attr(href)")";
41
      font-size: 10pt;
42
    }
43
  }
44
}
45
46
/*
47
 * Strip background from likely candidates
48
 */
49
div[id*="wrapper"],
50
[class*="title"],
51
[class*="inner"],
52
header,
53
footer,
54
#branding,
55
#container,
56
#columns,
57
.columns-inner,
58
#content-column,
59
.content-inner,
60
.region,
61
.region-header,
62
.region-content,
63
.article,
64
.article-title,
65
.article-content,
66
.comment,
67
.comment-title,
68
.comment-content,
69
.block,
70
.block-inner,
71
.block-title,
72
.block-content,
73
table,
74
table * {
75
  background: none !important;
76
}
77
78
79
/*
80
 * Hide various bits of the page
81
 */
82
.sidebar,
83
#breadcrumb,
84
.nav,
85
.field-type-taxonomy-term-reference,
86
ul.links,
87
.feed-icon,
88
.poll .bar,
89
.poll .foreground,
90
.comment-form,
91
#comment-form,
92
.book-navigation,
93
.tabs,
94
.action-links,
95
.pager,
96
.messages,
97
.help {
98
  display: none;
99
}
100
101
102
/*
103
 * Ensure the display the main content region
104
 */
105
#content {
106
  display: block !important;
107
}
108
109
110
/*
111
 * Layout
112
 */
113
#header {
114
  margin-bottom: 20px;
115
}
116
117
118
.content-inner {
119
  margin: 0 !important;
120
  padding: 0 !important;
121
}
122
123
124
/*
125
 * HTML elements
126
 */
127
h1,
128
h2,
129
h3,
130
h4,
131
h5,
132
h6 {
133
  color: rgb(51, 51, 51);
134
  margin: 0;
135
  padding: 0;
136
  line-height: 1;
137
}
138
139
140
h1 {
141
  font-size: 14pt;
142
}
143
144
145
h2 {
146
  font-size: 13pt;
147
}
148
149
150
h3 {
151
  font-size: 12pt;
152
}
153
154
155
h4,
156
h5,
157
h6 {
158
  font-size: 11pt;
159
}
160
161
h1 a,
162
h2 a,
163
h3 a,
164
h4 a,
165
h5 a,
166
h6 a,
167
#site-name a,
168
#site-slogan {
169
  text-decoration: none !important;
170
  color: rgb(51, 51, 51);
171
}
172
173
174 74f6bef0 Assos Assos
.h-group a {
175 85ad3d82 Assos Assos
  &:link,
176
  &:visited {
177
    text-decoration: none;
178
  }
179
}
180
181
182
#page-title {
183
  margin-top: 20px;
184
}
185
186
187
pre,
188
code,
189
tt,
190
samp,
191
kbd,
192
var {
193
  font-size: 10pt;
194
  font-family: Consolas, "Lucida Console", Menlo, Monaco, "DejaVu Sans Mono", monospace, sans-serif;
195
}
196
197
198
blockquote {
199
  margin: 20px;
200
  padding: 10px;
201
  font-size: 10pt;
202
  font-style: italic;
203
  background: rgb(238, 238, 238);
204
}
205
206
207
hr {
208
  background-color: rgb(102, 102, 102);
209
}
210
211
212
/*
213
 * Header, Logo, Site name
214
 */
215
#header {
216
  padding-bottom: 20px;
217
}
218
219
220
#logo img {
221
  padding: 0 10px 0 0;
222
  margin: 0 !important;
223
  float: none !important;
224
}
225
226
227
/*
228
 * Images
229
 */
230
img {
231
  float: left;
232
  margin: 4px 20px 10px 0;
233
  page-break-inside: avoid;
234
}
235
236
237
a img {
238
  border: none;
239
 }
240
241
242
/*
243
 * Tables
244
 */
245
table {
246
  margin: 1px;
247
  text-align: left;
248
}
249
250
251
th {
252
  border-bottom: 1px solid rgb(51, 51, 51);
253
  font-weight: 700;
254
}
255
256
257
td {
258
  border-bottom: 1px solid rgb(51, 51, 51);
259
}
260
261
262
th,
263
td {
264
  padding: 4px 10px 4px 0;
265
}
266
267
268
tfoot {
269
  font-style: italic;
270
}
271
272
273
caption {
274
  margin-bottom: 10px;
275
  text-align: left;
276
}
277
278
279
thead {
280
  display: table-header-group;
281
}
282
283
284
tr {
285
  page-break-inside: avoid;
286
}
287
288
289
/*
290
 * Forms
291
 */
292
form {
293
  margin-bottom: 10px; }
294
295
296
/*
297
 * Poll module
298
 */
299
.poll {
300
  .text,
301
  .percent,
302
  .total {
303
    text-align: left;
304
  }
305
  form {
306
    margin-bottom: 0;
307
  }
308
}
309
310
311
/*
312
 * Articles
313
 */
314
.node,
315
.comment {
316
  margin-bottom: 20px;
317
  overflow: hidden;
318
  page-break-inside: avoid;
319
}
320
321
.submitted {
322
  color: rgb(102, 102, 102);
323
  text-decoration: none;
324
  font-size: 9pt;
325
  font-weight: 400;
326
  margin: 0;
327
  padding: 0;
328
329
  a {
330
    color: rgb(102, 102, 102);
331
    text-decoration: none;
332
    font-size: 9pt;
333
    font-weight: 400;
334
    margin: 0;
335
    padding: 0;
336
  }
337
}