droidcss 1.2.7 → 2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 588c03223d0453134c9f6492aa6eb25532bee883
4
- data.tar.gz: 1678f06adda3b3bb0b4370403dcb9f59da8a198c
3
+ metadata.gz: 2e3271e38e0c0bbf485812244ed129c6f3aeebe6
4
+ data.tar.gz: f090877d52cc48afda65e45eb86a4f40e98978d0
5
5
  SHA512:
6
- metadata.gz: 048bd544a0d20555904570c2dda3ef02a929535a211ac2b58004a324efe1ba503c6e7b2499001b3e113216776f14dbde1fdaaedfbafc2fd68b7ed4e37ae686c9
7
- data.tar.gz: 637111d2d6f13162b424eaa257d87daac9f43ba97c14738c9e22036abeaa4a32cdc72e3c397e8bc535eb89caf3b396a30764e791808c3482352834247e80c6e9
6
+ metadata.gz: 5e3fe0116d42f2c4e59df24be62b6871ec1a875160b4b44b8dfbe5ab93ce66d3ccd3c9764efcd7f1300b94433799a1006f17105f295f7cbaae047dbc53851636
7
+ data.tar.gz: fe4f9b3bb28141d4347e4c5c4b49ea645c7c4b7137e05ea967f8ea6c854839b0d0526198670469ce4c4f4048c77461eadec9d5e9432e8567b54b1e41bca46f02
data/.gitignore CHANGED
@@ -1,4 +1,6 @@
1
1
  .DS_Store
