Summary Files Commits Branches @commit @diff @stats
path: root / src / normalize.less
diff options
context:
space:
mode:
Commit18d385b636db17c409fa0e36da15053e4f8354bf (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 09:18:11 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 09:18:11 +0800
Files0837aab5deec0e9a915af6fc283c4d751fc75ab3 /src/normalize.less
Spectre-Dark-Gruvbox-18d385b636db17c409fa0e36da15053e4f8354bf.tar
Spectre-Dark-Gruvbox-18d385b636db17c409fa0e36da15053e4f8354bf.tar.gz
Spectre-Dark-Gruvbox-18d385b636db17c409fa0e36da15053e4f8354bf.zip
Parent8fd6c598d692e690fee006a9ea2b57f3dcebc2e7 (diff)
Parentf3f78136d631892b9247bb345aa70a4d8812507c (diff)
Merge pull request #18 from picturepan2/master
merge master to gh-pages
1 files changed, 25 insertions, 16 deletions
-rw-r--r--src/normalize.less41
diff --git a/src/normalize.less b/src/normalize.less
index e376c84..f48215b 100644
--- a/src/normalize.less
+++ b/src/normalize.less
@@ -7,8 +7,8 @@
html {
font-family: sans-serif; /* 1 */
- -ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
+ -ms-text-size-adjust: 100%; /* 2 */
}
/**
@@ -30,16 +30,19 @@ body {
article,
aside,
-details, /* 1 */
+details,
+/* 1 */
figcaption,
figure,
footer,
header,
-main, /* 2 */
+main,
+/* 2 */
menu,
nav,
section,
-summary { /* 1 */
+summary {
+ /* 1 */
display: block;
}
@@ -76,7 +79,8 @@ progress {
* 1. Add the correct display in IE.
*/
-template, /* 1 */
+template,
+/* 1 */
[hidden] {
display: none;
}
@@ -112,8 +116,8 @@ a:hover {
abbr[title] {
border-bottom: none; /* 1 */
- text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
+ text-decoration: underline; /* 2 */
}
/**
@@ -149,7 +153,7 @@ dfn {
h1 {
font-size: 2em;
- margin: 0.67em 0;
+ margin: .67em 0;
}
/**
@@ -183,11 +187,11 @@ sup {
}
sub {
- bottom: -0.25em;
+ bottom: -.25em;
}
sup {
- top: -0.5em;
+ top: -.5em;
}
/* Embedded content
@@ -273,8 +277,10 @@ optgroup {
*/
button,
-input, /* 1 */
-select { /* 2 */
+input,
+/* 1 */
+select {
+ /* 2 */
overflow: visible;
}
@@ -286,7 +292,8 @@ select { /* 2 */
button,
input,
select,
-textarea { /* 1 */
+textarea {
+ /* 1 */
margin: 0;
}
@@ -296,7 +303,8 @@ textarea { /* 1 */
*/
button,
-select { /* 1 */
+select {
+ /* 1 */
text-transform: none;
}
@@ -326,7 +334,8 @@ button,
*/
button,
-html [type="button"], /* 1 */
+html [type="button"],
+/* 1 */
[type="reset"],
[type="submit"] {
-webkit-appearance: button; /* 2 */
@@ -358,7 +367,7 @@ input:-moz-focusring {
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
+ padding: .35em .625em .75em;
}
/**
@@ -421,4 +430,4 @@ textarea {
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
-} \ No newline at end of file
+}