Normalize rather than Reset.
The reset we used was a mix of Normalize, the Paul Irish reset, sprinkled with some blueprint.css, and base styles. It was hard to maintain and just seemed outdated (setting the base font-size to 10px instead of 16px, among other things). Normalize sets saner defaults and is generally just not as disruptive as a full reset. The code was added as is, has only its comments stripped (for now), and is not mixed with any styles to make future updates to it as easy as possible. See #3, #44, #174, #267, #617.
This commit is contained in:
parent
37d283481f
commit
6c47be98c1
18 changed files with 501 additions and 291 deletions
|
@ -21,7 +21,7 @@ address {
|
|||
pre {
|
||||
background: $color__background-pre;
|
||||
font-family: $font__pre;
|
||||
@include font-size(1.5);
|
||||
@include font-size(0.9375);
|
||||
line-height: $font__line-height-pre;
|
||||
margin-bottom: 1.6em;
|
||||
max-width: 100%;
|
||||
|
@ -30,8 +30,8 @@ pre {
|
|||
}
|
||||
|
||||
code, kbd, tt, var {
|
||||
@include font-size(1.5);
|
||||
font-family: $font__code;
|
||||
@include font-size(0.9375);
|
||||
}
|
||||
|
||||
abbr, acronym {
|
||||
|
@ -44,23 +44,6 @@ mark, ins {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
sup,
|
||||
sub {
|
||||
font-size: 75%;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
bottom: 1ex;
|
||||
}
|
||||
|
||||
sub {
|
||||
top: .5ex;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue