Last active
July 1, 2020 06:15
-
-
Save zenghongtu/bd940cbf54e65c46890d7b9968246171 to your computer and use it in GitHub Desktop.
Vanilla CSS Un-Reset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Start Vanilla CSS 1.0.2 | |
* from https://cssreset.com/scripts/vanilla-css-un-reset/ | |
*/ | |
body { | |
font: 9pt/1.5em sans-serif; | |
} | |
pre, code, tt { | |
font: 1em/1.5em 'Andale Mono', 'Lucida Console', monospace; | |
} | |
h1, h2, h3, h4, h5, h6, b, strong { | |
font-weight: bold; | |
} | |
em, i, dfn { | |
font-style: italic; | |
} | |
dfn { | |
font-weight:bold; | |
} | |
p, code, pre, kbd { | |
margin:0 0 1.5em 0; | |
} | |
blockquote { | |
margin:0 1.5em 1.5em 1.5em; | |
} | |
cite { | |
font-style: italic; | |
} | |
li ul, li ol { | |
margin:0 1.5em; | |
} | |
ul, ol { | |
margin:0 1.5em 1.5em 1.5em; | |
} | |
ul { | |
list-style-type:disc; | |
} | |
ol { | |
list-style-type:decimal; | |
} | |
ol ol { | |
list-style: upper-alpha; | |
} | |
ol ol ol { | |
list-style: lower-roman; | |
} | |
ol ol ol ol { | |
list-style: lower-alpha; | |
} | |
dl { | |
margin:0 0 1.5em 0; | |
} | |
dl dt { | |
font-weight:bold; | |
} | |
dd { | |
margin-left:1.5em; | |
} | |
table { | |
margin-bottom:1.4em; | |
width:100%; | |
} | |
th { | |
font-weight:bold; | |
} | |
th, td, caption { | |
padding:4px 10px 4px 5px; | |
} | |
tfoot { | |
font-style:italic; | |
} | |
sup, sub { | |
line-height:0; | |
} | |
abbr, acronym { | |
border-bottom: 1px dotted; | |
} | |
address { | |
margin:0 0 1.5em; | |
font-style:italic; | |
} | |
del { | |
text-decoration: line-through; | |
} | |
pre { | |
margin:1.5em 0; | |
white-space:pre; | |
} | |
img.centered, .aligncenter, div.aligncenter { | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
img.alignright { | |
display: inline; | |
} | |
img.alignleft { | |
display: inline; | |
} | |
.alignright { | |
float: right; | |
margin-left: 10px; | |
} | |
.alignleft { | |
float: left; | |
margin-right: 10px; | |
} | |
img { | |
max-width: 100%; | |
} | |
* html .clearfix { | |
height: 1%; | |
} | |
* + html .clearfix { | |
display: inline-block; | |
} | |
.clearfix:after { | |
content: "."; | |
display: block; | |
height: 0; | |
clear: both; | |
visibility: hidden; | |
} | |
* html .group { | |
height: 1%; | |
} | |
* + html .group { | |
display: inline-block; | |
} | |
.group:after { | |
content: "."; | |
display: block; | |
height: 0; | |
clear: both; | |
visibility: hidden; | |
} | |
/** | |
* End Vanilla CSS | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** Start Vanilla CSS 1.0.2 */ | |
body{font:9pt/1.5em sans-serif;}pre,code,tt{font:1em/1.5em ‘Andale Mono’,’Lucida Console’,monospace;}h1,h2,h3,h4,h5,h6,b,strong{font-weight:bold;}em,i,dfn{font-style:italic;}dfn{font-weight:bold;}p,code,pre,kbd{margin:0 0 1.5em 0;}blockquote{margin:0 1.5em 1.5em 1.5em;}cite{font-style:italic;}li ul,li ol{margin:0 1.5em;}ul,ol{margin:0 1.5em 1.5em 1.5em;}ul{list-style-type:disc;}ol{list-style-type:decimal;}ol ol{list-style:upper-alpha;}ol ol ol{list-style:lower-roman;}ol ol ol ol{list-style:lower-alpha;}dl{margin:0 0 1.5em 0;}dl dt{font-weight:bold;}dd{margin-left:1.5em;}table{margin-bottom:1.4em;width:100%;}th{font-weight:bold;}th,td,caption{padding:4px 10px 4px 5px;}tfoot{font-style:italic;}sup,sub{line-height:0;}abbr,acronym{border-bottom:1px dotted;}address{margin:0 0 1.5em;font-style:italic;}del{text-decoration:line-through;}pre{margin:1.5em 0;white-space:pre;}img.centered,.aligncenter,div.aligncenter{display:block;margin-left:auto;margin-right:auto;}img.alignright{display:inline;}img.alignleft{display:inline;}.alignright{float:right;margin-left:10px;}.alignleft{float:left;margin-right:10px;}img { max-width: 100%; }* html .clearfix{height:1%;}*+html .clearfix{display:inline-block;}.clearfix:after{content:”.”;display:block;height:0;clear:both;visibility:hidden;}* html .group{height:1%;}*+html .group{display:inline-block;}.group:after{content:”.”;display:block;height:0;clear:both;visibility:hidden;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment