-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.css
71 lines (69 loc) · 1.24 KB
/
main.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
html, body {
width: 100%;
height: 100%;
}
body {
display: flex;
justify-content: center;
align-items: center;
margin: 0;
font-size: 0;
background-image: linear-gradient(20deg, #00177a, #0053ad);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
text-align: center;
font-family: 'Titillium Web', sans-serif;
}
.logo {
width: 75vw;
max-width: 400px;
opacity: 0;
animation: light-up .7s .5s forwards;
font-size: 100px;
color: white;
}
@keyframes light-up {
from { opacity: 0; }
to { opacity: 0.8; }
}
.links {
font-size: 18px;
color: rgba(255, 255, 255, 0.6);
opacity: 0;
animation: reveal .7s .5s forwards;
}
a {
color: #0095bd;
text-decoration: none;
border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
transition: border-bottom .2s;
}
a:hover {
border-bottom: 2px solid #0095bd;
}
@keyframes reveal {
from {
margin-top: -16px;
opacity: 0;
}
to {
margin-top: 16px;
opacity: 1;
}
}
.fade-in {
opacity: 0;
animation: light-up .7s .5s forwards;
}
p {
font-size: 18px;
color: rgba(255, 255, 255, 0.5);
}
.brighter-colour {
color: rgba(255, 255, 255, 0.8);
}
::selection {
background-color: rgb(0, 12, 91, 0.4);
}