timetracker/static/scss/_globals.scss
2021-02-05 20:32:27 -07:00

82 lines
1.1 KiB
SCSS

html {
font-size: 100%;
}
body {
background-color: $bg-color;
color: $primary-color;
font-family: 'Lato', sans-serif;
font-weight: 400;
line-height: 1.75;
text-rendering: optimizeLegibility;
}
p {
margin-bottom: 1rem;
}
h1, h2, h3, h4, h5 {
margin: 3rem 0 1.38rem;
font-family: 'Lato', sans-serif;
line-height: 1.3;
text-rendering: optimizeLegibility;
}
h1 {
margin-top: 0;
font-size: 2.488rem;
}
h2 {
font-size: 2.074rem;
}
h3 {
font-size: 1.728rem;
}
h4 {
font-size: 1.44rem;
}
h5 {
font-size: 1.2rem;
}
small {
font-size: 0.833rem;
}
a {
color: $blue;
cursor: pointer;
white-space: nowrap;
}
hr {
margin: 0;
border: 0.8px solid $grey;
}
// BLOCK ELEMENTS
main, aside {
max-width: 58rem;
margin: 0 auto;
}
// TABLES
table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
margin-bottom: 1.3em;
border: 1px solid $grey;
}
table a {
white-space: normal;
}
td,
th {
text-align: left;
font-size: 0.85em;
padding: 2px 10px;
border-bottom: 1px solid;
border-color: $grey;
}