summaryrefslogtreecommitdiff
path: root/css/main.css
blob: 51d7c691735438ed3cb4c682b5ce5daa8d5e76b9 (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/* There isn't actually errors, VSCode is being dumb >:( */

/* BACKGROUND SPARKLES CSS */
html, body {
  margin: 0 0;
  padding: 0 0;
  text-align: center;
  font-size: 0;
  background-color: #fdfcf3;
}

body svg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* LOADING ANIMATION */

/* body {
  text-align: center;
  padding-top: 20%;
  background: #fdfdfd;
} */

.loader-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #fdfdfd;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 100px;
  height: 100px;
  display: inline-table;
  box-sizing: border-box;
  position: relative;
  border-spacing: 0.3em;
}
.loader row {
  display: table-row;
}
.loader row span {
  display: table-cell;
  position: relative;
  background: #1d1f20;
  opacity: 0;
  -webkit-animation: flicker 0.5985999999999999s ease-out infinite alternate;
}

@-webkit-keyframes flicker {
  from, 20% {
    opacity: 0;
  }
  100%, to {
    opacity: 1;
  }
}

.loader row:nth-child(1) span:nth-child(1) { -webkit-animation-delay: .50s; }
.loader row:nth-child(1) span:nth-child(2) { -webkit-animation-delay: .70s; }
.loader row:nth-child(1) span:nth-child(3) { -webkit-animation-delay: .60s; }
.loader row:nth-child(2) span:nth-child(1) { -webkit-animation-delay: .20s; }
.loader row:nth-child(2) span:nth-child(2) { -webkit-animation-delay: .80s; }
.loader row:nth-child(2) span:nth-child(3) { -webkit-animation-delay: .90s; }
.loader row:nth-child(3) span:nth-child(1) { -webkit-animation-delay: .10s; }
.loader row:nth-child(3) span:nth-child(2) { -webkit-animation-delay: .30s; }
.loader row:nth-child(3) span:nth-child(3) { -webkit-animation-delay: .40s; }

/* ORINGINAL SITE CSS */
html {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  height: 100%;
}

body {
  font: normal 20px/1.4 'Inter', sans-serif;
  margin: 0 1em;
  padding: 1em 0;
  color: #000;
  background: none;
  display: flex;
}

@supports (font-variation-settings: normal) {
  body {
    font-family: 'Inter var', sans-serif;
  }
}

main {
  margin: auto;
  font-size: 6vh;
  line-height: 1.2;
  max-width: 75vh;
}

a {
  color: inherit;
  text-decoration: none;
  background: #ffdc73; /* hsl(200, 100%, 80% */
}

a:hover,
a:focus {
  outline: none;
  background: #282936;
  color: #fff;
}