-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
127 lines (111 loc) · 2.11 KB
/
index.css
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
@font-face {
font-family: Arist;
src: url("./static/aristotelica/Aristotelica Display DemiBold Trial.ttf");
}
:root {
--black: #252525;
--white: #D0D0D0;
}
html {
font-family: Arist, Roboto, Arial, Helvetica, sans-serif;
background-color: var(--black);
font-size: 2vw;
color: var(--white);
}
body {
display: flex;
justify-content: center;
height: 100vh;
background: #252525;
background: linear-gradient(180deg, #252525 0%, #252525 80%, #ff5e00 180%);
overflow: hidden;
margin: 0;
}
img {
width: 40vw;
margin-bottom: 1em;
margin-top: 5em;
}
main {
display: flex;
flex-direction: column;
align-items: center;
z-index: 1;
}
.diamond {
width: 382px;
height: 382px;
background: #232323;
background: linear-gradient(-45deg, #3233347f 0%, #32333400 100%);
transform: rotate(45deg);
overflow: hidden;
}
.diamond:before {
background: #ffffff3f;
content: "";
filter: blur(20px);
height: 140%;
left: -30%;
position: absolute;
width: 25px;
opacity: .1;
animation: light 10s infinite ease-in;
}
.diamond {
width: 382px;
height: 382px;
background: #232323;
background: linear-gradient(-45deg, #3233347f 0%, #32333400 100%);
transform: rotate(45deg);
overflow: hidden;
}
.diamond:before {
background: #ffffff3f;
box-shadow: 0 0 10px 10px #ffffff;
filter: blur(20px);
height: 140%;
left: -30%;
position: absolute;
width: 25px;
transition: all .8s;
opacity: .1;
animation: light 10s infinite ease-in;
}
.background {
position: absolute;
display: flex;
top: 7em;
z-index: 0
}
@media only screen and (orientation: portrait){
h1 {
font-size: 7vw;
}
img {
width: 75vw;
margin-bottom: 3em;
}
.background{
flex-direction: column;
}
}
#d2:before {
animation-delay: 1093ms;
}
#d3:before {
animation-delay: 2186ms;
}
#d4:before {
animation-delay: 3279ms;
}
#d5:before {
animation-delay: 4372ms;
}
@keyframes light {
0% {
left: -50%;
}
100% {
left: 1000%;
}
}