Project

General

Profile

« Previous | Next » 

Revision ca55d066

Added by Andreas Kohlbecker over 11 years ago

configuring theme and first sass editing

View differences:

7.x/themes/zen_dataportal/css/normalize.css
1 1
/* normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
2

  
3 2
/* =============================================================================
4 3
   Normalize.css is intended to be used as an alternative to CSS resets.
5 4

  
......
10 9
   Also: @see http://meiert.com/en/blog/20080419/reset-style-sheets-are-bad/
11 10
         @see http://snook.ca/archives/html_and_css/no_css_reset/
12 11
   ========================================================================== */
13

  
14

  
15 12
/* =============================================================================
16 13
   HTML5 display definitions
17 14
   ========================================================================== */
18

  
19 15
/*
20 16
 * Corrects block display not defined in IE6/7/8/9 & FF3
21 17
 */
22

  
18
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\0000335}}
23 19
article,
24 20
aside,
25 21
details,
......
38 34
/*
39 35
 * Corrects inline-block display not defined in IE6/7/8/9 & FF3
40 36
 */
41

  
37
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\0000345}}
42 38
audio,
43 39
canvas,
44 40
video {
45 41
  display: inline-block;
46
  *display: inline;
47
  *zoom: 1;
48 42
}
49 43

  
50 44
/*
51 45
 * Prevents modern browsers from displaying 'audio' without controls
52 46
 * Remove excess height in iOS5 devices
53 47
 */
54

  
48
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\0000358}}
55 49
audio:not([controls]) {
56 50
  display: none;
57 51
  height: 0;
......
61 55
 * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
62 56
 * Known issue: no IE6 support
63 57
 */
64

  
58
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\0000368}}
65 59
[hidden] {
66 60
  display: none;
67 61
}
68 62

  
69

  
70 63
/* =============================================================================
71 64
   Base
72 65
   ========================================================================== */
73

  
74 66
/* Instead of relying on the fonts that are available on a user's computer, you
75 67
   can use web fonts which, like images, are resources downloaded to the user's
76 68
   browser. Because of the bandwidth and rendering resources required, web fonts
......
92 84
   Since we're using Sass, you'll need to declare your font faces here, then you
93 85
   can add them to the font variables in the _base.scss partial.
94 86
*/
95

  
96 87
/*
97 88
@font-face {
98 89
  font-family: 'Example';
......
105 96
  font-style: normal;
106 97
}
107 98
*/
108

  
109 99
/*
110 100
 * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
111 101
 *    http://clagnut.com/blog/348/#c790
112 102
 * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
113 103
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
114 104
 */
115

  
105
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003119}}
116 106
html {
117
  /*
118
   * To use a 14px font size on the page, delete the 16px and 12px declarations.
119
   * To use a 12px font size on the page, delete the 16px and 14px declarations.
120
   */
121

  
122
  /* Use a 12px base font size */
123
  font-size: 75%; /* 16px x 75% = 12px */
124
  /* Use a 14px base font size */
125
  font-size: 87.5%; /* 16px x .875 = 14px */
126

  
127
  /* Use a 16px base font size */
128
  font-size: 100%; /* 1 */
129

  
130
  -webkit-text-size-adjust: 100%; /* 2 */
131
  -ms-text-size-adjust: 100%; /* 2 */
132

  
133
  /* Establish a vertical rhythm. */
107
  font-size: 75%;
108
  /* 1 */
109
  -webkit-text-size-adjust: 100%;
110
  /* 2 */
111
  -ms-text-size-adjust: 100%;
112
  /* 2 */
113
  /* Establishes a vertical rhythm unit using $base-line-height. */
134 114
  line-height: 1.5em;
135 115
}
136 116

  
137
/*
138
 * Instead of relying on the fonts that are available on a user's computer, you
139
 * can use web fonts which, like images, are resources downloaded to the user's
140
 * browser. Because of the bandwidth and rendering resources required, web fonts
141
 * should be used with care.
142
 *
143
 * Numerous resources for web fonts can be found on Google. Here are a few
144
 * websites where you can find Open Source fonts to download:
145
 * - http://www.fontsquirrel.com/fontface
146
 * - http://www.theleagueofmoveabletype.com
147
 *
148
 * In order to use these fonts, you will need to convert them into formats
149
 * suitable for web fonts. We recommend the free-to-use Font Squirrel's
150
 * Font-Face Generator:
151
 *   http://www.fontsquirrel.com/fontface/generator
152
 *
153
 * The following is an example @font-face declaration. This font can then be
154
 * used in any ruleset using a property like this:  font-family: Example, serif;
155

  
156
@font-face {
157
  font-family: 'Example';
158
  src: url('../fonts/example.eot');
159
  src: url('../fonts/example.eot?iefix') format('eot'),
160
    url('../fonts/example.woff') format('woff'),
161
    url('../fonts/example.ttf') format('truetype'),
162
    url('../fonts/example.svg#webfontOkOndcij') format('svg');
163
  font-weight: normal;
164
  font-style: normal;
165
}
166

  
167
 */
