Merge tag 'upstream/0.1.1+20130730'
Upstream version 0.1.1+20130730
# gpg: Underskrift lavet søn 20 okt 2013 01:47:10 CEST
# gpg: bruger RSA nøgle 0x4EC1B722374F9BD6
# gpg: God underskrift fra »Jonas Smedegaard <dr@jones.dk>«
# gpg: også kendt som »Jonas Smedegaard <jonas@homebase.dk>«
# gpg: også kendt som »Jonas Smedegaard <js@debian.org>«
# gpg: også kendt som »Jonas Smedegaard <jonas@dgi-huset.dk>«
# gpg: også kendt som »Jonas Smedegaard <jonas@107b.dk>«
# gpg: også kendt som »[jpeg image of size 4165]«
Jonas Smedegaard
10 years ago
0 | |
// HTML5 ✰ Boilerplate
|
|
0 |
// HTML5 Boilerplate
|
1 | 1 |
//
|
2 | 2 |
// What follows is the result of much research on cross-browser styling.
|
3 | 3 |
// Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
|
|
6 | 6 |
@import "h5bp/normalize";
|
7 | 7 |
@import "h5bp/main";
|
8 | 8 |
@import "h5bp/helpers";
|
9 | |
@import "h5bp/media";⏎
|
|
9 |
@import "h5bp/media";
|
28 | 28 |
}
|
29 | 29 |
|
30 | 30 |
// Remove text-shadow in selection highlight: h5bp.com/i
|
31 | |
// These selection declarations have to be separate.
|
|
31 |
// These selection rule sets have to be separate.
|
32 | 32 |
// Customize the background color to match your design.
|
33 | 33 |
::-moz-selection {
|
34 | 34 |
background: $selected-background-color;
|
|
79 | 79 |
color: #000;
|
80 | 80 |
padding: 0.2em 0;
|
81 | 81 |
}
|
82 | |
}⏎
|
|
82 |
}
|
10 | 10 |
* {
|
11 | 11 |
background: transparent !important;
|
12 | 12 |
color: #000 !important; // Black prints faster: h5bp.com/s
|
13 | |
box-shadow:none !important;
|
|
13 |
box-shadow: none !important;
|
14 | 14 |
text-shadow: none !important;
|
15 | 15 |
}
|
16 | 16 |
|
|
71 | 71 |
h3 {
|
72 | 72 |
page-break-after: avoid;
|
73 | 73 |
}
|
74 | |
}⏎
|
|
74 |
}
|
0 | 0 |
//
|
1 | |
// Normalize v1.1.0 | MIT License | git.io/normalize
|
|
1 |
// Normalize v1.1.1 | MIT License | git.io/normalize
|
2 | 2 |
//
|
3 | 3 |
|
4 | 4 |
@mixin h5bp-normalize {
|
|
65 | 65 |
// `em` units.
|
66 | 66 |
// 2. Prevent iOS text size adjust after orientation change, without disabling
|
67 | 67 |
// user zoom.
|
|
68 |
// 1. Prevent system color scheme's background color being used in Firefox, IE,
|
|
69 |
// and Opera.
|
|
70 |
// 2. Prevent system color scheme's text color being used in Firefox, IE, and
|
|
71 |
// Opera.
|
|
72 |
// 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
|
|
73 |
// `em` units.
|
|
74 |
// 4. Prevent iOS text size adjust after orientation change, without disabling
|
|
75 |
// user zoom.
|
68 | 76 |
html {
|
69 | |
font-size: 100%; // 1
|
70 | |
-webkit-text-size-adjust: 100%; // 2
|
71 | |
-ms-text-size-adjust: 100%; // 2
|
|
77 |
background: #fff; // 1
|
|
78 |
color: #000; // 2
|
|
79 |
font-size: 100%; // 3
|
|
80 |
-webkit-text-size-adjust: 100%; // 4
|
|
81 |
-ms-text-size-adjust: 100%; // 4
|
72 | 82 |
}
|
73 | 83 |
|
74 | 84 |
// Address `font-family` inconsistency between `textarea` and other form
|
|
435 | 445 |
border-spacing: 0;
|
436 | 446 |
}
|
437 | 447 |
|
438 | |
}⏎
|
|
448 |
}
|
24 | 24 |
|
25 | 25 |
/*
|
26 | 26 |
* Remove text-shadow in selection highlight: h5bp.com/i
|
27 | |
* These selection declarations have to be separate.
|
|
27 |
* These selection rule sets have to be separate.
|
28 | 28 |
* Customize the background color to match your design.
|
29 | 29 |
*/
|
30 | 30 |
|
|
211 | 211 |
|
212 | 212 |
/* ==========================================================================
|
213 | 213 |
EXAMPLE Media Queries for Responsive Design.
|
214 | |
Theses examples override the primary ('mobile first') styles.
|
|
214 |
These examples override the primary ('mobile first') styles.
|
215 | 215 |
Modify as content requires.
|
216 | 216 |
========================================================================== */
|
217 | 217 |
|
218 | 218 |
@media only screen and (min-width: 35em) {
|
219 | 219 |
/* Style adjustments for viewports that meet the condition */
|
220 | |
body { margin: 0; } //HACK
|
|
220 |
body { margin: 0; } //HACK: scss class can't be empty
|
221 | 221 |
}
|
222 | 222 |
|
223 | 223 |
@media print,
|
|
225 | 225 |
(-webkit-min-device-pixel-ratio: 1.25),
|
226 | 226 |
(min-resolution: 120dpi) {
|
227 | 227 |
/* Style adjustments for high resolution devices */
|
228 | |
body { margin: 0; } //HACK
|
|
228 |
body { margin: 0; } //HACK: scss class can't be empty
|
229 | 229 |
}
|
230 | 230 |
|
231 | 231 |
/* ==========================================================================
|
|
237 | 237 |
* {
|
238 | 238 |
background: transparent !important;
|
239 | 239 |
color: #000 !important; // Black prints faster: h5bp.com/s
|
240 | |
box-shadow:none !important;
|
|
240 |
box-shadow: none !important;
|
241 | 241 |
text-shadow: none !important;
|
242 | 242 |
}
|
243 | 243 |
|
0 | |
/*! normalize.css v1.1.0 | MIT License | git.io/normalize */
|
|
0 |
/*! normalize.css v1.1.1 | MIT License | git.io/normalize */
|
1 | 1 |
|
2 | 2 |
/* ==========================================================================
|
3 | 3 |
HTML5 display definitions
|
|
58 | 58 |
========================================================================== */
|
59 | 59 |
|
60 | 60 |
/**
|
61 | |
* 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
|
|
61 |
* 1. Prevent system color scheme's background color being used in Firefox, IE,
|
|
62 |
* and Opera.
|
|
63 |
* 2. Prevent system color scheme's text color being used in Firefox, IE, and
|
|
64 |
* Opera.
|
|
65 |
* 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
|
62 | 66 |
* `em` units.
|
63 | |
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
|
67 |
* 4. Prevent iOS text size adjust after orientation change, without disabling
|
64 | 68 |
* user zoom.
|
65 | 69 |
*/
|
66 | 70 |
|
67 | 71 |
html {
|
68 | |
font-size: 100%; // 1
|
69 | |
-webkit-text-size-adjust: 100%; // 2
|
70 | |
-ms-text-size-adjust: 100%; // 2
|
|
72 |
background: #fff; // 1
|
|
73 |
color: #000; // 2
|
|
74 |
font-size: 100%; // 3
|
|
75 |
-webkit-text-size-adjust: 100%; // 4
|
|
76 |
-ms-text-size-adjust: 100%; // 4
|
71 | 77 |
}
|
72 | 78 |
|
73 | 79 |
/**
|
5 | 5 |
|
6 | 6 |
@media only screen and (min-width: 35em) {
|
7 | 7 |
/* Style adjustments for viewports that meet the condition */
|
8 | |
body { margin: 0; } //HACK
|
|
8 |
body { margin: 0; } //HACK: scss class can't be empty
|
9 | 9 |
}
|
10 | 10 |
|
11 | 11 |
@media print,
|
|
13 | 13 |
(-webkit-min-device-pixel-ratio: 1.25),
|
14 | 14 |
(min-resolution: 120dpi) {
|
15 | 15 |
/* Style adjustments for high resolution devices */
|
16 | |
body { margin: 0; } //HACK
|
|
16 |
body { margin: 0; } //HACK: scss class can't be empty
|
17 | 17 |
}
|
18 | |
@include h5bp-media;
|
|
18 |
|
|
19 |
@media print {
|
|
20 |
@include h5bp-media-print;
|
|
21 |
}
|