lib/assets/stylesheets/uniform/defaults.scss in uniform-ui-2.4.1 vs lib/assets/stylesheets/uniform/defaults.scss in uniform-ui-3.0.0.beta2
- old
+ new
@@ -1,5 +1,9 @@
+html, body{
+ margin: 0;
+ padding: 0;
+}
html{
font-size: 14px;
}
body{
font-size: 1rem;
@@ -8,11 +12,11 @@
box-sizing: border-box;
}
a{
color: color('blue');
&:hover{
- color: color('blue-dark');
+ color: color('blue-60');
}
&:visited{
color: #6738e4;
}
}
@@ -26,19 +30,18 @@
ul,
ol,
dl,
pre{
margin: 0;
- margin-bottom: 1em; // might want to do rem
- &:last-child{
- margin-bottom: 0;
- }
}
ul,
ol,
dl{
+ list-style: none;
+ margin: 0;
+ padding: 0;
ul,
ol,
dl{
margin-bottom: 0;
}
@@ -73,22 +76,43 @@
input,
select,
textarea,
button{
+ border-width: 1px;
margin: 0;
line-height: inherit;
+ font: inherit;
+ text-align: inherit;
+ text-transform: inherit;
+ letter-spacing: inherit;
+ line-height: inherit;
}
[hidden] {
display: none !important;
}
time{
@include text-overflow;
}
+a,
button{
- font-family: $system-font;
- color: color('gray-darkest');
cursor: pointer;
+}
+button{
+ font-family: $base-font;
+ font-size: 1rem;
+}
+
+img,
+svg,
+video,
+canvas,
+audio,
+iframe,
+embed,
+object {
+ display: block;
+ vertical-align: middle;
}
\ No newline at end of file