Codebase list compass-h5bp-plugin / 267fd53
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
7 changed file(s) with 44 addition(s) and 25 deletion(s). Raw diff Collapse all Expand all
0 // HTML5 ✰ Boilerplate
0 // HTML5 Boilerplate
11 //
22 // What follows is the result of much research on cross-browser styling.
33 // Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
66 @import "h5bp/normalize";
77 @import "h5bp/main";
88 @import "h5bp/helpers";
9 @import "h5bp/media";
9 @import "h5bp/media";
2828 }
2929
3030 // 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.
3232 // Customize the background color to match your design.
3333 ::-moz-selection {
3434 background: $selected-background-color;
7979 color: #000;
8080 padding: 0.2em 0;
8181 }
82 }
82 }
1010 * {
1111 background: transparent !important;
1212 color: #000 !important; // Black prints faster: h5bp.com/s
13 box-shadow:none !important;
13 box-shadow: none !important;
1414 text-shadow: none !important;
1515 }
1616
7171 h3 {
7272 page-break-after: avoid;
7373 }
74 }
74 }
00 //
1 // Normalize v1.1.0 | MIT License | git.io/normalize
1 // Normalize v1.1.1 | MIT License | git.io/normalize
22 //
33
44 @mixin h5bp-normalize {
6565 // `em` units.
6666 // 2. Prevent iOS text size adjust after orientation change, without disabling
6767 // 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.
6876 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
7282 }
7383
7484 // Address `font-family` inconsistency between `textarea` and other form
435445 border-spacing: 0;
436446 }
437447
438 }
448 }
2424
2525 /*
2626 * 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.
2828 * Customize the background color to match your design.
2929 */
3030
211211
212212 /* ==========================================================================
213213 EXAMPLE Media Queries for Responsive Design.
214 Theses examples override the primary ('mobile first') styles.
214 These examples override the primary ('mobile first') styles.
215215 Modify as content requires.
216216 ========================================================================== */
217217
218218 @media only screen and (min-width: 35em) {
219219 /* Style adjustments for viewports that meet the condition */
220 body { margin: 0; } //HACK
220 body { margin: 0; } //HACK: scss class can't be empty
221221 }
222222
223223 @media print,
225225 (-webkit-min-device-pixel-ratio: 1.25),
226226 (min-resolution: 120dpi) {
227227 /* Style adjustments for high resolution devices */
228 body { margin: 0; } //HACK
228 body { margin: 0; } //HACK: scss class can't be empty
229229 }
230230
231231 /* ==========================================================================
237237 * {
238238 background: transparent !important;
239239 color: #000 !important; // Black prints faster: h5bp.com/s
240 box-shadow:none !important;
240 box-shadow: none !important;
241241 text-shadow: none !important;
242242 }
243243
0 /*! normalize.css v1.1.0 | MIT License | git.io/normalize */
0 /*! normalize.css v1.1.1 | MIT License | git.io/normalize */
11
22 /* ==========================================================================
33 HTML5 display definitions
5858 ========================================================================== */
5959
6060 /**
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
6266 * `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
6468 * user zoom.
6569 */
6670
6771 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
7177 }
7278
7379 /**
55
66 @media only screen and (min-width: 35em) {
77 /* Style adjustments for viewports that meet the condition */
8 body { margin: 0; } //HACK
8 body { margin: 0; } //HACK: scss class can't be empty
99 }
1010
1111 @media print,
1313 (-webkit-min-device-pixel-ratio: 1.25),
1414 (min-resolution: 120dpi) {
1515 /* Style adjustments for high resolution devices */
16 body { margin: 0; } //HACK
16 body { margin: 0; } //HACK: scss class can't be empty
1717 }
18 @include h5bp-media;
18
19 @media print {
20 @include h5bp-media-print;
21 }