2
2
  pkg/*
3
3
  tmp
4
- .bundle
4
+ .bundle
5
+ .sass-cache
6
+ config.codekit
@@ -1,3 +1,3 @@
1
1
  module DroidCss
2
- VERSION = "1.2.7"
2
+ VERSION = "2.0"
3
3
  end
@@ -2,7 +2,7 @@
2
2
  @import 'droidcss/partials/setup';
3
3
 
4
4
  // Adding reset
5
- @import 'droidcss/partials/reset';
5
+ @import 'droidcss/partials/normalize';
6
6
 
7
7
  // Adding default styles
8
8
  @import 'droidcss/partials/defaults';
@@ -0,0 +1,68 @@
1
+ // Framework grid generation
2
+
3
+ // Let's do some loops!
4
+ @mixin make-grid-columns($i: 1, $list: ".col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}") {
5
+ @for $i from (1 + 1) through $grid-columns {
6
+ $list: "#{$list}, .col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}";
7
+ }
8
+ #{$list} {
9
+ // Prevent columns from collapsing when empty
10
+ min-height: 1px;
11
+ letter-spacing: normal;
12
+ display: inline-block;
13
+ vertical-align: top;
14
+ // Inner gutter via padding
15
+ padding-left: ($grid-gutter-width / 2);
16
+ padding-right: ($grid-gutter-width / 2);
17
+ @include box-sizing(border-box);
18
+ }
19
+ }
20
+
21
+
22
+ @mixin calc-grid-column($index, $class, $type) {
23
+ @if ($type == width) and ($index > 0) {
24
+ .col-#{$class}-#{$index} {
25
+ width: percentage(($index / $grid-columns));
26
+ }
27
+ }
28
+ @if ($type == push) and ($index > 0) {
29
+ .col-#{$class}-push-#{$index} {
30
+ left: percentage(($index / $grid-columns));
31
+ }
32
+ }
33
+ @if ($type == push) and ($index == 0) {
34
+ .col-#{$class}-push-0 {
35
+ left: auto;
36
+ }
37
+ }
38
+ @if ($type == pull) and ($index > 0) {
39
+ .col-#{$class}-pull-#{$index} {
40
+ right: percentage(($index / $grid-columns));
41
+ }
42
+ }
43
+ @if ($type == pull) and ($index == 0) {
44
+ .col-#{$class}-pull-0 {
45
+ right: auto;
46
+ }
47
+ }
48
+ @if ($type == offset) {
49
+ .col-#{$class}-offset-#{$index} {
50
+ margin-left: percentage(($index / $grid-columns));
51
+ }
52
+ }
53
+ }
54
+
55
+ // Let's do some loops!
56
+ @mixin loop-grid-columns($columns, $class, $type) {
57
+ @for $i from 0 through $columns {
58
+ @include calc-grid-column($i, $class, $type);
59
+ }
60
+ }
61
+
62
+ // Create grid for specific class
63
+ @mixin make-grid($class) {
64
+ @include loop-grid-columns($grid-columns, $class, width);
65
+ @include loop-grid-columns($grid-columns, $class, pull);
66
+ @include loop-grid-columns($grid-columns, $class, push);
67
+ @include loop-grid-columns($grid-columns, $class, offset);
68
+ }
@@ -0,0 +1,193 @@
1
+ //
2
+ // Responsive: Utility classes
3
+ // --------------------------------------------------
4
+
5
+ // Responsive utilities
6
+
7
+ //
8
+ // More easily include all the states for responsive-utilities.less.
9
+ // [converter] $parent hack
10
+ @mixin responsive-visibility($parent) {
11
+ #{$parent} {
12
+ display: block !important;
13
+ }
14
+ }
15
+
16
+ // [converter] $parent hack
17
+ @mixin responsive-invisibility($parent) {
18
+ #{$parent} {
19
+ display: none !important;
20
+ }
21
+ }
22
+
23
+ // IE10 in Windows (Phone) 8
24
+ //
25
+ // Support for responsive views via media queries is kind of borked in IE10, for
26
+ // Surface/desktop in split view and for Windows Phone 8. This particular fix
27
+ // must be accompanied by a snippet of JavaScript to sniff the user agent and
28
+ // apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
29
+ // our Getting Started page for more information on this bug.
30
+ //
31
+ // For more information, see the following:
32
+ //
33
+ // Issue: https://github.com/twbs/bootstrap/issues/10497
34
+ // Docs: http://getbootstrap.com/getting-started/#support-ie10-width
35
+ // Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
36
+ // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
37
+
38
+ @-ms-viewport {
39
+ width: device-width;
40
+ }
41
+
42
+
43
+ // Visibility utilities
44
+ // Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0
45
+
46
+ @include responsive-invisibility('.visible-xs');
47
+ @include responsive-invisibility('.visible-sm');
48
+ @include responsive-invisibility('.visible-md');
49
+ @include responsive-invisibility('.visible-lg');
50
+
51
+ .visible-xs-block,
52
+ .visible-xs-inline,
53
+ .visible-xs-inline-block,
54
+ .visible-sm-block,
55
+ .visible-sm-inline,
56
+ .visible-sm-inline-block,
57
+ .visible-md-block,
58
+ .visible-md-inline,
59
+ .visible-md-inline-block,
60
+ .visible-lg-block,
61
+ .visible-lg-inline,
62
+ .visible-lg-inline-block {
63
+ display: none !important;
64
+ }
65
+
66
+ @media (max-width: $screen-xs-max) {
67
+ @include responsive-visibility('.visible-xs');
68
+ }
69
+ .visible-xs-block {
70
+ @media (max-width: $screen-xs-max) {
71
+ display: block !important;
72
+ }
73
+ }
74
+ .visible-xs-inline {
75
+ @media (max-width: $screen-xs-max) {
76
+ display: inline !important;
77
+ }
78
+ }
79
+ .visible-xs-inline-block {
80
+ @media (max-width: $screen-xs-max) {
81
+ display: inline-block !important;
82
+ }
83
+ }
84
+
85
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
86
+ @include responsive-visibility('.visible-sm');
87
+ }
88
+ .visible-sm-block {
89
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
90
+ display: block !important;
91
+ }
92
+ }
93
+ .visible-sm-inline {
94
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
95
+ display: inline !important;
96
+ }
97
+ }
98
+ .visible-sm-inline-block {
99
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
100
+ display: inline-block !important;
101
+ }
102
+ }
103
+
104
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
105
+ @include responsive-visibility('.visible-md');
106
+ }
107
+ .visible-md-block {
108
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
109
+ display: block !important;
110
+ }
111
+ }
112
+ .visible-md-inline {
113
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
114
+ display: inline !important;
115
+ }
116
+ }
117
+ .visible-md-inline-block {
118
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
119
+ display: inline-block !important;
120
+ }
121
+ }
122
+
123
+ @media (min-width: $screen-lg-min) {
124
+ @include responsive-visibility('.visible-lg');
125
+ }
126
+ .visible-lg-block {
127
+ @media (min-width: $screen-lg-min) {
128
+ display: block !important;
129
+ }
130
+ }
131
+ .visible-lg-inline {
132
+ @media (min-width: $screen-lg-min) {
133
+ display: inline !important;
134
+ }
135
+ }
136
+ .visible-lg-inline-block {
137
+ @media (min-width: $screen-lg-min) {
138
+ display: inline-block !important;
139
+ }
140
+ }
141
+
142
+ @media (max-width: $screen-xs-max) {
143
+ @include responsive-invisibility('.hidden-xs');
144
+ }
145
+
146
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
147
+ @include responsive-invisibility('.hidden-sm');
148
+ }
149
+
150
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
151
+ @include responsive-invisibility('.hidden-md');
152
+ }
153
+
154
+ @media (min-width: $screen-lg-min) {
155
+ @include responsive-invisibility('.hidden-lg');
156
+ }
157
+
158
+ // Print utilities
159
+ //
160
+ // Media queries are placed on the inside to be mixin-friendly.
161
+
162
+ // Note: Deprecated .visible-print as of v3.2.0
163
+
164
+ @include responsive-invisibility('.visible-print');
165
+
166
+ @media print {
167
+ @include responsive-visibility('.visible-print');
168
+ }
169
+ .visible-print-block {
170
+ display: none !important;
171
+
172
+ @media print {
173
+ display: block !important;
174
+ }
175
+ }
176
+ .visible-print-inline {
177
+ display: none !important;
178
+
179
+ @media print {
180
+ display: inline !important;
181
+ }
182
+ }
183
+ .visible-print-inline-block {
184
+ display: none !important;
185
+
186
+ @media print {
187
+ display: inline-block !important;
188
+ }
189
+ }
190
+
191
+ @media print {
192
+ @include responsive-invisibility('.hidden-print');
193
+ }
@@ -0,0 +1,125 @@
1
+ // Grid system
2
+ //
3
+ // Generate semantic grid columns with these mixins.
4
+
5
+ // Centered container element
6
+ @mixin container-fixed($gutter: $grid-gutter-width) {
7
+ margin-right: auto;
8
+ margin-left: auto;
9
+ padding-left: ($gutter / 2);
10
+ padding-right: ($gutter / 2);
11
+ letter-spacing: -.65em;
12
+ @include clearfix;
13
+ }
14
+
15
+ // Creates a wrapper for a series of columns
16
+ @mixin make-row($gutter: $grid-gutter-width) {
17
+ margin-left: ($gutter / -2);
18
+ margin-right: ($gutter / -2);
19
+ letter-spacing: -.65em;
20
+ @include clearfix;
21
+ }
22
+
23
+ // Generate the extra small columns
24
+ @mixin make-xs-column($columns, $gutter: $grid-gutter-width) {
25
+ display: inline-block;
26
+ letter-spacing: normal;
27
+ width: percentage(($columns / $grid-columns));
28
+ min-height: 1px;
29
+ padding-left: ($gutter / 2);
30
+ padding-right: ($gutter / 2);
31
+ }
32
+ @mixin make-xs-column-offset($columns) {
33
+ margin-left: percentage(($columns / $grid-columns));
34
+ }
35
+ @mixin make-xs-column-push($columns) {
36
+ left: percentage(($columns / $grid-columns));
37
+ }
38
+ @mixin make-xs-column-pull($columns) {
39
+ right: percentage(($columns / $grid-columns));
40
+ }
41
+
42
+ // Generate the small columns
43
+ @mixin make-sm-column($columns, $gutter: $grid-gutter-width) {
44
+ min-height: 1px;
45
+ letter-spacing: normal;
46
+ padding-left: ($gutter / 2);
47
+ padding-right: ($gutter / 2);
48
+
49
+ @media (min-width: $screen-sm-min) {
50
+ float: left;
51
+ width: percentage(($columns / $grid-columns));
52
+ }
53
+ }
54
+ @mixin make-sm-column-offset($columns) {
55
+ @media (min-width: $screen-sm-min) {
56
+ margin-left: percentage(($columns / $grid-columns));
57
+ }
58
+ }
59
+ @mixin make-sm-column-push($columns) {
60
+ @media (min-width: $screen-sm-min) {
61
+ left: percentage(($columns / $grid-columns));
62
+ }
63
+ }
64
+ @mixin make-sm-column-pull($columns) {
65
+ @media (min-width: $screen-sm-min) {
66
+ right: percentage(($columns / $grid-columns));
67
+ }
68
+ }
69
+
70
+ // Generate the medium columns
71
+ @mixin make-md-column($columns, $gutter: $grid-gutter-width) {
72
+ min-height: 1px;
73
+ letter-spacing: normal;
74
+ padding-left: ($gutter / 2);
75
+ padding-right: ($gutter / 2);
76
+
77
+ @media (min-width: $screen-md-min) {
78
+ float: left;
79
+ width: percentage(($columns / $grid-columns));
80
+ }
81
+ }
82
+ @mixin make-md-column-offset($columns) {
83
+ @media (min-width: $screen-md-min) {
84
+ margin-left: percentage(($columns / $grid-columns));
85
+ }
86
+ }
87
+ @mixin make-md-column-push($columns) {
88
+ @media (min-width: $screen-md-min) {
89
+ left: percentage(($columns / $grid-columns));
90
+ }
91
+ }
92
+ @mixin make-md-column-pull($columns) {
93
+ @media (min-width: $screen-md-min) {
94
+ right: percentage(($columns / $grid-columns));
95
+ }
96
+ }
97
+
98
+ // Generate the large columns
99
+ @mixin make-lg-column($columns, $gutter: $grid-gutter-width) {
100
+ min-height: 1px;
101
+ letter-spacing: normal;
102
+ padding-left: ($gutter / 2);
103
+ padding-right: ($gutter / 2);
104
+
105
+ @media (min-width: $screen-lg-min) {
106
+ float: left;
107
+ width: percentage(($columns / $grid-columns));
108
+ }
109
+ }
110
+ @mixin make-lg-column-offset($columns) {
111
+ @media (min-width: $screen-lg-min) {
112
+ margin-left: percentage(($columns / $grid-columns));
113
+ }
114
+ }
115
+ @mixin make-lg-column-push($columns) {
116
+ @media (min-width: $screen-lg-min) {
117
+ left: percentage(($columns / $grid-columns));
118
+ }
119
+ }
120
+ @mixin make-lg-column-pull($columns) {
121
+ @media (min-width: $screen-lg-min) {
122
+ right: percentage(($columns / $grid-columns));
123
+ }
124
+ }
125
+
@@ -1,135 +1,89 @@
1
- @function contentWidth($num) {
2
- @if (unit($gutterWidth) == "%") {
3
- @return 100% * ($num/$columnsCount) - 2 * $gutterWidth;
4
- } @else {
5
- @return 100% * ($num/$columnsCount);
6
- }
7
- }
1
+ @import 'droidcss/mixins/grid';
2
+ @import 'droidcss/mixins/grid-framework';
3
+
4
+ //
5
+ // Grid system
6
+ // --------------------------------------------------
7
+
8
+
9
+ // Container widths
10
+ //
11
+ // Set the container width, and override it for fixed navbars in media queries.
8
12
 
9
- @function contentWidthOffset($num) {
10
- @if (unit($gutterWidth) == "%") {
11
- @return 100% * ($num/$columnsCount) + 1 * $gutterWidth;
12
- } @else {
13
- @return 100% * ($num/$columnsCount);
13
+ .container {
14
+ @include container-fixed;
15
+
16
+ @media (min-width: $screen-sm-min) {
17
+ width: $container-sm;
18
+ }
19
+ @media (min-width: $screen-md-min) {
20
+ width: $container-md;
21
+ }
22
+ @media (min-width: $screen-lg-min) {
23
+ width: $container-lg;
14
24
  }
15
25
  }
16
26
 
17
- .grid-container {
18
- max-width: $gridWidth;
19
- margin-left: auto;
20
- margin-right: auto;
21
- letter-spacing: -4px;
27
+
28
+ // Fluid container
29
+ //
30
+ // Utilizes the mixin meant for fixed width containers, but without any defined
31
+ // width for fluid, full width layouts.
32
+
33
+ .container-fluid {
34
+ @include container-fixed;
22
35
  }
23
36
 
37
+
38
+ // Row
39
+ //
40
+ // Rows contain and clear the floats of your columns.
41
+
24
42
  .row {
25
- margin-right: -$gutterWidth;
26
- margin-left: -$gutterWidth;
27
- letter-spacing: -4px;
43
+ @include make-row;
28
44
  }
29
45
 
30
- %grid-settings {
31
- #{$gutterType}-left: $gutterWidth;
32
- #{$gutterType}-right: $gutterWidth;
33
- display: inline-block;
34
- vertical-align: top;
35
- min-height: 1px;
36
- letter-spacing: 0;
37
- @include box-sizing(border-box);
38
- }
39
46
 
40
- %position-relative {
41
- position: relative;
42
- }
47
+ // Columns
48
+ //
49
+ // Common styles for small and large grid columns
43
50
 
44
- @for $i from 1 through $columnsCount {
45
- $num: $i;
46
- .grid-#{$num} {
47
- @extend %grid-settings;
48
- }
49
- .push-#{$num}, .pull-#{$num} {
50
- @extend %position-relative;
51
- }
52
- }
51
+ @include make-grid-columns;
53
52
 
54
- @for $i from 1 through $columnsCount {
55
- $num: $i;
56
- $contentWidth: contentWidth($num);
57
- $contentWidthOffset: contentWidthOffset($num);
58
- .grid-#{$num} { width: $contentWidth; }
59
- .prefix-#{$num} { #{$gutterType}-left: $contentWidthOffset; }
60
- .suffix-#{$num} { #{$gutterType}-right: $contentWidthOffset; }
61
- .push-#{$num} { left: $contentWidthOffset; }
62
- .pull-#{$num} { left: -$contentWidthOffset; }
63
- }
64
53
 
65
- /* DESKTOP SUPPORT */
54
+ // Extra small grid
55
+ //
56
+ // Columns, offsets, pushes, and pulls for extra small devices like
57
+ // smartphones.
66
58
 
