-
Notifications
You must be signed in to change notification settings - Fork 0
/
credits.css
90 lines (79 loc) · 2 KB
/
credits.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
body
{
background-color: rgb(90, 90, 90);
}
h1.credits-h1
{
color: black;
}
h2.credits-h2
{
color: black;
}
h3.credits-h3
{
color: black;
}
.gradient-text {
/* Fallback: Set a background color. */
background-color: #1D2791;
/* Create the gradient. */
background-image: linear-gradient(45deg, #1D2791, #8312A5, #1D2791, #8312A5, #1D2791, #8312A5);
/* Set the background size and repeat properties. */
background-size: 200%;
background-repeat: repeat;
animation: gradient 30s ease infinite;
/* Use the text as a mask for the background. */
/* This will show the gradient as a text color rather than element bg. */
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
-moz-background-clip: text;
background-clip: text;
-moz-text-fill-color: transparent;
}
header {
position: fixed;
background-color: #1c1e1f;
box-shadow: 0 0 0 2px rgb(22, 22, 22);
height: max(5.5vh, 24px);
top: 1vw;
width: 95%;
padding-right: 20px;
z-index: 100;
border-radius: 100vw;
}
nav ul {
margin: 0;
padding: 0;
list-style-type: none;
}
nav li {
display: inline-block;
margin-right: 30px;
}
a {
color: #424347;
text-decoration: none;
position: relative;
top: 0.5vh;
left: 30px;
font-size: max(4vh, 20px);
}
a:hover {
background-color: black;
/* Create the gradient. */
background-image: linear-gradient(45deg, #3845cf, #8312A5);
/* Set the background size and repeat properties. */
background-size: 200%;
background-repeat: repeat;
animation: gradient 15s ease infinite;
/* Use the text as a mask for the background. */
/* This will show the gradient as a text color rather than element bg. */
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
-moz-background-clip: text;
background-clip: text;
-moz-text-fill-color: transparent;
}