tailwindcss/src/reset.less

55 lines
1.1 KiB
Text
Raw Normal View History

2017-08-01 10:14:11 -04:00
// For local dev
@import (less, optional) "../node_modules/normalize.css/normalize.css";
@import (less, optional) "../node_modules/suitcss-base/lib/base.css";
2017-08-01 10:14:11 -04:00
// For real projects
@import (less, optional) "../../../node_modules/normalize.css/normalize.css";
@import (less, optional) "../../../node_modules/suitcss-base/lib/base.css";
2017-07-20 08:38:55 -04:00
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@-webkit-viewport { width: device-width; }
@viewport { width: device-width; }
html {
2017-07-31 08:28:30 -04:00
font-size: 12px;
2017-07-20 08:38:55 -04:00
2017-07-31 08:28:30 -04:00
// Changes the default tap highlight to be completely transparent in iOS.
-webkit-tap-highlight-color: rgba(0,0,0,0);
2017-07-20 08:38:55 -04:00
2017-07-31 08:28:30 -04:00
// -webkit-font-smoothing: antialiased;
2017-07-20 08:38:55 -04:00
@media (min-width: 420px) {
2017-07-31 08:28:30 -04:00
font-size: 16px;
}
2017-07-20 08:38:55 -04:00
}
body {
font-family: @font-family-base;
font-size: @font-size-base;
font-weight: @font-weight-regular;
line-height: @line-height;
color: @text-dark;
}
textarea {
2017-07-31 08:28:30 -04:00
resize: vertical;
2017-07-20 08:38:55 -04:00
}
button, [role=button] {
cursor: pointer;
}
small {
2017-07-31 08:28:30 -04:00
font-size: @font-size-sm;
2017-07-20 08:38:55 -04:00
}
pre, code {
2017-07-31 08:28:30 -04:00
font-family: @font-family-mono;
2017-07-20 08:38:55 -04:00
}
img {
2017-07-31 08:28:30 -04:00
vertical-align: middle;
2017-07-20 08:38:55 -04:00
}