2019-11-10 11:45:15 +00:00
|
|
|
body {
|
2020-08-17 21:05:18 +00:00
|
|
|
background-color: var(--colour-bg);
|
2020-08-20 10:06:44 +00:00
|
|
|
// background-color: var(--colour-graphite);
|
2022-05-27 16:20:53 +00:00
|
|
|
background-image: url('../img/bg/bg-2.png');
|
2020-07-29 13:02:51 +00:00
|
|
|
transition: background-color 0.5s ease-in-out;
|
2020-08-17 21:05:18 +00:00
|
|
|
background-position: var(--size-base) var(--size-8), var(--size-8) var(--size-12);
|
2019-11-10 11:45:15 +00:00
|
|
|
background-repeat-x: no-repeat;
|
|
|
|
background-repeat-y: repeat;
|
|
|
|
background-attachment: fixed;
|
2020-02-21 11:44:13 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-07-29 13:02:51 +00:00
|
|
|
background-size: 100%;
|
2020-02-21 11:44:13 +00:00
|
|
|
|
|
|
|
@include touch {
|
|
|
|
background-attachment: scroll;
|
2020-08-17 20:11:19 +00:00
|
|
|
background-size: 200%;
|
2020-02-21 11:44:13 +00:00
|
|
|
}
|
2020-07-29 13:02:51 +00:00
|
|
|
|
|
|
|
@include darkMode {
|
2020-08-20 10:06:44 +00:00
|
|
|
background-color: var(--colour-graphite);
|
2020-08-16 09:54:33 +00:00
|
|
|
// &::after {
|
|
|
|
// content: '';
|
|
|
|
// background-image: ;
|
|
|
|
// opacity: 1;
|
|
|
|
// background-position: 0 0;
|
|
|
|
// background-repeat-x: no-repeat;
|
|
|
|
// background-repeat-y: repeat;
|
|
|
|
// background-size: 100%;
|
|
|
|
// background-attachment: fixed;
|
|
|
|
// height: 100vh;
|
|
|
|
// width: 100vw;
|
|
|
|
// position: fixed;
|
|
|
|
// pointer-events: none;
|
|
|
|
// }
|
2020-07-29 13:02:51 +00:00
|
|
|
}
|
2019-11-10 11:45:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-content {
|
|
|
|
max-width: 920px;
|
|
|
|
margin: 0 auto;
|
2020-09-05 14:12:50 +00:00
|
|
|
|
|
|
|
&.--wide {
|
|
|
|
max-width: 95vw;
|
|
|
|
}
|
2019-11-10 11:45:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
flex: 1 0 auto;
|
2020-08-17 21:05:18 +00:00
|
|
|
max-width: calc(var(--size-512) + var(--size-128));
|
2019-11-10 11:45:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
footer.page-footer {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
2020-04-25 08:56:48 +00:00
|
|
|
.textbox {
|
|
|
|
@include textbox;
|
|
|
|
}
|
2020-08-16 16:03:53 +00:00
|
|
|
|
|
|
|
.textbox-sm {
|
|
|
|
@include textbox;
|
2020-08-17 21:05:18 +00:00
|
|
|
padding: var(--size-8) var(--size-16);
|
2020-08-16 16:03:53 +00:00
|
|
|
}
|