168

  
169 117
/*
170 118
 * Addresses font-family inconsistency between 'textarea' and other form elements.
171 119
 */
172

  
120
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003135}}
173 121
html,
174 122
button,
175 123
input,
176 124
select,
177 125
textarea {
178
  /* The following font family declarations are based on the Microsoft core web
179
   * fonts which are common fonts available on most computer systems. The DejaVu
180
   * and Nimbus Sans fonts are commonly available on Linux systems where the MS
181
   * fonts are less common. Tahoma and Helvetica are also widely available.
182
   *
183
   * A user's web browser will look at the comma-separated list and will
184
   * attempt to use each font in turn until it finds one that is available
185
   * on the user's computer. The final "generic" font (sans-serif, serif or
186
   * monospace) hints at what type of font to use if the web browser doesn't
187
   * find any of the fonts in the list.
188

  
189
  font-family: "Times New Roman", Times, Georgia, "DejaVu Serif", serif;
190
  font-family: Times, "Times New Roman", Georgia, "DejaVu Serif", serif;
191
  font-family: Georgia, "Times New Roman", "DejaVu Serif", serif;
192

  
193
  font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
194
  font-family: Tahoma, Verdana, "DejaVu Sans", sans-serif;
195
  font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
196 126
  font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
197

  
198
  font-family: "Courier New", "DejaVu Sans Mono", monospace;
199

  
200
   */
201

  
202
  font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
203 127
}
204 128

  
205 129
/*
206 130
 * Addresses margins handled incorrectly in IE6/7
207 131
 */
208

  
132
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003143}}
209 133
body {
210 134
  margin: 0;
211 135
}
212 136

  
213

  
214 137
/* =============================================================================
215 138
   Links
216 139
   ========================================================================== */
217

  
218 140
/*
219 141
 * The order of link states are based on Eric Meyer's article:
220 142
 * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
221 143
 */
222

  
223
a:link {
224
}
225

  
226
a:visited {
227
}
228

  
229
a:hover,
230
a:focus {
231
}
232

  
233
a:active {
234
}
235

  
236 144
/*
237 145
 * Addresses outline displayed oddly in Chrome
238 146
 */
239

  
147
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003174}}
240 148
a:focus {
241 149
  outline: thin dotted;
242 150
}
......
245 153
 * Improves readability when focused and also mouse hovered in all browsers
246 154
 * people.opera.com/patrickl/experiments/keyboard/test
247 155
 */
248

  
156
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003184}}
249 157
a:hover,
250 158
a:active {
251 159
  outline: 0;
252 160
}
253 161

  
254

  
255 162
/* =============================================================================
256 163
   Typography
257 164

  
......
261 168
   for our block level elements and to set the line heights of any fonts.
262 169
   For more information, see http://24ways.org/2006/compose-to-a-vertical-rhythm
263 170
   ========================================================================== */
264

  
265 171
/*
266 172
 * Addresses font sizes and margins set differently in IE6/7
267 173
 * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
268 174
 */
