-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
122 lines (103 loc) · 1.89 KB
/
styles.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
:root {
--g1: rgb(135, 4, 23);
--g2: rgb(255, 115, 0);
}
@keyframes background-pan {
from {
background-position: 0% center;
}
to {
background-position: -200% center;
}
}
body {
animation: background-pan 5s linear infinite;
background: linear-gradient(
to right,
var(--g1),
var(--g2),
var(--g1)
);
background-size: 300%;
height: 100vh;
overflow: hidden;
margin: 0px;
z-index: -20;
}
body.toggled {
animation: none;
}
body.toggled > #title {
opacity: 0;
}
body.toggled > #icon {
opacity: 1;
}
body.toggled > #tiles > .tile:hover {
opacity: 0.1 !important;
}
.centered {
left: 50%;
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
}
#tiles {
height: calc(100vh - 1px);
width: calc(100vw - 1px);
position: relative;
z-index: 2;
display: grid;
grid-template-columns: repeat(var(--columns), 1fr);
grid-template-rows: repeat(var(--rows), 1fr);
}
#tiles > h1{
color: white;
font-family: "Rubik", sans-serif;
font-size: 6vw;
margin: 0px;
pointer-events: none;
transition: opacity 1200ms ease;
width: 50vw;
z-index: 3;
text-align: center;
}
.tile {
cursor: pointer;
position: relative;
}
.tile:hover:before {
background-color: rgb(30, 30, 30);
}
.tile:before {
background-color: rgb(15, 15, 15);
content: "";
inset: 0.5px;
position: absolute;
}
#title {
color: white;
font-family: "Rubik", sans-serif;
font-size: 6vw;
margin: 0px;
pointer-events: none;
transition: opacity 1200ms ease;
width: 50vw;
z-index: 3;
text-align: center;
}
#title > .fancy {
color: var(--g2);
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 1em;
line-height: 0.7em;
}
#icon {
color: rgba(255, 255, 255, 0.15);
font-size: 80vmin;
opacity: 0;
pointer-events: none;
transition: opacity 1200ms ease;
z-index: 1;
}
/* -- YouTube Link Styles -- */