compass_extension 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/templates/project/files/about.html +123 -0
  2. data/templates/project/files/blog.html +195 -0
  3. data/templates/project/files/contact.html +186 -0
  4. data/templates/project/files/dummy-full.png +0 -0
  5. data/templates/project/files/inc/breadcrumb.html +5 -0
  6. data/templates/project/files/inc/footer.html +35 -0
  7. data/templates/project/files/inc/header.html +37 -0
  8. data/templates/project/files/inc/main-nav.html +7 -0
  9. data/templates/project/files/index.html +157 -0
  10. data/templates/project/files/logo.png +0 -0
  11. data/templates/project/files/logo@2x.png +0 -0
  12. data/templates/project/files/products.html +107 -0
  13. data/templates/project/files/services.html +107 -0
  14. data/templates/project/index.html +154 -0
  15. data/templates/project/javascripts/{jquery-1.7.2.js → libs/jquery-1.7.2.js} +0 -0
  16. data/templates/project/javascripts/{jquery-1.7.2.min.js → libs/jquery-1.7.2.min.js} +0 -0
  17. data/templates/project/javascripts/{jquery-ui-1.8.22.min.js → libs/jquery-ui-1.8.22.min.js} +0 -0
  18. data/templates/project/javascripts/{modernizr-2.5.3.min.js → libs/modernizr-2.5.3.min.js} +0 -0
  19. data/templates/project/javascripts/{respond.min.js → libs/respond.min.js} +0 -0
  20. data/templates/project/javascripts/libs/selectivizr.js +560 -0
  21. data/templates/project/manifest.rb +59 -39
  22. data/templates/project/partials/_debug.scss +114 -0
  23. data/templates/project/partials/_functions.scss +10 -0
  24. data/templates/project/partials/_helpers.scss +86 -0
  25. data/templates/project/partials/_layout.scss +177 -0
  26. data/templates/project/partials/_media.scss +166 -20
  27. data/templates/project/partials/_misc.scss +103 -0
  28. data/templates/project/partials/_mixins.scss +85 -0
  29. data/templates/project/partials/_mods.scss +65 -0
  30. data/templates/project/partials/_normalize.scss +36 -0
  31. data/templates/project/partials/_print.scss +71 -0
  32. data/templates/project/partials/_type.scss +320 -0
  33. data/templates/project/partials/_vars.scss +117 -0
  34. data/templates/project/partials/mods/_mod-block.scss +95 -0
  35. data/templates/project/partials/mods/_mod-breadcrumb.scss +130 -0
  36. data/templates/project/partials/mods/_mod-carousel.scss +106 -0
  37. data/templates/project/partials/mods/_mod-footer.scss +144 -0
  38. data/templates/project/partials/mods/_mod-form.scss +269 -0
  39. data/templates/project/partials/mods/_mod-header.scss +203 -0
  40. data/templates/project/partials/mods/_mod-intro.scss +95 -0
  41. data/templates/project/partials/mods/_mod-main-nav.scss +139 -0
  42. data/templates/project/partials/mods/_mod-map.scss +107 -0
  43. data/templates/project/partials/mods/_mod-paging.scss +101 -0
  44. data/templates/project/partials/mods/_mod-strip.scss +120 -0
  45. data/templates/project/partials/mods/_mod-table.scss +118 -0
  46. data/templates/project/partials/sass-template.scss +103 -0
  47. data/templates/project/screen.scss +55 -0
  48. metadata +49 -26
  49. data/templates/project/partials/SCSS_template.scss +0 -83
  50. data/templates/project/partials/_base.scss +0 -198
  51. data/templates/project/partials/_fonts.scss +0 -4
  52. data/templates/project/partials/_footer.scss +0 -83
  53. data/templates/project/partials/_header.scss +0 -83
  54. data/templates/project/partials/_modules.scss +0 -19
  55. data/templates/project/partials/_overrides.scss +0 -47
  56. data/templates/project/partials/_page.scss +0 -126
  57. data/templates/project/partials/modules/_mod-breadcrumb.scss +0 -83
  58. data/templates/project/partials/modules/_mod-carousels.scss +0 -83
  59. data/templates/project/partials/modules/_mod-default.scss +0 -83
  60. data/templates/project/partials/modules/_mod-form.scss +0 -83
  61. data/templates/project/partials/modules/_mod-login.scss +0 -83
  62. data/templates/project/partials/modules/_mod-pagination.scss +0 -83
  63. data/templates/project/partials/modules/_mod-subnav.scss +0 -83
  64. data/templates/project/partials/modules/_mod-widget.scss +0 -83
  65. data/templates/project/style.scss +0 -28