269

  
175
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003204}}
270 176
h1 {
177
  /* Sets the font-size and line-height while keeping a proper vertical rhythm. */
271 178
  font-size: 2em;
272
  /* Sets the line height to 2 units of vertical rhythm */
273
  line-height: 1.5em; /* 3rem / 2em = 1.5em */
179
  line-height: 1.5em;
274 180
  /* Sets 1 unit of vertical rhythm on the top and bottom margins. */
275
  margin-top: 0.75em; /* 1.5rem / 2em = .75em */
181
  margin-top: 0.75em;
276 182
  margin-bottom: 0.75em;
277 183
}
278 184

  
185
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003213}}
279 186
h2 {
280
  font-size: 1.5em;
281
  line-height: 2em; /* 3rem / 1.5em = 2em */
282
  margin-top: 1em; /* 1.5rem / 1.5em = 1em */
283
  margin-bottom: 1em;
187
  font-size: 1.6em;
188
  line-height: 1.875em;
189
  margin-top: 0.9375em;
190
  margin-bottom: 0.9375em;
284 191
}
285 192

  
193
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003219}}
286 194
h3 {
287
  font-size: 1.17em;
288
  line-height: 1.282em; /* 1.5rem / 1.17em = 1.282em */
289
  margin-top: 1.282em;
290
  margin-bottom: 1.282em;
195
  font-size: 1.5em;
196
  line-height: 2em;
197
  margin-top: 1em;
198
  margin-bottom: 1em;
291 199
}
292 200

  
201
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003225}}
293 202
h4 {
294 203
  font-size: 1em;
295
  line-height: 1.5em; /* 1.5rem / 1em = 1.5em */
204
  line-height: 1.5em;
296 205
  margin-top: 1.5em;
297 206
  margin-bottom: 1.5em;
298 207
}
299 208

  
209
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003231}}
300 210
h5 {
301 211
  font-size: 0.83em;
302
  line-height: 1.807em; /* 1.5rem / 0.83em = 1.807em */
303
  margin-top: 1.807em;
304
  margin-bottom: 1.807em;
212
  line-height: 1.80723em;
213
  margin-top: 1.80723em;
214
  margin-bottom: 1.80723em;
305 215
}
306 216

  
217
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003237}}
307 218
h6 {
308 219
  font-size: 0.75em;
309
  line-height: 2em; /* 1.5rem / .75em = 2em */
220
  line-height: 2em;
310 221
  margin-top: 2em;
311 222
  margin-bottom: 2em;
312 223
}
313 224

  
314 225
/* Thematic break */
226
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003244}}
315 227
hr {
316 228
  height: 1px;
317 229
  border: 1px solid #666;
......
322 234
/*
323 235
 * Addresses styling not present in IE7/8/9, S5, Chrome
324 236
 */
325

  
237
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003255}}
326 238
abbr[title] {
327 239
  border-bottom: 1px dotted;
328 240
  cursor: help;
......
332 244
/*
333 245
 * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
334 246
*/
335

  
247
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003266}}
336 248
b,
337 249
strong {
338 250
  font-weight: bold;
339 251
}
340 252

  
253
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003270}}
341 254
blockquote {
342 255
  /* Sets 1 unit of vertical rhythm on the top and bottom margin. */
343 256
  margin: 1.5em 30px;
......
346 259
/*
347 260
 * Addresses styling not present in S5, Chrome
348 261
 */
349

  
262
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003279}}
350 263
dfn {
351 264
  font-style: italic;
352 265
}
......
354 267
/*
355 268
 * Addresses styling not present in IE6/7/8/9
356 269
 */
