summaryrefslogtreecommitdiffstats
path: root/light.css
blob: 671362c5fb491e7f6f7f62f8210eddb0cac4a28b (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
body {
  background-color: #0a1010;
}

.v2 {
  font-family: "Iosevka Term Web";
  font-weight: 100;
  font-size: 104px;
  text-align: left;
  margin: 5% 5% 0;
  overflow: hidden;
}

@keyframes cover-trans {
  to {
    shape-inside: polygon(0 0,  100% 0, 100% 100%, 0 100%);
    -webkit-clip-path:  polygon(0 0,  100% 0, 100% 100%, 0 100%);
  }
}

.main-rect {
  background-color: #132020;
  color: cyan;
  display: inline-block;
  padding: 0 20px;
  #shape-inside: polygon(0 0, 0px 0, 0px 100% 0 100%);
  #shape-padding: 20px;
}

.main-label {
  animation: cover-trans 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
  -webkit-clip-path: polygon(60% 0, 60% 0, 60% 100%, 60% 100%);
}

.time {
  display: inline-block;
  margin-left: 5%;
  margin-top: 10px;
  animation: cover-trans 1.1s;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.41,.08,.46,.57);
  -webkit-clip-path: polygon(40% 0, 40% 0, 40% 100%, 40% 100%);
}

.name-label {
  font-size: 24;
  font-weight: 400;
  padding: 0px 8px;
  color: teal;
}

@font-face {
	font-family: 'Iosevka Term Web';
	font-weight: 100;
	font-style: normal;
	src: url('woff2/iosevka-term-thin.woff2') format('woff2');
}

@font-face {
	font-family: 'Iosevka Term Web';
	font-weight: 200;
	font-style: normal;
	src: url('woff2/iosevka-term-extralight.woff2') format('woff2');
}

@font-face {
	font-family: 'Iosevka Term Web';
	font-weight: 400;
	font-style: normal;
	src: url('woff2/iosevka-term-regular.woff2') format('woff2');
}