Skip to content

Commit

Permalink
fixing broken reset bc first fix did not work
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Wilson committed May 24, 2018
1 parent 7b70cdf commit 6b83974
Show file tree
Hide file tree
Showing 2 changed files with 233 additions and 1 deletion.
232 changes: 232 additions & 0 deletions scss/base/_nanoreset.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
code,
em,
img,
small,
strong,
sub,
sup,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
footer,
header,
nav,
section,
time,
audio,
video {
font-size: 100%;
font-weight: inherit;
margin: 0;
padding: 0;
vertical-align: baseline;
border: 0;
background-color: transparent;
}

html {
font-family: -apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Oxygen-Sans,
Ubuntu,
Cantarell,
"Helvetica Neue",
sans-serif;
line-height: 1.15;
overflow-y: scroll;
box-sizing: border-box;
height: 100%;
}

*,
*:before,
*:after {
box-sizing: inherit;
background-repeat: no-repeat;
}

body {
height: 100%;
line-height: 1;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
small,
hgroup,
summary {
display: block;
}

img,
embed,
iframe,
object,
audio,
video {
max-width: 100%;
height: auto;
}

iframe {
border: 0;
}

audio:not([controls]) {
display: none;
height: 0;
}

blockquote,
q {
quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
content: "";
content: none;
}

ul,
li {
list-style: none;
}

sup {
vertical-align: text-top;
}

sub {
vertical-align: text-bottom;
}

table {
border-spacing: 0;
border-collapse: collapse;
}

caption,
th,
td {
font-weight: normal;
text-align: left;
vertical-align: top;
}

input,
select {
vertical-align: middle;
}

input[type="radio"] {
vertical-align: text-bottom;
}

input[type="checkbox"] {
vertical-align: bottom;
}

strong,
b {
font-weight: bold;
}

small {
font-size: 80%;
}

abbr,
acronym {
cursor: help;
text-decoration: none;
border-bottom: .1em dotted;
}

a:active,
a:hover {
outline-width: 0;
}

input {
border-radius: 0;
}

label,
input[type="file"],
button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
cursor: pointer;
}

[disabled] {
cursor: default;
}

button,
input,
select,
textarea {
margin: 0;
text-transform: none;
border: 0;
}

img {
border-style: none;
}

pre,
code,
kbd,
samp {
font-family: monospace;
}
2 changes: 1 addition & 1 deletion scss/style.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

@import "../../node_modules/nanoreset/nanoreset.min.css"; // this needs the periods because this css is not included it's actualled imported per css spec
@import "base/nanoreset"; // copied manually because sass won't import a css as scss and because i didn't want to upload all of node_modules to server
@import "node_modules/include-media/dist/include-media"; // for a capable media plugin
@import "base/variables";
@import "base/breakpoints";
Expand Down

0 comments on commit 6b83974

Please sign in to comment.