357

  
270
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003287}}
358 271
mark {
359 272
  background: #ff0;
360 273
  color: #000;
......
363 276
/*
364 277
 * Addresses margins set differently in IE6/7
365 278
 */
366

  
279
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003297}}
367 280
p,
368 281
pre {
369 282
  /* Sets 1 unit of vertical rhythm on the top and bottom margin. */
......
374 287
 * Corrects font family set oddly in IE6, S4/5, Chrome
375 288
 * en.wikipedia.org/wiki/User:Davidgothberg/Test59
376 289
 */
377

  
290
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003312}}
378 291
pre,
379 292
code,
380 293
kbd,
......
382 295
tt,
383 296
var {
384 297
  font-family: "Courier New", "DejaVu Sans Mono", monospace, sans-serif;
385
  _font-family: 'courier new', monospace;
298
  /* The $font-monospace value ends with ", serif". */
386 299
  font-size: 1em;
387 300
  line-height: 1.5em;
388 301
}
......
390 303
/*
391 304
 * Improves readability of pre-formatted text in all browsers
392 305
 */
393

  
306
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003324}}
394 307
pre {
395 308
  white-space: pre;
396 309
  white-space: pre-wrap;
......
401 314
 * 1. Addresses CSS quotes not supported in IE6/7
402 315
 * 2. Addresses quote property not supported in S4
403 316
 */
404

  
405 317
/* 1 */
406

  
318
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003337}}
407 319
q {
408 320
  quotes: none;
409 321
}
410 322

  
411 323
/* 2 */
412

  
324
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003344}}
413 325
q:before,
414 326
q:after {
415 327
  content: '';
......
417 329
}
418 330

  
419 331
/* @todo Determine how big element affects vertical rhythm. */
332
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003350}}
420 333
small {
421 334
  font-size: 75%;
422 335
}
......
425 338
 * Prevents sub and sup affecting line-height in all browsers
426 339
 * gist.github.com/413930
427 340
 */
428

  
341
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003360}}
429 342
sub,
430 343
sup {
431 344
  font-size: 75%;
......
434 347
  vertical-align: baseline;
435 348
}
436 349

  
350
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003367}}
437 351
sup {
438 352
  top: -0.5em;
439 353
}
440 354

  
355
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003371}}
441 356
sub {
442 357
  bottom: -0.25em;
443 358
}
444 359

  
445

  
446 360
/* =============================================================================
447 361
   Lists
448 362
   ========================================================================== */
449

  
450 363
/*
451 364
 * Addresses margins set differently in IE6/7
452 365
 */
453

  
366
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003388}}
454 367
dl,
455 368
menu,
456 369
ol,
457 370
ul,
458
.item-list ul /* Drupal override */ {
371
.item-list ul {
459 372
  /* Sets 1 unit of vertical rhythm on the top and bottom margin. */
460 373
  margin: 1.5em 0;
461 374
}
462 375

  
463
.item-list ul li { /* Drupal override */
376
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003393}}
377
.item-list ul li {
378
  /* Drupal override */
464 379
  margin: 0;
465 380
}
466 381

  
382
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003397}}
467 383
dd {
468
  margin: 0 0 0 30px; /* LTR */
384
  margin: 0 0 0 30px;
385
  /* LTR */
469 386
}
470 387

  
471
ul ul, ul ol,
472
ol ul, ol ol,
473
.item-list ul ul, .item-list ul ol,
474
.item-list ol ul, .item-list ol ol {
475
  margin: 0; /* Turn off margins on nested lists. */
388
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003402}}
389
ul ul, ul ol, ol ul, ol ol, .item-list ul ul, .item-list ul ol, .item-list ol ul, .item-list ol ol {
390
  margin: 0;
391
  /* Turn off margins on nested lists. */
476 392
}
477 393

  
478 394
/*
479 395
 * Addresses paddings set differently in IE6/7
480 396
 */
481

  
397
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003414}}
482 398
menu,
483 399
ol,
484 400
ul,
485
.item-list ul /* Drupal override */ {
486
  padding: 0 0 0 30px; /* LTR */
401
.item-list ul {
402
  padding: 0 0 0 30px;
403
  /* LTR */
487 404
}
488 405

  
489 406
/*
490 407
 * Corrects list images handled incorrectly in IE7
491 408
 */
492

  
409
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003423}}
493 410
nav ul,
494 411
nav ol {
495 412
  list-style: none;
496 413
  list-style-image: none;
497 414
}
498 415

  
499

  
500 416
/* =============================================================================
501 417
   Embedded content
502 418
   ========================================================================== */