@@ -1,38 +1,184 @@
1
- // ==|== media queries ======================================================
2
- // PLACEHOLDER Media Queries for Responsive Design.
3
- // These override the primary ('mobile first') styles
4
- // Modify as content requires.
5
- // ========================================================================== */
6
- @media only screen and (min-width: 320px) {
7
- /* Style adjustments for viewports 320px and over go here */
1
+ /* ==========================================================================
2
+ H5BP Normalize bits
3
+ Media
4
+ ========================================================================== */
5
+ /*
6
+ * Corrects `inline-block` display not defined in IE6/7/8/9 & FF3.
7
+ */
8
8
 
9
+ audio,
10
+ canvas,
11
+ video {
12
+ display: inline-block;
13
+ *display: inline;
14
+ *zoom: 1;
9
15
  }
10
16
 
17
+ /*
18
+ * Prevents modern browsers from displaying `audio` without controls.
19
+ * Remove excess height in iOS5 devices.
20
+ */
11
21
 
12
- @media only screen and (min-width: 480px) {
13
- /* Style adjustments for viewports 480px and over go here */
22
+ audio:not([controls]) {
23
+ display: none;
24
+ height: 0;
25
+ }
26
+
27
+
28
+ /*
29
+ * Addresses margin not present in IE6/7/8/9, S5, O11.
30
+ */
31
+
32
+ figure {
33
+ margin: 0;
34
+ }
35
+
36
+ /*
37
+ * 1. Removes border when inside `a` element in IE6/7/8/9, FF3.
38
+ * 2. Improves image quality when scaled in IE7.
39
+ * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
40
+ */
41
+
42
+ img {
43
+ border: 0; /* 1 */
44
+ -ms-interpolation-mode: bicubic; /* 2 */
45
+ }
46
+
47
+ /*
48
+ * Corrects overflow displayed oddly in IE9.
49
+ */
14
50
 
51
+ svg:not(:root) {
52
+ overflow: hidden;
15
53
  }
16
54
 
17
- @media only screen and (min-width: 768px) {
18
- /* Style adjustments for viewports 768px and over go here */
19
55
 
56
+
57
+
58
+ /*
59
+ ------------------------------------------------------------------------------
60
+ 888888 Yb dP 888888 888888 88b 88 8888b.
61
+ 88__ YbdP 88 88__ 88Yb88 8I Yb
62
+ 88"" dPYb 88 88"" 88 Y88 8I dY
63
+ 888888 dP Yb 88 888888 88 Y8 8888Y"
64
+ ------------------------------------------------------------------------------
65
+ Extend classes. These are classes should not in your HTML markup.
66
+ These class should be reused in this module for neatness.
67
+ ------------------------------------------------------------------------------
68
+ */
69
+
70
+ /* =============================================================================
71
+ Comment
72
+ ========================================================================== */
73
+
74
+
75
+ /*
76
+ ------------------------------------------------------------------------------
77
+ 8888b. 888888 888888 db 88 88 88 888888 .dP"Y8 888888 Yb dP 88 888888 .dP"Y8
78
+ 8I Yb 88__ 88__ dPYb 88 88 88 88 `Ybo." 88 YbdP 88 88__ `Ybo."
79
+ 8I dY 88"" 88"" dP__Yb Y8 8P 88 .o 88 o.`Y8b 88 8P 88 .o 88"" o.`Y8b
80
+ 8888Y" 888888 88 dP""""Yb `YbodP' 88ood8 88 8bodP' 88 dP 88ood8 888888 8bodP'
81
+ ------------------------------------------------------------------------------
82
+ Default style
83
+ ------------------------------------------------------------------------------
84
+ */
85
+
86
+
87
+ /* =============================================================================
88
+ Remove the gap between images and the bottom of their containers: h5bp.com/i/440
89
+ ========================================================================== */
90
+ img {
91
+ vertical-align: middle;
92
+ }
93
+
94
+ img{
95
+ max-width:100%;
20
96
  }
21
97
 
22
- @media only screen and (min-width: 980px) {
23
- /* Style adjustments for viewports 980px and over go here */
98
+ img.full{
99
+ min-width:100%;
100
+ }
24
101
 
102
+ video{
103
+ min-width:100%;
104
+ max-width:100%;
25
105
  }
26
106
 
27
107
 
28
108
 
29
- // ==|== print styles =======================================================
30
- // Print styles.
31
- // Inlined to avoid required HTTP connection: h5bp.com/r
32
- // ========================================================================== */
33
109
 
34
- @media print {
35
- @include h5bp-media-print;
110
+ /*
111
+ ------------------------------------------------------------------------------
112
+ 8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 8b d8 dP"Yb 88""Yb 88 88 888888
113
+ 88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 88b d88 dP Yb 88__dP 88 88 88__
114
+ 88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 88YbdP88 Yb dP 88""Yb 88 88 .o 88""
115
+ 88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 88 YY 88 YbodP 88oodP 88 88ood8 888888
116
+ ------------------------------------------------------------------------------
117
+ Mobile
118
+ ------------------------------------------------------------------------------
119
+ */
120
+ @media only screen and (min-width: $mq-mob-min) and (max-width: $mq-mob-max){
121
+
122
+ /* =============================================================================
123
+ Comment
124
+ ========================================================================== */
125
+
126
+
127
+
128
+ }// /@media mob
129
+
130
+
131
+ /*
132
+ ------------------------------------------------------------------------------
133
+ 8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 888888 db 88""Yb 88 888888 888888
134
+ 88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 88 dPYb 88__dP 88 88__ 88
135
+ 88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 88 dP__Yb 88""Yb 88 .o 88"" 88
136
+ 88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 88 dP""""Yb 88oodP 88ood8 888888 88
137
+ ------------------------------------------------------------------------------
138
+ Tablet
139
+ ------------------------------------------------------------------------------
140
+ */
141
+ @media only screen and (min-width: $mq-tab-min) and (max-width: $mq-tab-max){
142
+
143
+ /* =============================================================================
144
+ Comment
145
+ ========================================================================== */
146
+
147
+
148
+
149
+ }// /@media tab
150
+
151
+ /*
152
+ ------------------------------------------------------------------------------
153
+ 8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 8888b. 888888 .dP"Y8 88 dP 888888 dP"Yb 88""Yb
154
+ 88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 8I Yb 88__ `Ybo." 88odP 88 dP Yb 88__dP
155
+ 88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 8I dY 88"" o.`Y8b 88"Yb 88 Yb dP 88"""
156
+ 88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 8888Y" 888888 8bodP' 88 Yb 88 YbodP 88
157
+ ------------------------------------------------------------------------------
158
+ Desktop
159
+ ------------------------------------------------------------------------------
160
+ */
161
+ @media only screen and (min-width: $mq-dsk-min){
162
+
163
+ /* =============================================================================
164
+ Comment
165
+ ========================================================================== */
166
+
167
+
168
+ }// /@media dsk
169
+
170
+
171
+
172
+ /*
173
+ ------------------------------------------------------------------------------
174
+ 88""Yb 888888 888888 88 88b 88 db
175
+ 88__dP 88__ 88 88 88Yb88 dPYb
176
+ 88"Yb 88"" 88 88 88 Y88 dP__Yb
177
+ 88 Yb 888888 88 88 88 Y8 dP""""Yb
178
+ ------------------------------------------------------------------------------
179
+ Retina
180
+ ------------------------------------------------------------------------------
181
+ */
182
+ @media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
36
183
 
37
- /* Style adjustments for print go here */
38
184
  }
@@ -0,0 +1,103 @@
1
+ /*----------------------------------------------------------------------------
2
+ 888888 Yb dP 888888 888888 88b 88 8888b.
3
+ 88__ YbdP 88 88__ 88Yb88 8I Yb
4
+ 88"" dPYb 88 88"" 88 Y88 8I dY
5
+ 888888 dP Yb 88 888888 88 Y8 8888Y"
6
+ ------------------------------------------------------------------------------
7
+ Extend classes. These are classes should not in your HTML markup.
8
+ These class should be reused in this module for neatness.
9
+ ----------------------------------------------------------------------------*/
10
+
11
+ /* ===========================================================================
12
+ Comment
13
+ ======================================================================== */
14
+
15
+
16
+ /*----------------------------------------------------------------------------
17
+ 8888b. 888888 888888 db 88 88 88 888888 .dP"Y8 888888 Yb dP 88 888888 .dP"Y8
18
+ 8I Yb 88__ 88__ dPYb 88 88 88 88 `Ybo." 88 YbdP 88 88__ `Ybo."
19
+ 8I dY 88"" 88"" dP__Yb Y8 8P 88 .o 88 o.`Y8b 88 8P 88 .o 88"" o.`Y8b
20
+ 8888Y" 888888 88 dP""""Yb `YbodP' 88ood8 88 8bodP' 88 dP 88ood8 888888 8bodP'
21
+ ------------------------------------------------------------------------------
22
+ Default style
23
+ ----------------------------------------------------------------------------*/
24
+
25
+ /* ==========================================================================
26
+ Chrome Frame prompt
27
+ ========================================================================== */
28
+
29
+ .chromeframe {
30
+ margin: 0.2em 0;
31
+ background: #ccc;
32
+ color: #000;
33
+ padding: 0.2em 0;
34
+ }
35
+
36
+
37
+
38
+ /*----------------------------------------------------------------------------
39
+ 8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 8b d8 dP"Yb 88""Yb 88 88 888888
40
+ 88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 88b d88 dP Yb 88__dP 88 88 88__
41
+ 88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 88YbdP88 Yb dP 88""Yb 88 88 .o 88""
42
+ 88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 88 YY 88 YbodP 88oodP 88 88ood8 888888
43
+ ------------------------------------------------------------------------------
44
+ Mobile
45
+ ---------------------------------------------------------------------------*/
46
+ @media only screen and (min-width: $mq-mob-min) and (max-width: $mq-mob-max){
47
+
48
+ /* ===========================================================================
49
+ Comment
50
+ ======================================================================== */
51
+
52
+
53
+
54
+ }// /@media mob
55
+
56
+
57
+ /*----------------------------------------------------------------------------
58
+ 8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 888888 db 88""Yb 88 888888 888888
59
+ 88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 88 dPYb 88__dP 88 88__ 88
60
+ 88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 88 dP__Yb 88""Yb 88 .o 88"" 88
61
+ 88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 88 dP""""Yb 88oodP 88ood8 888888 88
62
+ ------------------------------------------------------------------------------
63
+ Tablet
64
+ ----------------------------------------------------------------------------*/
65
+ @media only screen and (min-width: $mq-tab-min) and (max-width: $mq-tab-max){
66
+
67
+ /* ===========================================================================
68
+ Comment
69
+ ======================================================================== */
70
+
71
+
72
+
73
+ }// /@media tab
74
+
75
+ /*----------------------------------------------------------------------------
76
+ 8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 8888b. 888888 .dP"Y8 88 dP 888888 dP"Yb 88""Yb
77
+ 88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 8I Yb 88__ `Ybo." 88odP 88 dP Yb 88__dP
78
+ 88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 8I dY 88"" o.`Y8b 88"Yb 88 Yb dP 88"""
79
+ 88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 8888Y" 888888 8bodP' 88 Yb 88 YbodP 88
80
+ ------------------------------------------------------------------------------
81
+ Desktop
82
+ ----------------------------------------------------------------------------*/
83
+ @media only screen and (min-width: $mq-dsk-min){
84
+
85
+ /* ===========================================================================
86
+ Comment
87
+ ======================================================================== */
88
+
89
+ }// /@media dsk
90
+
91
+
92
+
93
+ /*----------------------------------------------------------------------------
94
+ 88""Yb 888888 888888 88 88b 88 db
95
+ 88__dP 88__ 88 88 88Yb88 dPYb
96
+ 88"Yb 88"" 88 88 88 Y88 dP__Yb
97
+ 88 Yb 888888 88 88 88 Y8 dP""""Yb
98
+ ------------------------------------------------------------------------------
99
+ Retina
100
+ ----------------------------------------------------------------------------*/
101
+ @media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
102
+
103
+ }
@@ -0,0 +1,85 @@
1
+ /*
2
+ ------------------------------------------------------------------------------
3
+ 8b d8 88 Yb dP 88 88b 88 .dP"Y8
4
+ 88b d88 88 YbdP 88 88Yb88 `Ybo."
5
+ 88YbdP88 88 dPYb 88 88 Y88 o.`Y8b
6
+ 88 YY 88 88 dP Yb 88 88 Y8 8bodP'
7
+ ------------------------------------------------------------------------------
8
+ Mixins
9
+ ------------------------------------------------------------------------------
10
+ */
11
+
12
+ /* =============================================================================
13
+ Debug Media Query
14
+ ========================================================================== */
15
+ @mixin debug-mq($message, $color: rgba(255,255,0, 0.6) ){
16
+ &::before{
17
+ content: $message;
18
+ font-weight: bold;
19
+ display: block;
20
+ text-align: center;
21
+ background: #{$color};
22
+ position: absolute;
23
+ right: 0;
24
+ left: 0;
25
+ top: 0;
26
+ z-index: 99;
27
+ }
28
+ }
29
+
30
+ /* =============================================================================
31
+ Font-size in REM with PX fallback / Line-height / Margin.
32
+ Note: margin-top + margin-bottom need the equal the line-height. That value
33
+ needs to be divisible by $base-line-height to keep the vertical rhymth
34
+ ========================================================================== */
35
+ @mixin fz($size: 16px, $lines: 2){
36
+
37
+ @include adjust-font-size-to($size, $lines);
38
+ margin: ($base-line-height/2) 0;
39
+ margin: ((($base-line-height/$base-font-size)/2) + rem) 0;
40
+ //@debug ((($base-line-height/$base-font-size)/2) + rem) 0;
41
+
42
+ }
43
+
44
+ /* =============================================================================
45
+ Vertical Rhymth Margins:
46
+ Note: Adds margin-top/bottom. margin-left/right are set to 0.
47
+
48
+ Use: When you have used a function like horizontal-list(),
49
+ it resets the margin to 0. vr-ma() can used to add margins back to
50
+ keep the vertical rhymth
51
+ ========================================================================== */
52
+ @mixin vr-ma(){
53
+ margin: ($base-line-height/2) 0;
54
+ margin: ((($base-line-height/$base-font-size)/2) + rem) 0;
55
+
56
+ }
57
+
58
+
59
+ /* =============================================================================
60
+ Input Style
61
+ Note: Adds margin-top/bottom. margin-left/right are set to 0.
62
+ ========================================================================== */
63
+ /*
64
+ @mixin input-style($fz:20, $rad:5px ){
65
+ // Inputs
66
+ //width:100%;
67
+ @include box-sizing(border-box);
68
+ @include font-size($fz);
69
+ @include border-radius($rad);
70
+
71
+ @include background( linear-gradient(top, #dfdfdf 1%, #ffffff 10% ) );
72
+
73
+ border: 1px solid $input-border-col;
74
+ padding:5px 5px;
75
+ color:$black;
76
+
77
+ &:focus{ outline:none;}
78
+
79
+ &:focus,
80
+ &:hover{ border: 1px solid darken($input-border-col, 20%) }
81
+
82
+ }
83
+ */
84
+
85
+
@@ -0,0 +1,65 @@
1
+ /*
2
+ ------------------------------------------------------------------------------
3
+ 8b d8 dP"Yb 8888b. 88 88 88 888888 .dP"Y8
4
+ 88b d88 dP Yb 8I Yb 88 88 88 88__ `Ybo."
5
+ 88YbdP88 Yb dP 8I dY Y8 8P 88 .o 88"" o.`Y8b
6
+ 88 YY 88 YbodP 8888Y" `YbodP' 88ood8 888888 8bodP'
7
+ ------------------------------------------------------------------------------
8
+ Modules - yep, everything is a module
9
+ ------------------------------------------------------------------------------
10
+ */
11
+
12
+ @import "mods/mod-header";
13
+ @import "mods/mod-footer";
14
+ @import "mods/mod-main-nav";
15
+ @import "mods/mod-breadcrumb";
16
+
17
+ @import "mods/mod-form"; // Inc validation
18
+ @import "mods/mod-table";
19
+ @import "mods/mod-block"; // Standard mod
20
+ @import "mods/mod-intro";
21
+ @import "mods/mod-strip"; // 3 col layout
22
+ @import "mods/mod-map"; // google map
23
+ @import "mods/mod-carousel"; // Spotlight
24
+ @import "mods/mod-paging";
25
+
26
+ /*
27
+
28
+
29
+
30
+ @import "mods/mod-content-nav"; // Aside
31
+
32
+ @import "mods/mod-message"; // Succuss / Errors / Warnings
33
+
34
+ @import "mods/mod-standard";
35
+
36
+ @import "mods/mod-intro";
37
+
38
+
39
+
40
+ @import "mods/mod-tab";
41
+
42
+ @import "mods/mod-accordian";
43
+
44
+ @import "mods/mod-table";
45
+
46
+ @import "mods/mod-pull-out";
47
+
48
+ @import "mods/mod-social"; // Share social networks
49
+
50
+
51
+
52
+ @import "mods/mod-cta"; // Call to actions
53
+
54
+ @import "mods/mod-login";
55
+
56
+ @import "mods/mod-blog";
57
+
58
+ @import "mods/mod-widget";
59
+
60
+ @import "mods/mod-sitemap";
61
+
62
+ */
63
+
64
+
65
+
@@ -0,0 +1,36 @@
1
+ /*! normalize.css 2012-08-07T21:27 UTC | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /*
8
+ * Corrects `block` display not defined in IE6/7/8/9 & FF3.
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ nav,
20
+ section,
21
+ summary {
22
+ display: block;
23
+ }
24
+
25
+
26
+ /*
27
+ * Addresses styling for `hidden` attribute not present in IE7/8/9, FF3, S4.
28
+ * Known issue: no IE6 support.
29
+ */
30
+
31
+ [hidden] {
32
+ display: none;
33
+ }
34
+
35
+
36
+
@@ -0,0 +1,71 @@
1
+ /* ==========================================================================
2
+ H5BP Print styles.
3
+ Inlined to avoid required HTTP connection: h5bp.com/r
4
+ ========================================================================== */
5
+
6
+ @media print {
7
+ * {
8
+ background: transparent !important;
9
+ color: #000 !important; /* Black prints faster: h5bp.com/s */
10
+ box-shadow:none !important;
11
+ text-shadow: none !important;
12
+ }
13
+
14
+ a,
15
+ a:visited {
16
+ text-decoration: underline;
17
+ }
18
+
19
+ a[href]:after {
20
+ content: " (" attr(href) ")";
21
+ }
22
+
23
+ abbr[title]:after {
24
+ content: " (" attr(title) ")";
25
+ }
26
+
27
+ /*
28
+ * Don't show links for images, or javascript/internal links
29
+ */
30
+
31
+ .ir a:after,
32
+ a[href^="javascript:"]:after,
33
+ a[href^="#"]:after {
34
+ content: "";
35
+ }
36
+
37
+ pre,
38
+ blockquote {
39
+ border: 1px solid #999;
40
+ page-break-inside: avoid;
41
+ }
42
+
43
+ thead {
44
+ display: table-header-group; /* h5bp.com/t */
45
+ }
46
+
47
+ tr,
48
+ img {
49
+ page-break-inside: avoid;
50
+ }
51
+
52
+ img {
53
+ max-width: 100% !important;
54
+ }
55
+
56
+ @page {
57
+ margin: 0.5cm;
58
+ }
59
+
60
+ p,
61
+ h2,
62
+ h3 {
63
+ orphans: 3;
64
+ widows: 3;
65
+ }
66
+
67
+ h2,
68
+ h3 {
69
+ page-break-after: avoid;
70
+ }
71
+ }