@@ -14,24 +14,28 @@ dl, dt, dd, ol, ul, li,
1414button , caption , input , fieldset , form , label , legend , table , textarea , tbody , tfoot , thead , tr , th , td ,
1515// semantic elements
1616article , aside , audio , canvas , details , embed , figure , figcaption , footer , header , hgroup , main , mark , menu , nav , option , output , ruby , section , select , summary , time , video {
17- border : none ;
17+ border : 0 ;
1818 border-collapse : collapse ;
1919 display : flex ;
2020 flex-direction : column ;
2121 font : inherit ;
22- line-height : inherit ;
2322 margin : 0 ;
24- outline : none ;
23+ outline : 0 ;
2524 padding : 0 ;
2625 text-decoration : none ;
2726 vertical-align : baseline ;
2827}
2928
3029// set inline elements to display: inline
31- a , abbr , acronym , b , bdo , big , br , cite , code , del , dfn , em , h1 , h2 , h3 , h4 , h5 , h6 , hr , i , img , input , ins , kbd , map , mark , object , p , q , samp , select , s , small , span , strike , strong , sub , sup , textarea , tt , var {
30+ a , abbr , acronym , b , bdo , big , br , cite , code , del , dfn , em , i , ins , kbd , mark , q , samp , s , small , span , strike , strong , sub , sup , time , tt , var {
3231 display : inline ;
3332}
3433
34+ // set elements whose contents are typically inline to display: block
35+ blockquote , button , caption , dd , dt , figcaption , h1 , h2 , h3 , h4 , h5 , h6 , input , legend , option , output , p , pre , select , summary , textarea {
36+ display : block ;
37+ }
38+
3539// remove link styling
3640a , a :link , a :visited , a :hover , a :active {
3741 background : transparent ;
@@ -41,12 +45,12 @@ a, a:link, a:visited, a:hover, a:active {
4145
4246// set defaults for body
4347body {
44- background-color : white ;
48+ background : white ;
49+ color : black ;
4550 font-stretch : normal ;
4651 font-style : normal ;
4752 font-variant : normal ;
4853 font-weight : normal ;
49- line-height : 1 ;
5054 min-height : 100vh ;
5155}
5256
@@ -59,13 +63,30 @@ blockquote, q {
5963 }
6064}
6165
66+ :focus {
67+ outline : 0 ;
68+ }
69+
70+ // corrects display issues for certain inputs on Edge and Chrome
71+ input [type= date],
72+ input [type= datetime- local],
73+ input [type= file],
74+ input [type= month],
75+ input [type= time],
76+ input [type= week],
77+ select ,
78+ {
79+ flex-direction : row ;
80+ }
81+
6282// remove styling from lists
6383ol , ul {
6484 list-style : none ;
6585}
6686
6787// set default table styling
6888table {
89+ border-spacing : 0 ;
6990 display : table ;
7091}
7192
0 commit comments