503

  
504 419
/*
505 420
 * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
506 421
 * 2. Improves image quality when scaled in IE7
507 422
 *    code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
508 423
 */
509

  
424
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003439}}
510 425
img {
511
  border: 0; /* 1 */
512
  -ms-interpolation-mode: bicubic; /* 2 */
513

  
514
  /* vertical-align: bottom; */ /* Suppress the space beneath the baseline */
515

  
426
  border: 0;
427
  /* 1 */
428
  -ms-interpolation-mode: bicubic;
429
  /* 2 */
430
  /* vertical-align: bottom; */
431
  /* Suppress the space beneath the baseline */
516 432
  /* Responsive images */
517 433
  /* @todo Add responsive embedded video. */
518 434
  max-width: 100%;
......
522 438
/*
523 439
 * Corrects overflow displayed oddly in IE9
524 440
 */
525

  
441
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003455}}
526 442
svg:not(:root) {
527 443
  overflow: hidden;
528 444
}
529 445

  
530

  
531 446
/* =============================================================================
532 447
   Figures
533 448
   ========================================================================== */
534

  
535 449
/*
536 450
 * Addresses margin not present in IE6/7/8/9, S5, O11
537 451
 */
538

  
452
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003468}}
539 453
figure {
540 454
  margin: 0;
541 455
}
542 456

  
543

  
544 457
/* =============================================================================
545 458
   Forms
546 459
   ========================================================================== */
547

  
548 460
/*
549 461
 * Corrects margin displayed oddly in IE6/7
550 462
 */
551

  
463
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003481}}
552 464
form {
553 465
  margin: 0;
554 466
}
......
556 468
/*
557 469
 * Define consistent border, margin, and padding
558 470
 */
559

  
471
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003489}}
560 472
fieldset {
561
  border: 1px solid #c0c0c0;
473
  border-color: #c0c0c0;
562 474
  margin: 0 2px;
563
  padding: 0.5em 0.625em 1em;
475
  /* Apply borders and padding that keep the vertical rhythm. */
476
  border-top-style: solid;
477
  border-top-width: 0.08333em;
478
  padding-top: 0.44167em;
479
  border-bottom-style: solid;
480
  border-bottom-width: 0.08333em;
481
  padding-bottom: 0.89167em;
482
  border-left-style: solid;
483
  border-left-width: 0.08333em;
484
  padding-left: 0.89167em;
485
  border-right-style: solid;
486
  border-right-width: 0.08333em;
487
  padding-right: 0.89167em;
564 488
}
565 489

  
566 490
/*
......
568 492
 * 2. Corrects text not wrapping in FF3
569 493
 * 3. Corrects alignment displayed oddly in IE6/7
570 494
 */
571

  
495
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003505}}
572 496
legend {
573
  border: 0; /* 1 */
497
  border: 0;
498
  /* 1 */
574 499
  padding: 0;
575
  white-space: normal; /* 2 */
576
  *margin-left: -7px; /* 3 */ /* LTR */
500
  white-space: normal;
501
  /* 2 */
577 502
}
578 503

  
579 504
/*
......
581 506
 * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
582 507
 * 3. Improves appearance and consistency in all browsers
583 508
 */
584

  
509
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003523}}
585 510
button,
586 511
input,
587 512
select,
588 513
textarea {
589
  font-size: 100%; /* 1 */
590
  margin: 0; /* 2 */
591
  vertical-align: baseline; /* 3 */
592
  *vertical-align: middle; /* 3 */
514
  font-size: 100%;
515
  /* 1 */
516
  margin: 0;
517
  /* 2 */
518
  vertical-align: baseline;
519
  /* 3 */
593 520
}
594 521

  
595 522
/*
596 523
 * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
597 524
 */
598

  
525
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003537}}
599 526
button,
600 527
input {
601
  line-height: normal; /* 1 */
528
  line-height: normal;
529
  /* 1 */
602 530
}
603 531

  
604 532
/*
......
607 535
 * 3. Removes inner spacing in IE7 without affecting normal text inputs
608 536
 *    Known issue: inner spacing remains in IE6
609 537
 */
