2020-08-20 01:48:01 +01:00
|
|
|
/* link underlines tend to make hypertext less readable,
|
|
|
|
because underlines obscure the shapes of the lower halves of words */
|
2021-07-20 19:30:49 +01:00
|
|
|
:link, :visited {
|
|
|
|
text-decoration: none
|
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
|
|
|
/* no list-markers by default, since lists are used more often for semantics */
|
2021-07-20 19:30:49 +01:00
|
|
|
ul, ol {
|
|
|
|
list-style: none
|
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
|
|
|
/* remove the inconsistent (among browsers) default ul,ol padding or margin */
|
2021-08-05 14:46:17 +01:00
|
|
|
/* the default spacing on headings does not match nor align with
|
2020-08-20 01:48:01 +01:00
|
|
|
normal interline spacing at all, so let's get rid of it. */
|
|
|
|
/* zero out the spacing around pre, form, body, html, p, blockquote as well */
|
2021-09-15 00:15:51 +01:00
|
|
|
pre, form, body, html, blockquote, fieldset, input, textarea {
|
2021-07-20 19:30:49 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
|
|
|
/* whoever thought blue linked image borders were a good idea? */
|
2021-07-20 19:30:49 +01:00
|
|
|
a img, :link img, :visited img {
|
2021-08-05 14:46:17 +01:00
|
|
|
border: none;
|
2021-07-20 19:30:49 +01:00
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
|
|
|
/* de-italicize address */
|
2021-07-20 19:30:49 +01:00
|
|
|
address {
|
2021-08-05 14:46:17 +01:00
|
|
|
font-style: normal;
|
2021-07-20 19:30:49 +01:00
|
|
|
}
|
2020-08-20 01:48:01 +01:00
|
|
|
|
2020-08-29 06:20:02 +01:00
|
|
|
/* firefox focus outline */
|
2021-07-20 19:30:49 +01:00
|
|
|
:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
2021-07-20 15:51:32 +01:00
|
|
|
|
|
|
|
/* details element arrow */
|
2021-09-15 00:15:51 +01:00
|
|
|
details summary > * {
|
|
|
|
margin: unset;
|
|
|
|
padding: unset;
|
|
|
|
}
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-07-20 15:51:32 +01:00
|
|
|
details > summary {
|
|
|
|
list-style: none;
|
|
|
|
}
|
2021-07-20 19:30:49 +01:00
|
|
|
|
2021-07-20 15:51:32 +01:00
|
|
|
details > summary::-webkit-details-marker {
|
|
|
|
display: none;
|
2021-07-20 19:30:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* have IE ignore the detail elements altogether */
|
|
|
|
@supports not (-ms-ime-align: auto) {
|
|
|
|
details summary {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2021-08-05 14:46:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
2021-08-10 21:05:47 +01:00
|
|
|
box-sizing: border-box !important;
|
2021-08-05 14:46:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* TYPOGRAPHY AND GENERAL SELECTORS */
|
|
|
|
body,
|
|
|
|
html {
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
|
|
|
|
background-attachment: fixed;
|
|
|
|
color: var(--white);
|
|
|
|
font-family: var(--main-font);
|
2021-08-10 21:05:47 +01:00
|
|
|
font-size: var(--small-size);
|
2021-08-05 14:46:17 +01:00
|
|
|
}
|
|
|
|
|
2021-09-25 15:59:16 +01:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2021-09-23 17:14:53 +01:00
|
|
|
all: unset;
|
|
|
|
display: block;
|
2021-09-25 15:59:16 +01:00
|
|
|
font-family: var(--display-font);
|
2021-09-23 17:14:53 +01:00
|
|
|
}
|
|
|
|
|
2021-08-05 14:46:17 +01:00
|
|
|
h1 {
|
|
|
|
font-size: var(--main-size);
|
2021-09-06 13:08:27 +01:00
|
|
|
font-weight: 700;
|
2021-09-25 15:59:16 +01:00
|
|
|
margin-bottom: 16.2px;
|
2021-08-05 14:46:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: var(--medium-size);
|
2021-09-06 13:08:27 +01:00
|
|
|
font-weight: 600;
|
2021-09-25 15:59:16 +01:00
|
|
|
margin-bottom: 13px;
|
2021-08-05 14:46:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2021-09-25 15:59:16 +01:00
|
|
|
font-size: var(--small-size);
|
2021-09-23 17:14:53 +01:00
|
|
|
font-weight: 600;
|
2021-09-25 15:59:16 +01:00
|
|
|
margin-bottom: 10px;
|
2021-09-23 17:14:53 +01:00
|
|
|
}
|
2021-09-25 15:59:16 +01:00
|
|
|
|
2021-09-23 17:14:53 +01:00
|
|
|
h4, h5 {
|
2021-08-10 21:05:47 +01:00
|
|
|
font-size: var(--small-size);
|
2021-09-25 15:59:16 +01:00
|
|
|
font-weight: 400;
|
|
|
|
margin-bottom: 6.1px;
|
2021-08-05 14:46:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-family: var(--main-font);
|
2021-08-10 21:05:47 +01:00
|
|
|
font-size: var(--small-size);
|
2021-08-05 14:46:17 +01:00
|
|
|
font-weight: 400;
|
2021-09-15 00:15:51 +01:00
|
|
|
margin: unset;
|
|
|
|
}
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-09-15 00:15:51 +01:00
|
|
|
p:first-line {
|
|
|
|
padding-left: var(--small-size);
|
|
|
|
}
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-09-15 00:15:51 +01:00
|
|
|
p:first-line {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-09-15 00:15:51 +01:00
|
|
|
p:not(:first-line) {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
2021-08-05 14:46:17 +01:00
|
|
|
}
|
|
|
|
|
2021-08-10 21:05:47 +01:00
|
|
|
textarea {
|
|
|
|
font-family: var(--main-font);
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
2021-08-05 14:46:17 +01:00
|
|
|
ul {
|
|
|
|
text-decoration: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-08-05 22:47:03 +01:00
|
|
|
/* BUTTONS AND FILEPICKER */
|
2021-08-09 18:27:24 +01:00
|
|
|
button {
|
2021-08-16 21:59:19 +01:00
|
|
|
cursor: pointer !important;
|
2021-08-09 18:27:24 +01:00
|
|
|
float: right !important;
|
|
|
|
align-self: end !important;
|
|
|
|
}
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-08-16 21:59:19 +01:00
|
|
|
input {
|
|
|
|
cursor: text !important;
|
|
|
|
}
|
2021-08-09 18:27:24 +01:00
|
|
|
|
2021-08-05 22:47:03 +01:00
|
|
|
button,
|
2021-08-16 21:59:19 +01:00
|
|
|
input {
|
2021-08-05 22:47:03 +01:00
|
|
|
all: unset;
|
2021-08-31 18:33:58 +01:00
|
|
|
padding: 5px 10px;
|
2021-08-05 22:47:03 +01:00
|
|
|
}
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-09-06 14:22:36 +01:00
|
|
|
button,
|
|
|
|
select,
|
|
|
|
input:not([type=text]) {
|
|
|
|
cursor: pointer !important;
|
|
|
|
}
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-09-06 14:22:36 +01:00
|
|
|
input:not([type=button], [type=color], [type=checkbox], [type=radio]) {
|
|
|
|
cursor: auto !important;
|
|
|
|
}
|
2021-08-05 14:46:17 +01:00
|
|
|
|
2021-08-05 22:47:03 +01:00
|
|
|
*|*::-moz-button-content {
|
|
|
|
all: unset;
|
|
|
|
}
|
|
|
|
|
2021-08-16 21:59:19 +01:00
|
|
|
input[type=checkbox] {
|
2021-09-17 20:33:02 +01:00
|
|
|
display: inline-flex;
|
2021-08-16 21:59:19 +01:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-08-05 22:47:03 +01:00
|
|
|
input[type=radio] {
|
|
|
|
all: unset;
|
2021-08-16 21:59:19 +01:00
|
|
|
cursor: pointer !important;
|
|
|
|
|
2021-08-05 22:47:03 +01:00
|
|
|
display: inline-block;
|
2021-08-10 21:05:47 +01:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2021-08-05 22:47:03 +01:00
|
|
|
border-radius: 50%;
|
2021-08-31 18:33:58 +01:00
|
|
|
margin: 3px 3px 0 5px;
|
2021-08-05 14:46:17 +01:00
|
|
|
}
|
|
|
|
|
2021-08-05 22:47:03 +01:00
|
|
|
/* file selector */
|
|
|
|
input[type=file] {
|
|
|
|
all: unset;
|
2021-09-06 13:08:27 +01:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: var(--unit-size) !important;
|
2021-08-05 22:47:03 +01:00
|
|
|
}
|
2021-08-05 14:46:17 +01:00
|
|
|
|
2021-08-05 22:47:03 +01:00
|
|
|
input + label {
|
2021-08-05 14:46:17 +01:00
|
|
|
all: unset;
|
2021-08-05 22:47:03 +01:00
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* button part of file selector */
|
|
|
|
::file-selector-button {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
background-color: unset;
|
|
|
|
|
|
|
|
border: unset;
|
2021-08-10 21:05:47 +01:00
|
|
|
margin: 3px;
|
2021-08-05 22:47:03 +01:00
|
|
|
}
|
2021-09-25 15:59:16 +01:00
|
|
|
|
|
|
|
/* BUTTONS AND INPUT SHENANIGANS */
|
|
|
|
label, button {
|
|
|
|
font-family: var(--display-font);
|
|
|
|
font-weight: bold !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
select,
|
|
|
|
button,
|
|
|
|
textarea,
|
|
|
|
input {
|
2021-09-25 21:02:11 +01:00
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
2021-09-25 15:59:16 +01:00
|
|
|
font-size: inherit !important;
|
|
|
|
color: var(--white);
|
|
|
|
|
2021-09-25 21:12:07 +01:00
|
|
|
padding: 6px 8px;
|
2021-09-25 15:59:16 +01:00
|
|
|
border: 2px solid var(--bg2);
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
background-color: var(--translucent);
|
2021-09-25 20:36:07 +01:00
|
|
|
box-shadow: var(--shadow);
|
2021-09-25 15:59:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: var(--bg-button);
|
|
|
|
padding: 4px 12px;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
-webkit-appearance: none !important;
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 16px;
|
|
|
|
background-position: center right 5px;
|
|
|
|
|
|
|
|
color: var(--white) !important;
|
|
|
|
border: 2px solid var(--bg2);
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=radio] {
|
|
|
|
border: solid 0.25em var(--bg2) !important;
|
|
|
|
background-color: var(--bg1) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=checkbox] {
|
|
|
|
all: unset;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
width: var(--medium-size);
|
|
|
|
height: var(--medium-size);
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
background-color: var(--bg2) !important;
|
|
|
|
background-size: cover;
|
|
|
|
margin-right: 2px;
|
|
|
|
|
|
|
|
-webkit-mask-image: url("../icons/check-off.svg") !important;
|
|
|
|
-o-mask-image: url("../icons/check-off.svg") !important;
|
|
|
|
-moz-mask-image: url("../icons/check-off.svg") !important;
|
|
|
|
mask-image: url("../icons/check-off.svg") !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=color] {
|
|
|
|
border: unset;
|
|
|
|
padding: 2px;
|
|
|
|
width: 100%;
|
|
|
|
height: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* DISABLED STATE TEXT COLOR */
|
|
|
|
:is(:disabled, :disabled:active)::file-selector-button,
|
|
|
|
button:is(:disabled, :disabled:active),
|
|
|
|
input:is([type=reset], [type=button], [type=submit]):is(:disabled, :disabled:active),
|
|
|
|
select:is(:disabled, :disabled:active) > button {
|
|
|
|
color: var(--white) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* HOVER AND FOCUS */
|
|
|
|
textarea:hover,
|
|
|
|
textarea:focus,
|
|
|
|
button:hover,
|
|
|
|
button:focus,
|
|
|
|
input:hover,
|
|
|
|
input:focus,
|
|
|
|
select:hover,
|
|
|
|
select:focus {
|
|
|
|
color: var(--white) !important;
|
|
|
|
-webkit-box-shadow: inset 0px 0px 0px 2px var(--bg3) !important;
|
|
|
|
-moz-box-shadow: inset 0px 0px 0px 2px var(--bg3) !important;
|
|
|
|
box-shadow: inset 0px 0px 0px 2px var(--bg3) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* checkbox and radio */
|
|
|
|
input[type=radio]:hover,
|
|
|
|
input[type=radio]:focus,
|
|
|
|
input[type=checkbox]:hover,
|
|
|
|
input[type=checkbox]:focus {
|
|
|
|
color: var(--white) !important;
|
|
|
|
background-color: var(--bg3) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=radio]:checked {
|
|
|
|
background-color: var(--white) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=checkbox]:checked {
|
|
|
|
background-color: var(--bg3) !important;
|
|
|
|
-webkit-mask-image: url("../icons/check-on.svg") !important;
|
|
|
|
-o-mask-image: url("../icons/check-on.svg") !important;
|
|
|
|
-moz-mask-image: url("../icons/check-on.svg") !important;
|
|
|
|
mask-image: url("../icons/check-on.svg") !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* file selector */
|
|
|
|
input[type=file] {
|
|
|
|
font-family: var(--main-font) !important;
|
|
|
|
font-weight: normal !important;
|
|
|
|
padding: unset !important;
|
|
|
|
|
|
|
|
background: var(--bg-button);
|
|
|
|
border: 2px solid var(--bg2);
|
|
|
|
border-radius: var(--unit-size);
|
2021-09-25 20:36:07 +01:00
|
|
|
box-shadow: var(--shadow);
|
2021-09-25 15:59:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* button part of file selector */
|
|
|
|
::file-selector-button {
|
|
|
|
font-family: var(--main-font) !important;
|
|
|
|
font-weight: bold !important;
|
|
|
|
color: var(--white) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ANIMATIONS */
|
|
|
|
@keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: unset;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeOut {
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
0% {
|
|
|
|
opacity: unset;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes highlight {
|
|
|
|
0% {
|
|
|
|
box-shadow: initial;
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
box-shadow: inset 0 20px 40px var(--white);
|
|
|
|
transition: box-shadow 0.3s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
box-shadow: initial;
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
}
|
|
|
|
}
|