-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (84 loc) · 1.65 KB
/
style.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
body {
animation-name: drift;
animation-duration: 1.25s;
background: rgb(255,246,246);
background: linear-gradient(139deg, rgb(233 224 224) 37%, rgb(158 170 184) 81%);
font-family: 'Space Mono', monospace;
font-style: oblique;
overflow: hidden;
}
h1 {
font-family: 'Space Grotesk', sans-serif;
font-size: 4em;
transform: rotate(0deg) skew(-5deg, 0);
}
.header {
position: relative;
z-index: 2;
display:block;
}
.logo {
display: block;
float: left;
}
.links {
display: block;
float: right;
padding: 1.5em;
}
.links span {
text-decoration: underline;
display: inline-block;
font-size: 1.05em;
padding: 0.6em;
}
.links a {
color: darkslateblue;
cursor:pointer;
}
.wrapper {
display: table;
width: 100vw;
height: 100vh;
position: fixed;
}
@keyframes drift {
0% { opacity: 0;}
100% { opacity: 1;}
}
.content {
display: table-cell;
vertical-align: middle;
margin: 0 auto;
text-align: center;
}
.description {
display:inline-block;
overflow:hidden;
white-space: nowrap;
margin: 0 auto;
border-right: .15em solid darkslateblue;
animation: typing 2.5s steps(50, end), blink .75s step-end infinite;
padding-right: 0.3em;
}
@keyframes typing {
from { width: 0 }
to { width: 25% }
}
@keyframes blink {
from, to { border-color: transparent }
50% { border-color: darkslateblue; }
}
@media only screen and (max-device-width: 480px) {
body {
font-size: 2em;
}
.links {
font-size: 1em;
padding: 1em;
}
.description {
animation: none;
border-right: none;
}
}