610

  
538
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003551}}
611 539
button,
612 540
input[type="button"],
613 541
input[type="reset"],
614 542
input[type="submit"] {
615
  cursor: pointer; /* 1 */
616
  -webkit-appearance: button; /* 2 */
617
  *overflow: visible;  /* 3 */
543
  cursor: pointer;
544
  /* 1 */
545
  -webkit-appearance: button;
546
  /* 2 */
618 547
}
619 548

  
620 549
/*
621 550
 * Re-set default cursor for disabled elements
622 551
 */
623

  
552
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003564}}
624 553
button[disabled],
625 554
input[disabled] {
626 555
  cursor: default;
......
632 561
 * 3. Removes excess padding in IE7
633 562
      Known issue: excess padding remains in IE6
634 563
 */
635

  
564
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003576}}
636 565
input[type="checkbox"],
637 566
input[type="radio"] {
638 567
  -webkit-box-sizing: border-box;
639 568
  -moz-box-sizing: border-box;
640
  box-sizing: border-box; /* 1 */
641
  padding: 0; /* 2 */
642
  *height: 13px; /* 3 */
643
  *width: 13px; /* 3 */
569
  box-sizing: border-box;
570
  /* 1 */
571
  padding: 0;
572
  /* 2 */
644 573
}
645 574

  
646 575
/*
647 576
 * 1. Addresses appearance set to searchfield in S5, Chrome
648 577
 * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
649 578
 */
650

  
579
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003590}}
651 580
input[type="search"] {
652
  -webkit-appearance: textfield; /* 1 */
653
  -webkit-box-sizing: content-box; /* 2 */
581
  -webkit-appearance: textfield;
582
  /* 1 */
583
  -webkit-box-sizing: content-box;
654 584
  -moz-box-sizing: content-box;
655 585
  box-sizing: content-box;
586
  /* 2 */
656 587
}
657 588

  
658 589
/*
659 590
 * Removes inner padding and search cancel button in S5, Chrome on OS X
660 591
 */
661

  
592
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003600}}
662 593
input[type="search"]::-webkit-search-decoration,
663 594
input[type="search"]::-webkit-search-cancel-button {
664 595
  -webkit-appearance: none;
......
668 599
 * Removes inner padding and border in FF3+
669 600
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
670 601
 */
671

  
602
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003610}}
672 603
button::-moz-focus-inner,
673 604
input::-moz-focus-inner {
674 605
  border: 0;
......
679 610
 * 1. Removes default vertical scrollbar in IE6/7/8/9
680 611
 * 2. Improves readability and alignment in all browsers
681 612
 */
682

  
613
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003620}}
683 614
textarea {
684
  overflow: auto; /* 1 */
685
  vertical-align: top; /* 2 */
615
  overflow: auto;
616
  /* 1 */
617
  vertical-align: top;
618
  /* 2 */
686 619
}
687 620

  
688

  
689 621
/* =============================================================================
690 622
   Tables
691 623
   ========================================================================== */
692

  
693 624
/*
694 625
 * Remove most spacing between table cells
695 626
 */
696

  
627
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003634}}
697 628
table {
698 629
  border-collapse: collapse;
699 630
  border-spacing: 0;
700
  /* width: 100%; */ /* Prevent cramped-looking tables */
631
  /* width: 100%; */
632
  /* Prevent cramped-looking tables */
701 633
  /* Add vertical rhythm margins. */
702 634
  margin-top: 1.5em;
703 635
  margin-bottom: 1.5em;
......
707 639
 * Drupal provides table styling which is only useful for its admin section
708 640
 * forms, so we override this default CSS. (We set it back in forms.css.)
709 641
 */
710

  
642
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003648}}
711 643
th {
712
  text-align: left; /* LTR */
644
  text-align: left;
645
  /* LTR */
713 646
  padding: 0;
714 647
  border-bottom: none;
715 648
}
716 649

  
650
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/normalize\.scss}line{font-family:\00003654}}
717 651
tbody {
718 652
  border-top: none;
719 653
}

Also available in: Unified diff