File tree Expand file tree Collapse file tree 3 files changed +153
-3
lines changed Expand file tree Collapse file tree 3 files changed +153
-3
lines changed Original file line number Diff line number Diff line change 1+ /*! modern-base | MIT License | https://github.com/sindresorhus/modern-normalize */
2+
3+ /**
4+ * 1. Break up words and URLs so they don't break your layout.
5+ * 2. Improve font rendering in Chrome and Safari on macOS.
6+ */
7+
8+ html {
9+ word-break : break-all; /* 1 */
10+ -webkit-font-smoothing : antialiased; /* 2 */
11+ }
12+
13+ /**
14+ * Remove default spacing.
15+ */
16+
17+ h1 ,
18+ h2 ,
19+ h3 ,
20+ h4 ,
21+ h5 ,
22+ h6 ,
23+ p ,
24+ figure ,
25+ blockquote ,
26+ dd ,
27+ dl ,
28+ pre {
29+ margin : 0 ;
30+ }
31+
32+ /**
33+ * Show link underline only on hover.
34+ */
35+
36+ a {
37+ text-decoration : none;
38+ }
39+
40+ a : hover {
41+ text-decoration : underline;
42+ }
43+
44+ /**
45+ * Remove outline on active/hovered focused links.
46+ */
47+
48+ a : active ,
49+ a : hover {
50+ outline-width : 0 ;
51+ }
52+
53+ /**
54+ * Correct the text style of placeholders in Chrome and Safari.
55+ * See discussion: https://github.com/necolas/normalize.css/issues/550
56+ */
57+
58+ ::-webkit-input-placeholder {
59+ color : inherit;
60+ opacity : 0.54 ;
61+ }
62+
63+ /**
64+ * Remove text shadow from selections.
65+ */
66+
67+ ::selection {
68+ background : # b3d7fd ;
69+ text-shadow : none;
70+ }
71+
72+ /**
73+ * Remove outline from `:focus` pseudo element.
74+ * Note: Don't forget to apply some styling for the focus state of elements that support it.
75+ */
76+
77+ : focus {
78+ outline-width : 0 ;
79+ }
80+
81+ /**
82+ * Remove the list style on navigation lists.
83+ */
84+
85+ nav ol ,
86+ nav ul {
87+ list-style : none;
88+ }
89+
90+ /**
91+ * Better looking default horizontal rule
92+ */
93+
94+ hr {
95+ display : block;
96+ margin : 1em 0 ;
97+ padding : 0 ;
98+ border : 0 ;
99+ border-top : 1px solid # ccc ;
100+ }
101+
102+ /**
103+ * Remove default fieldset styles.
104+ */
105+
106+ fieldset {
107+ margin : 0 ;
108+ padding : 0 ;
109+ border : 0 ;
110+ }
111+
112+ /**
113+ * Allow only vertical resizing of textareas.
114+ */
115+
116+ textarea {
117+ resize : vertical;
118+ }
119+
120+
121+ /**
122+ * Remove the gap between these elements and the bottom of their containers.
123+ * See: https://github.com/h5bp/html5-boilerplate/issues/440
124+ */
125+
126+ svg ,
127+ img ,
128+ canvas ,
129+ video ,
130+ audio ,
131+ iframe {
132+ vertical-align : middle;
133+ }
134+
135+ /**
136+ * Set the tab size to a better default than 8
137+ */
138+
139+ : root {
140+ -moz-tab-size : 4 ;
141+ tab-size : 4 ;
142+ }
Original file line number Diff line number Diff line change 1515 "node" : " >=6"
1616 },
1717 "scripts" : {
18- "test" : " stylelint modern-normalize .css"
18+ "test" : " stylelint * .css"
1919 },
2020 "files" : [
21- " modern-normalize.css"
21+ " modern-normalize.css" ,
22+ " modern-base.css"
2223 ],
2324 "keywords" : [
2425 " normalize" ,
3536 "extends" : " stylelint-config-xo" ,
3637 "rules" : {
3738 "font-family-no-duplicate-names" : null ,
38- "no-duplicate-selectors" : null
39+ "no-duplicate-selectors" : null ,
40+ "selector-no-vendor-prefix" : null
3941 }
4042 }
4143}
Original file line number Diff line number Diff line change 4848<link rel =" stylesheet" href =" node_modules/modern-normalize/modern-normalize.css" >
4949```
5050
51+ This package also includes a base style with better defaults:
52+
53+ ``` css
54+ @import ' node_modules/modern-normalize/modern-base.css' ;
55+ ```
56+
5157
5258## License
5359
You can’t perform that action at this time.
0 commit comments