zurb-foundation-5 5.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.bowerrc +3 -0
- data/.editorconfig +9 -0
- data/.gitignore +46 -0
- data/.travis.yml +34 -0
- data/CONTRIBUTING.md +55 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +16 -0
- data/Gruntfile.js +222 -0
- data/LICENSE +22 -0
- data/README.md +44 -0
- data/bower.json +20 -0
- data/composer.json +9 -0
- data/foundation.gemspec +21 -0
- data/humans.txt +8 -0
- data/js/foundation/foundation.abide.js +299 -0
- data/js/foundation/foundation.accordion.js +54 -0
- data/js/foundation/foundation.alert.js +43 -0
- data/js/foundation/foundation.clearing.js +531 -0
- data/js/foundation/foundation.dropdown.js +306 -0
- data/js/foundation/foundation.equalizer.js +68 -0
- data/js/foundation/foundation.interchange.js +331 -0
- data/js/foundation/foundation.joyride.js +849 -0
- data/js/foundation/foundation.js +609 -0
- data/js/foundation/foundation.magellan.js +173 -0
- data/js/foundation/foundation.offcanvas.js +50 -0
- data/js/foundation/foundation.orbit.js +606 -0
- data/js/foundation/foundation.reveal.js +427 -0
- data/js/foundation/foundation.slider.js +200 -0
- data/js/foundation/foundation.tab.js +168 -0
- data/js/foundation/foundation.tooltip.js +272 -0
- data/js/foundation/foundation.topbar.js +422 -0
- data/karma.conf.js +114 -0
- data/lib/foundation/engine.rb +20 -0
- data/lib/foundation/generators/USAGE +15 -0
- data/lib/foundation/generators/install_generator.rb +54 -0
- data/lib/foundation/generators/templates/application.html.erb +47 -0
- data/lib/foundation/generators/templates/application.html.haml +31 -0
- data/lib/foundation/generators/templates/application.html.slim +35 -0
- data/lib/foundation/sprockets.rb +4 -0
- data/lib/foundation/version.rb +3 -0
- data/lib/scss.js +114 -0
- data/lib/zurb-foundation.rb +33 -0
- data/package.json +48 -0
- data/robots.txt +4 -0
- data/run-tests.sh +83 -0
- data/sache.json +5 -0
- data/scss/foundation.scss +45 -0
- data/scss/foundation/_functions.scss +101 -0
- data/scss/foundation/_settings.scss +1279 -0
- data/scss/foundation/components/_accordion.scss +52 -0
- data/scss/foundation/components/_alert-boxes.scss +126 -0
- data/scss/foundation/components/_block-grid.scss +132 -0
- data/scss/foundation/components/_breadcrumbs.scss +127 -0
- data/scss/foundation/components/_button-groups.scss +108 -0
- data/scss/foundation/components/_buttons.scss +222 -0
- data/scss/foundation/components/_clearing.scss +247 -0
- data/scss/foundation/components/_dropdown-buttons.scss +129 -0
- data/scss/foundation/components/_dropdown.scss +248 -0
- data/scss/foundation/components/_flex-video.scss +51 -0
- data/scss/foundation/components/_forms.scss +496 -0
- data/scss/foundation/components/_global.scss +365 -0
- data/scss/foundation/components/_grid.scss +261 -0
- data/scss/foundation/components/_inline-lists.scss +56 -0
- data/scss/foundation/components/_joyride.scss +220 -0
- data/scss/foundation/components/_keystrokes.scss +61 -0
- data/scss/foundation/components/_labels.scss +104 -0
- data/scss/foundation/components/_magellan.scss +34 -0
- data/scss/foundation/components/_offcanvas.scss +381 -0
- data/scss/foundation/components/_orbit.scss +415 -0
- data/scss/foundation/components/_pagination.scss +150 -0
- data/scss/foundation/components/_panels.scss +91 -0
- data/scss/foundation/components/_pricing-tables.scss +150 -0
- data/scss/foundation/components/_progress-bars.scss +79 -0
- data/scss/foundation/components/_range-slider.scss +148 -0
- data/scss/foundation/components/_reveal-new.scss +0 -0
- data/scss/foundation/components/_reveal.scss +216 -0
- data/scss/foundation/components/_side-nav.scss +93 -0
- data/scss/foundation/components/_split-buttons.scss +191 -0
- data/scss/foundation/components/_sub-nav.scss +125 -0
- data/scss/foundation/components/_switch.scss +294 -0
- data/scss/foundation/components/_tables.scss +97 -0
- data/scss/foundation/components/_tabs.scss +105 -0
- data/scss/foundation/components/_thumbs.scss +68 -0
- data/scss/foundation/components/_tooltips.scss +140 -0
- data/scss/foundation/components/_top-bar.scss +640 -0
- data/scss/foundation/components/_type.scss +493 -0
- data/scss/foundation/components/_visibility.scss +345 -0
- data/scss/foundation/test.html +0 -0
- data/scss/normalize.scss +423 -0
- data/spec/abide/abide.js +173 -0
- data/spec/abide/advanced.html +22 -0
- data/spec/abide/basic.html +13 -0
- data/spec/accordion/accordion.js +94 -0
- data/spec/accordion/basic.html +39 -0
- data/spec/accordion/grid.html +44 -0
- data/spec/accordion/multiexpand.html +20 -0
- data/spec/alert/alert.js +35 -0
- data/spec/alert/basic.html +4 -0
- data/spec/clearing/222.gif +0 -0
- data/spec/clearing/777.gif +0 -0
- data/spec/clearing/basic.html +5 -0
- data/spec/clearing/ccc.gif +0 -0
- data/spec/clearing/clearing.js +55 -0
- data/spec/dropdown/basic.html +10 -0
- data/spec/dropdown/dropdown.js +65 -0
- data/spec/equalizer/basic.html +24 -0
- data/spec/equalizer/equalizer.js +30 -0
- data/spec/framework/framework.js +14 -0
- data/spec/helpers.js +37 -0
- data/spec/interchange/basic.html +3 -0
- data/spec/interchange/interchange.js +60 -0
- data/spec/joyride/joyride.js +14 -0
- data/spec/magellan/magellan.js +14 -0
- data/spec/offcanvas/offcanvas.js +14 -0
- data/spec/orbit/orbit.js +14 -0
- data/spec/reveal/reveal.js +14 -0
- data/spec/tab/tab.js +14 -0
- data/spec/tooltip/tooltip.js +14 -0
- data/spec/topbar/multidropdown.html +60 -0
- data/spec/topbar/sticky.html +31 -0
- data/spec/topbar/topbar.js +96 -0
- metadata +238 -0
@@ -0,0 +1,493 @@
|
|
1
|
+
// Foundation by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
@import "global";
|
6
|
+
|
7
|
+
$include-html-type-classes: $include-html-classes !default;
|
8
|
+
|
9
|
+
// We use these to control header font styles
|
10
|
+
$header-font-family: $body-font-family !default;
|
11
|
+
$header-font-weight: normal !default;
|
12
|
+
$header-font-style: normal !default;
|
13
|
+
$header-font-color: #222 !default;
|
14
|
+
$header-line-height: 1.4 !default;
|
15
|
+
$header-top-margin: .2rem !default;
|
16
|
+
$header-bottom-margin: .5rem !default;
|
17
|
+
$header-text-rendering: optimizeLegibility !default;
|
18
|
+
|
19
|
+
// We use these to control header font sizes
|
20
|
+
$h1-font-size: rem-calc(44) !default;
|
21
|
+
$h2-font-size: rem-calc(37) !default;
|
22
|
+
$h3-font-size: rem-calc(27) !default;
|
23
|
+
$h4-font-size: rem-calc(23) !default;
|
24
|
+
$h5-font-size: rem-calc(18) !default;
|
25
|
+
$h6-font-size: 1rem !default;
|
26
|
+
|
27
|
+
// These control how subheaders are styled.
|
28
|
+
$subheader-line-height: 1.4 !default;
|
29
|
+
$subheader-font-color: scale-color($header-font-color, $lightness: 35%) !default;
|
30
|
+
$subheader-font-weight: normal !default;
|
31
|
+
$subheader-top-margin: .2rem !default;
|
32
|
+
$subheader-bottom-margin: .5rem !default;
|
33
|
+
|
34
|
+
// A general <small> styling
|
35
|
+
$small-font-size: 60% !default;
|
36
|
+
$small-font-color: scale-color($header-font-color, $lightness: 35%) !default;
|
37
|
+
|
38
|
+
// We use these to style paragraphs
|
39
|
+
$paragraph-font-family: inherit !default;
|
40
|
+
$paragraph-font-weight: normal !default;
|
41
|
+
$paragraph-font-size: 1rem !default;
|
42
|
+
$paragraph-line-height: 1.6 !default;
|
43
|
+
$paragraph-margin-bottom: rem-calc(20) !default;
|
44
|
+
$paragraph-aside-font-size: rem-calc(14) !default;
|
45
|
+
$paragraph-aside-line-height: 1.35 !default;
|
46
|
+
$paragraph-aside-font-style: italic !default;
|
47
|
+
$paragraph-text-rendering: optimizeLegibility !default;
|
48
|
+
|
49
|
+
// We use these to style <code> tags
|
50
|
+
$code-color: scale-color($alert-color, $lightness: -27%) !default;
|
51
|
+
$code-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
|
52
|
+
$code-font-weight: bold !default;
|
53
|
+
|
54
|
+
// We use these to style anchors
|
55
|
+
$anchor-text-decoration: none !default;
|
56
|
+
$anchor-font-color: $primary-color !default;
|
57
|
+
$anchor-font-color-hover: scale-color($anchor-font-color, $lightness: -14%) !default;
|
58
|
+
|
59
|
+
// We use these to style the <hr> element
|
60
|
+
$hr-border-width: 1px !default;
|
61
|
+
$hr-border-style: solid !default;
|
62
|
+
$hr-border-color: #ddd !default;
|
63
|
+
$hr-margin: rem-calc(20) !default;
|
64
|
+
|
65
|
+
// We use these to style lists
|
66
|
+
$list-style-position: outside !default;
|
67
|
+
$list-side-margin: 1.1rem !default;
|
68
|
+
$list-ordered-side-margin: 1.4rem !default;
|
69
|
+
$list-side-margin-no-bullet: 0 !default;
|
70
|
+
$list-nested-margin: rem-calc(20) !default;
|
71
|
+
$definition-list-header-weight: bold !default;
|
72
|
+
$definition-list-header-margin-bottom: .3rem !default;
|
73
|
+
$definition-list-margin-bottom: rem-calc(12) !default;
|
74
|
+
|
75
|
+
// We use these to style blockquotes
|
76
|
+
$blockquote-font-color: scale-color($header-font-color, $lightness: 35%) !default;
|
77
|
+
$blockquote-padding: rem-calc(9 20 0 19) !default;
|
78
|
+
$blockquote-border: 1px solid #ddd !default;
|
79
|
+
$blockquote-cite-font-size: rem-calc(13) !default;
|
80
|
+
$blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%) !default;
|
81
|
+
$blockquote-cite-link-color: $blockquote-cite-font-color !default;
|
82
|
+
|
83
|
+
// Acronym styles
|
84
|
+
$acronym-underline: 1px dotted #ddd !default;
|
85
|
+
|
86
|
+
// We use these to control padding and margin
|
87
|
+
$microformat-padding: rem-calc(10 12) !default;
|
88
|
+
$microformat-margin: rem-calc(0 0 20 0) !default;
|
89
|
+
|
90
|
+
// We use these to control the border styles
|
91
|
+
$microformat-border-width: 1px !default;
|
92
|
+
$microformat-border-style: solid !default;
|
93
|
+
$microformat-border-color: #ddd !default;
|
94
|
+
|
95
|
+
// We use these to control full name font styles
|
96
|
+
$microformat-fullname-font-weight: bold !default;
|
97
|
+
$microformat-fullname-font-size: rem-calc(15) !default;
|
98
|
+
|
99
|
+
// We use this to control the summary font styles
|
100
|
+
$microformat-summary-font-weight: bold !default;
|
101
|
+
|
102
|
+
// We use this to control abbr padding
|
103
|
+
$microformat-abbr-padding: rem-calc(0 1) !default;
|
104
|
+
|
105
|
+
// We use this to control abbr font styles
|
106
|
+
$microformat-abbr-font-weight: bold !default;
|
107
|
+
$microformat-abbr-font-decoration: none !default;
|
108
|
+
|
109
|
+
// Text alignment class names
|
110
|
+
$align-class-names:
|
111
|
+
small-only,
|
112
|
+
small,
|
113
|
+
medium-only,
|
114
|
+
medium,
|
115
|
+
large-only,
|
116
|
+
large,
|
117
|
+
xlarge-only,
|
118
|
+
xlarge,
|
119
|
+
xxlarge-only,
|
120
|
+
xxlarge;
|
121
|
+
|
122
|
+
// Text alignment breakpoints
|
123
|
+
$align-class-breakpoints:
|
124
|
+
$small-only,
|
125
|
+
$small-up,
|
126
|
+
$medium-only,
|
127
|
+
$medium-up,
|
128
|
+
$large-only,
|
129
|
+
$large-up,
|
130
|
+
$xlarge-only,
|
131
|
+
$xlarge-up,
|
132
|
+
$xxlarge-only,
|
133
|
+
$xxlarge-up;
|
134
|
+
|
135
|
+
// Generates text align and justify classes
|
136
|
+
@mixin align-classes{
|
137
|
+
.text-left { text-align: left !important; }
|
138
|
+
.text-right { text-align: right !important; }
|
139
|
+
.text-center { text-align: center !important; }
|
140
|
+
.text-justify { text-align: justify !important; }
|
141
|
+
|
142
|
+
@for $i from 1 through length($align-class-names) {
|
143
|
+
@media #{(nth($align-class-breakpoints, $i))} {
|
144
|
+
.#{(nth($align-class-names, $i))}-text-left { text-align: left !important; }
|
145
|
+
.#{(nth($align-class-names, $i))}-text-right { text-align: right !important; }
|
146
|
+
.#{(nth($align-class-names, $i))}-text-center { text-align: center !important; }
|
147
|
+
.#{(nth($align-class-names, $i))}-text-justify { text-align: justify !important; }
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
//
|
153
|
+
// Typography Placeholders
|
154
|
+
//
|
155
|
+
|
156
|
+
// These will throw a deprecation warning if used within a media query.
|
157
|
+
@mixin lead {
|
158
|
+
font-size: $paragraph-font-size + rem-calc(3.5);
|
159
|
+
line-height: 1.6;
|
160
|
+
}
|
161
|
+
|
162
|
+
@mixin subheader {
|
163
|
+
line-height: $subheader-line-height;
|
164
|
+
color: $subheader-font-color;
|
165
|
+
font-weight: $subheader-font-weight;
|
166
|
+
margin-top: $subheader-top-margin;
|
167
|
+
margin-bottom: $subheader-bottom-margin;
|
168
|
+
}
|
169
|
+
@include exports("type") {
|
170
|
+
@if $include-html-type-classes {
|
171
|
+
// Responsive Text alignment
|
172
|
+
@include align-classes;
|
173
|
+
|
174
|
+
/* Typography resets */
|
175
|
+
div,
|
176
|
+
dl,
|
177
|
+
dt,
|
178
|
+
dd,
|
179
|
+
ul,
|
180
|
+
ol,
|
181
|
+
li,
|
182
|
+
h1,
|
183
|
+
h2,
|
184
|
+
h3,
|
185
|
+
h4,
|
186
|
+
h5,
|
187
|
+
h6,
|
188
|
+
pre,
|
189
|
+
form,
|
190
|
+
p,
|
191
|
+
blockquote,
|
192
|
+
th,
|
193
|
+
td {
|
194
|
+
margin:0;
|
195
|
+
padding:0;
|
196
|
+
}
|
197
|
+
|
198
|
+
/* Default Link Styles */
|
199
|
+
a {
|
200
|
+
color: $anchor-font-color;
|
201
|
+
text-decoration: $anchor-text-decoration;
|
202
|
+
line-height: inherit;
|
203
|
+
|
204
|
+
&:hover,
|
205
|
+
&:focus { color: $anchor-font-color-hover; }
|
206
|
+
|
207
|
+
img { border:none; }
|
208
|
+
}
|
209
|
+
|
210
|
+
/* Default paragraph styles */
|
211
|
+
p {
|
212
|
+
font-family: $paragraph-font-family;
|
213
|
+
font-weight: $paragraph-font-weight;
|
214
|
+
font-size: $paragraph-font-size;
|
215
|
+
line-height: $paragraph-line-height;
|
216
|
+
margin-bottom: $paragraph-margin-bottom;
|
217
|
+
text-rendering: $paragraph-text-rendering;
|
218
|
+
|
219
|
+
&.lead { @include lead; }
|
220
|
+
|
221
|
+
& aside {
|
222
|
+
font-size: $paragraph-aside-font-size;
|
223
|
+
line-height: $paragraph-aside-line-height;
|
224
|
+
font-style: $paragraph-aside-font-style;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
/* Default header styles */
|
229
|
+
h1, h2, h3, h4, h5, h6 {
|
230
|
+
font-family: $header-font-family;
|
231
|
+
font-weight: $header-font-weight;
|
232
|
+
font-style: $header-font-style;
|
233
|
+
color: $header-font-color;
|
234
|
+
text-rendering: $header-text-rendering;
|
235
|
+
margin-top: $header-top-margin;
|
236
|
+
margin-bottom: $header-bottom-margin;
|
237
|
+
line-height: $header-line-height;
|
238
|
+
|
239
|
+
small {
|
240
|
+
font-size: $small-font-size;
|
241
|
+
color: $small-font-color;
|
242
|
+
line-height: 0;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
|
246
|
+
h1 { font-size: $h1-font-size - rem-calc(10); }
|
247
|
+
h2 { font-size: $h2-font-size - rem-calc(10); }
|
248
|
+
h3 { font-size: $h3-font-size - rem-calc(5); }
|
249
|
+
h4 { font-size: $h4-font-size - rem-calc(5); }
|
250
|
+
h5 { font-size: $h5-font-size; }
|
251
|
+
h6 { font-size: $h6-font-size; }
|
252
|
+
|
253
|
+
.subheader { @include subheader; }
|
254
|
+
|
255
|
+
hr {
|
256
|
+
border: $hr-border-style $hr-border-color;
|
257
|
+
border-width: $hr-border-width 0 0;
|
258
|
+
clear: both;
|
259
|
+
margin: $hr-margin 0 ($hr-margin - rem-calc($hr-border-width));
|
260
|
+
height: 0;
|
261
|
+
}
|
262
|
+
|
263
|
+
/* Helpful Typography Defaults */
|
264
|
+
em,
|
265
|
+
i {
|
266
|
+
font-style: italic;
|
267
|
+
line-height: inherit;
|
268
|
+
}
|
269
|
+
|
270
|
+
strong,
|
271
|
+
b {
|
272
|
+
font-weight: bold;
|
273
|
+
line-height: inherit;
|
274
|
+
}
|
275
|
+
|
276
|
+
small {
|
277
|
+
font-size: $small-font-size;
|
278
|
+
line-height: inherit;
|
279
|
+
}
|
280
|
+
|
281
|
+
code {
|
282
|
+
font-family: $code-font-family;
|
283
|
+
font-weight: $code-font-weight;
|
284
|
+
color: $code-color;
|
285
|
+
}
|
286
|
+
|
287
|
+
/* Lists */
|
288
|
+
ul,
|
289
|
+
ol,
|
290
|
+
dl {
|
291
|
+
font-size: $paragraph-font-size;
|
292
|
+
line-height: $paragraph-line-height;
|
293
|
+
margin-bottom: $paragraph-margin-bottom;
|
294
|
+
list-style-position: $list-style-position;
|
295
|
+
font-family: $paragraph-font-family;
|
296
|
+
}
|
297
|
+
|
298
|
+
ul {
|
299
|
+
margin-#{$default-float}: $list-side-margin;
|
300
|
+
&.no-bullet {
|
301
|
+
margin-#{$default-float}: $list-side-margin-no-bullet;
|
302
|
+
li {
|
303
|
+
ul,
|
304
|
+
ol {
|
305
|
+
margin-#{$default-float}: $list-nested-margin;
|
306
|
+
margin-bottom: 0;
|
307
|
+
list-style: none;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
}
|
311
|
+
}
|
312
|
+
|
313
|
+
/* Unordered Lists */
|
314
|
+
ul {
|
315
|
+
li {
|
316
|
+
ul,
|
317
|
+
ol {
|
318
|
+
margin-#{$default-float}: $list-nested-margin;
|
319
|
+
margin-bottom: 0;
|
320
|
+
}
|
321
|
+
}
|
322
|
+
&.square,
|
323
|
+
&.circle,
|
324
|
+
&.disc {
|
325
|
+
li ul { list-style: inherit; }
|
326
|
+
}
|
327
|
+
|
328
|
+
&.square { list-style-type: square; margin-#{$default-float}: $list-side-margin;}
|
329
|
+
&.circle { list-style-type: circle; margin-#{$default-float}: $list-side-margin;}
|
330
|
+
&.disc { list-style-type: disc; margin-#{$default-float}: $list-side-margin;}
|
331
|
+
&.no-bullet { list-style: none; }
|
332
|
+
}
|
333
|
+
|
334
|
+
/* Ordered Lists */
|
335
|
+
ol {
|
336
|
+
margin-#{$default-float}: $list-ordered-side-margin;
|
337
|
+
li {
|
338
|
+
ul,
|
339
|
+
ol {
|
340
|
+
margin-#{$default-float}: $list-nested-margin;
|
341
|
+
margin-bottom: 0;
|
342
|
+
}
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
/* Definition Lists */
|
347
|
+
dl {
|
348
|
+
dt {
|
349
|
+
margin-bottom: $definition-list-header-margin-bottom;
|
350
|
+
font-weight: $definition-list-header-weight;
|
351
|
+
}
|
352
|
+
dd { margin-bottom: $definition-list-margin-bottom; }
|
353
|
+
}
|
354
|
+
|
355
|
+
/* Abbreviations */
|
356
|
+
abbr,
|
357
|
+
acronym {
|
358
|
+
text-transform: uppercase;
|
359
|
+
font-size: 90%;
|
360
|
+
color: $body-font-color;
|
361
|
+
border-bottom: $acronym-underline;
|
362
|
+
cursor: $cursor-help-value;
|
363
|
+
}
|
364
|
+
abbr {
|
365
|
+
text-transform: none;
|
366
|
+
}
|
367
|
+
|
368
|
+
/* Blockquotes */
|
369
|
+
blockquote {
|
370
|
+
margin: 0 0 $paragraph-margin-bottom;
|
371
|
+
padding: $blockquote-padding;
|
372
|
+
border-#{$default-float}: $blockquote-border;
|
373
|
+
|
374
|
+
cite {
|
375
|
+
display: block;
|
376
|
+
font-size: $blockquote-cite-font-size;
|
377
|
+
color: $blockquote-cite-font-color;
|
378
|
+
&:before {
|
379
|
+
content: "\2014 \0020";
|
380
|
+
}
|
381
|
+
|
382
|
+
a,
|
383
|
+
a:visited {
|
384
|
+
color: $blockquote-cite-link-color;
|
385
|
+
}
|
386
|
+
}
|
387
|
+
}
|
388
|
+
blockquote,
|
389
|
+
blockquote p {
|
390
|
+
line-height: $paragraph-line-height;
|
391
|
+
color: $blockquote-font-color;
|
392
|
+
}
|
393
|
+
|
394
|
+
/* Microformats */
|
395
|
+
.vcard {
|
396
|
+
display: inline-block;
|
397
|
+
margin: $microformat-margin;
|
398
|
+
border: $microformat-border-width $microformat-border-style $microformat-border-color;
|
399
|
+
padding: $microformat-padding;
|
400
|
+
|
401
|
+
li {
|
402
|
+
margin: 0;
|
403
|
+
display: block;
|
404
|
+
}
|
405
|
+
.fn {
|
406
|
+
font-weight: $microformat-fullname-font-weight;
|
407
|
+
font-size: $microformat-fullname-font-size;
|
408
|
+
}
|
409
|
+
}
|
410
|
+
|
411
|
+
.vevent {
|
412
|
+
.summary { font-weight: $microformat-summary-font-weight; }
|
413
|
+
|
414
|
+
abbr {
|
415
|
+
cursor: $cursor-default-value;
|
416
|
+
text-decoration: $microformat-abbr-font-decoration;
|
417
|
+
font-weight: $microformat-abbr-font-weight;
|
418
|
+
border: none;
|
419
|
+
padding: $microformat-abbr-padding;
|
420
|
+
}
|
421
|
+
}
|
422
|
+
|
423
|
+
|
424
|
+
@media #{$medium-up} {
|
425
|
+
h1,h2,h3,h4,h5,h6 { line-height: $header-line-height; }
|
426
|
+
h1 { font-size: $h1-font-size; }
|
427
|
+
h2 { font-size: $h2-font-size; }
|
428
|
+
h3 { font-size: $h3-font-size; }
|
429
|
+
h4 { font-size: $h4-font-size; }
|
430
|
+
}
|
431
|
+
|
432
|
+
// Only include these styles if you want them.
|
433
|
+
@if $include-print-styles {
|
434
|
+
/*
|
435
|
+
* Print styles.
|
436
|
+
*
|
437
|
+
* Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
|
438
|
+
* Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
|
439
|
+
*/
|
440
|
+
.print-only { display: none !important; }
|
441
|
+
@media print {
|
442
|
+
* {
|
443
|
+
background: transparent !important;
|
444
|
+
color: #000 !important; /* Black prints faster: h5bp.com/s */
|
445
|
+
box-shadow: none !important;
|
446
|
+
text-shadow: none !important;
|
447
|
+
}
|
448
|
+
|
449
|
+
a,
|
450
|
+
a:visited { text-decoration: underline;}
|
451
|
+
a[href]:after { content: " (" attr(href) ")"; }
|
452
|
+
|
453
|
+
abbr[title]:after { content: " (" attr(title) ")"; }
|
454
|
+
|
455
|
+
// Don't show links for images, or javascript/internal links
|
456
|
+
.ir a:after,
|
457
|
+
a[href^="javascript:"]:after,
|
458
|
+
a[href^="#"]:after { content: ""; }
|
459
|
+
|
460
|
+
pre,
|
461
|
+
blockquote {
|
462
|
+
border: 1px solid #999;
|
463
|
+
page-break-inside: avoid;
|
464
|
+
}
|
465
|
+
|
466
|
+
thead { display: table-header-group; /* h5bp.com/t */ }
|
467
|
+
|
468
|
+
tr,
|
469
|
+
img { page-break-inside: avoid; }
|
470
|
+
|
471
|
+
img { max-width: 100% !important; }
|
472
|
+
|
473
|
+
@page { margin: 0.5cm; }
|
474
|
+
|
475
|
+
p,
|
476
|
+
h2,
|
477
|
+
h3 {
|
478
|
+
orphans: 3;
|
479
|
+
widows: 3;
|
480
|
+
}
|
481
|
+
|
482
|
+
h2,
|
483
|
+
h3 { page-break-after: avoid; }
|
484
|
+
|
485
|
+
.hide-on-print { display: none !important; }
|
486
|
+
.print-only { display: block !important; }
|
487
|
+
.hide-for-print { display: none !important; }
|
488
|
+
.show-for-print { display: inherit !important; }
|
489
|
+
}
|
490
|
+
}
|
491
|
+
|
492
|
+
}
|
493
|
+
}
|