67
- @media screen and (min-width: $mediaDesktopMin) {
68
- .visible-desktop {
69
- opacity: 1 !important;
70
- }
71
- .hide-on-desktop, .only-tablet, .only-mobile {
72
- display: none !important;
73
- }
59
+ @include make-grid(xs);
60
+
61
+
62
+ // Small grid
63
+ //
64
+ // Columns, offsets, pushes, and pulls for the small device range, from phones
65
+ // to tablets.
66
+
67
+ @media (min-width: $screen-sm-min) {
68
+ @include make-grid(sm);
74
69
  }
75
70
 
76
- /* TABLET SUPPORT */
77
71
 
78
- @media screen and (min-width: $mediaTabletMin) and (max-width: $mediaTabletMax) {
72
+ // Medium grid
73
+ //
74
+ // Columns, offsets, pushes, and pulls for the desktop device range.
79
75
 
80
- .grid-container {
81
- max-width: 100%;
82
- #{$gutterTypeTablet}-left: $gutterWidth;
83
- #{$gutterTypeTablet}-right: $gutterWidth;
84
- }
85
- .visible-tablet {
86
- opacity: 1 !important;
87
- }
88
- .hide-on-tablet, .only-desktop, .only-mobile {
89
- display: none !important;
90
- }
91
- .prefix-tablet-0 { #{$gutterTypeTabletOffset}-left: $gutterWidth; }
92
- .suffix-tablet-0 { #{$gutterTypeTabletOffset}-right: $gutterWidth; }
93
- .push-tablet-0, .pull-tablet-0 { left: 0; }
94
-
95
- @for $i from 1 through $columnsCount {
96
- $num: $i;
97
- $contentWidth: contentWidth($num);
98
- $contentWidthOffset: contentWidthOffset($num);
99
- .grid-tablet-#{$num} { width: $contentWidth; }
100
- .prefix-tablet-#{$num} { #{$gutterTypeTabletOffset}-left: $contentWidthOffset; }
101
- .suffix-tablet-#{$num} { #{$gutterTypeTabletOffset}-right: $contentWidthOffset; }
102
- .push-tablet-#{$num} { left: $contentWidthOffset; }
103
- .pull-tablet-#{$num} { left: -$contentWidthOffset; }
104
- }
76
+ @media (min-width: $screen-md-min) {
77
+ @include make-grid(md);
105
78
  }
106
79
 
107
- /* MOBILE SUPPORT */
108
80
 
109
- @media screen and (max-width: $mediaMobileMax) {
110
- .grid-container {
111
- max-width: 100%;
112
- #{$gutterTypeMobile}-left: $gutterWidth;
113
- #{$gutterTypeMobile}-right: $gutterWidth;
114
- }
115
- .visible-mobile {
116
- opacity: 1 !important;
117
- }
118
- .hide-on-mobile, .only-desktop, .only-tablet {
119
- display: none !important;
120
- }
121
- .prefix-mobile-0 { #{$gutterTypeMobileOffset}-left: $gutterWidth; }
122
- .suffix-mobile-0 { #{$gutterTypeMobileOffset}-right: $gutterWidth; }
123
- .push-mobile-0, .pull-mobile-0 { left: 0; }
124
-
125
- @for $i from 1 through $columnsCount {
126
- $num: $i;
127
- $contentWidth: contentWidth($num);
128
- $contentWidthOffset: contentWidthOffset($num);
129
- .grid-mobile-#{$num} { width: $contentWidth; }
130
- .prefix-mobile-#{$num} { #{$gutterTypeMobileOffset}-left: $contentWidthOffset; }
131
- .suffix-mobile-#{$num} { #{$gutterTypeMobileOffset}-right: $contentWidthOffset; }
132
- .push-mobile-#{$num} { left: $contentWidthOffset; }
133
- .pull-mobile-#{$num} { left: -$contentWidthOffset; }
134
- }
135
- }
81
+ // Large grid
82
+ //
83
+ // Columns, offsets, pushes, and pulls for the large desktop device range.
84
+
85
+ @media (min-width: $screen-lg-min) {
86
+ @include make-grid(lg);
87
+ }
88
+
89
+ @import 'droidcss/mixins/grid-utilities';
@@ -0,0 +1,47 @@
1
+ html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
2
+ body,figure{margin:0}
3
+ body{cursor:default}
4
+ article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}
5
+ audio,canvas,progress,video{display:inline-block;vertical-align:baseline}
6
+ audio:not([controls]){display:none;height:0}
7
+ [hidden],template{display:none}
8
+ a{background-color:transparent}
9
+ a:active,a:hover{outline:0}
10
+ abbr[title]{border-bottom:1px dotted}
11
+ b,strong{font-weight:700}
12
+ dfn{font-style:italic}
13
+ h1{font-size:2em;margin:.67em 0}
14
+ mark{background:#ff0;color:#000}
15
+ small{font-size:80%}
16
+ sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
17
+ sup{top:-.5em}
18
+ sub{bottom:-.25em}
19
+ img{border:0}
20
+ svg:not(:root){overflow:hidden}
21
+ figure{margin:1em 40px}
22
+ hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}
23
+ pre{overflow:auto}
24
+ code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}
25
+ button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}
26
+ button{overflow:visible}
27
+ button,select{text-transform:none}
28
+ button,html input[type="button"],/* 1 */
29
+ input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}
30
+ button[disabled],html input[disabled]{cursor:default}
31
+ button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
32
+ input{line-height:normal}
33
+ input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}
34
+ input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}
35
+ input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
36
+ input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
37
+ fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
38
+ legend{border:0;padding:0}
39
+ textarea{overflow:auto}
40
+ optgroup{font-weight:700}
41
+ table{border-collapse:collapse;border-spacing:0}
42
+ td,th{padding:0}
43
+ legend,button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
44
+ input,textarea{cursor:text}
45
+ a,label,select,button,input[type=button],input[type=submit],input[type=checkbox],input[type=radio],input[type=file]{cursor:pointer}
46
+ nav ul{list-style:none;margin:0;padding:0}
47
+ nav ul li{margin:0;padding:0}