Skip to content

Commit dd071ed

Browse files
committed
build
1 parent 16345f4 commit dd071ed

File tree

2 files changed

+45
-22
lines changed

2 files changed

+45
-22
lines changed

flexbox-reset.css

Lines changed: 41 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,13 @@ select,
8585
summary,
8686
time,
8787
video {
88-
border: none;
88+
border: 0;
8989
border-collapse: collapse;
9090
display: flex;
9191
flex-direction: column;
9292
font: inherit;
93-
line-height: inherit;
9493
margin: 0;
95-
outline: none;
94+
outline: 0;
9695
padding: 0;
9796
text-decoration: none;
9897
vertical-align: baseline;
@@ -109,37 +108,47 @@ code,
109108
del,
110109
dfn,
111110
em,
112-
h1,
113-
h2,
114-
h3,
115-
h4,
116-
h5,
117-
h6,
118-
hr,
119111
i,
120-
img,
121-
input,
122112
ins,
123113
kbd,
124-
map,
125114
mark,
126-
object,
127-
p,
128115
q,
129116
samp,
130-
select,
131117
s,
132118
small,
133119
span,
134120
strike,
135121
strong,
136122
sub,
137123
sup,
138-
textarea,
124+
time,
139125
tt,
140126
var {
141127
display: inline;
142128
}
129+
blockquote,
130+
button,
131+
caption,
132+
dd,
133+
dt,
134+
figcaption,
135+
h1,
136+
h2,
137+
h3,
138+
h4,
139+
h5,
140+
h6,
141+
input,
142+
legend,
143+
option,
144+
output,
145+
p,
146+
pre,
147+
select,
148+
summary,
149+
textarea {
150+
display: block;
151+
}
143152
a,
144153
a:link,
145154
a:visited,
@@ -150,12 +159,12 @@ a:active {
150159
text-decoration: none;
151160
}
152161
body {
153-
background-color: white;
162+
background: white;
163+
color: black;
154164
font-stretch: normal;
155165
font-style: normal;
156166
font-variant: normal;
157167
font-weight: normal;
158-
line-height: 1;
159168
min-height: 100vh;
160169
}
161170
blockquote,
@@ -169,11 +178,24 @@ q:after {
169178
content: '';
170179
content: none;
171180
}
181+
:focus {
182+
outline: 0;
183+
}
184+
input[type=date],
185+
input[type=datetime-local],
186+
input[type=file],
187+
input[type=month],
188+
input[type=time],
189+
input[type=week],
190+
select {
191+
flex-direction: row;
192+
}
172193
ol,
173194
ul {
174195
list-style: none;
175196
}
176197
table {
198+
border-spacing: 0;
177199
display: table;
178200
}
179201
tbody {

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flexbox-reset",
3-
"version": "1.1.2",
3+
"version": "2.0.0",
44
"description": "A CSS reset that uses the flexbox model by default.",
55
"keywords": [
66
"css",
@@ -18,7 +18,8 @@
1818
"scripts": {
1919
"build": "lessc flexbox-reset.less flexbox-reset.css"
2020
},
21-
"dependencies": {
22-
"less": "^2.7.1"
21+
"dependencies": {},
22+
"devDependencies": {
23+
"less": "^2.7.2"
2324
}
2425
}

0 commit comments

Comments
 (0)