2019-07-01 21:26:26 +00:00
|
|
|
html {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 1150px;
|
|
|
|
margin: 0 auto;
|
|
|
|
font-family: $font-base;
|
2020-04-23 14:18:34 +00:00
|
|
|
background-color: $color-main-bg;
|
2020-04-23 19:30:31 +00:00
|
|
|
transition: background-color 0.2s ease;
|
2019-07-01 21:26:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
color: $color-link;
|
2020-04-27 20:28:54 +00:00
|
|
|
transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
|
2019-07-01 21:26:26 +00:00
|
|
|
text-decoration: none;
|
|
|
|
outline: 0;
|
2020-04-23 19:05:39 +00:00
|
|
|
margin: 0 -0.15em;
|
|
|
|
padding: 0 0.15em;
|
|
|
|
border-radius: 6px;
|
2020-04-24 16:57:05 +00:00
|
|
|
-webkit-tap-highlight-color: transparent;
|
2019-07-01 21:26:26 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $color-link-hover;
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
background-color: rgba($color-link, 0.1);
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
background-color: rgba($color-link-hover, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1.25em;
|
|
|
|
}
|
|
|
|
|
2019-07-02 09:33:11 +00:00
|
|
|
main {
|
|
|
|
#{headings(1,6)} {
|
|
|
|
font-family: $font-main;
|
2019-07-01 21:26:26 +00:00
|
|
|
color: $color-header;
|
2019-07-16 23:59:04 +00:00
|
|
|
transition: color 0.2s ease-in-out;
|
2019-07-01 21:26:26 +00:00
|
|
|
|
2019-07-02 09:33:11 +00:00
|
|
|
a {
|
|
|
|
color: $color-header;
|
|
|
|
|
2020-04-23 15:02:03 +00:00
|
|
|
&:hover {
|
|
|
|
color: rgba($color-header, 0.7);
|
|
|
|
}
|
2019-07-02 09:33:11 +00:00
|
|
|
&:focus {
|
|
|
|
background-color: rgba($color-header, 0.1);
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
background-color: rgba($color-header, 0.2);
|
|
|
|
}
|
2019-07-01 21:26:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
2019-07-02 10:00:00 +00:00
|
|
|
|
|
|
|
hr {
|
2021-03-04 17:45:18 +00:00
|
|
|
border: 0.25em solid $color-main-bg-alt;
|
|
|
|
border-radius: 0.25em;
|
|
|
|
margin: 2em 5em;
|
2019-07-02 10:00:00 +00:00
|
|
|
}
|
2019-07-18 19:36:41 +00:00
|
|
|
|
2020-04-23 22:53:48 +00:00
|
|
|
.color-header {
|
|
|
|
color: $color-header;
|
|
|
|
}
|
|
|
|
|
2019-07-18 19:36:41 +00:00
|
|
|
// Block all CSS transitions inside elements having this class
|
|
|
|
// Used on page load, to prevent weird CSS transition-on-load behaviour
|
|
|
|
.notransition * {
|
|
|
|
transition: none !important;
|
|
|
|
}
|