-
Notifications
You must be signed in to change notification settings - Fork 0
/
sinclair.scss
36 lines (30 loc) · 903 Bytes
/
sinclair.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// https://codepen.io/markmead/pen/YjQKeZ
@use "../base/animators/twirler" as animator;
@use "../base/layout";
@use "../base/vars";
$grey: rgba(4, 4, 4, 0.445);
$magenta: rgb(191, 0, 191);
$white: rgb(255, 255, 255);
$off-white: rgb(191, 191, 191);
$blue: rgb(0, 0, 191);
$black: rgb(0, 0, 0);
$active-colour: $magenta;
$background-colour: $black;
$inactive-colour: $off-white;
@font-face {
font-family: "Sinclair";
src: url("../../fonts/sinclair.ttf") format("truetype");
}
body {
font-family: "Sinclair";
background: $background-colour;
background-image: url(vars.$background-root + "1982.svg");
background-repeat: no-repeat;
background-size: auto 3vh;
background-position: center bottom 3vh;
font-size: 6vh;
color: $inactive-colour;
}
animator.$activated-styles: (color: $active-colour);
animator.$deactivated-styles: (color: $inactive-colour);
@include animator.setup(2s);