-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
159 lines (142 loc) · 2.73 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
i { font-style:italic; }
b { font-weight: bold; }
/* big */
@media only screen and (min-width: 900px) {
html { font-size: 62.5%; /*62.5% = 10px*/}
}
/* med */
@media only screen and (max-width: 899px) and (min-width: 600px) {
html { font-size: 1vw; /*62.5% = 10px*/}
}
/* small */
@media only screen and (max-width: 599px) and (min-width: 50px) {
html { font-size: 62.5%; /*62.5% = 10px*/}
}
body {
background-color:black;
font-family: 'Roboto Slab', serif;
font-size: 1.6rem;
}
h1 {
font-size: 4.8rem;
}
h2 {
font-size: 3.2rem;
text-align: center;
margin-bottom: 2rem;
}
p {
line-height: 1.6;
margin: auto;
}
p + p {
margin-top: 1rem;
}
.hello-anim {
overflow: hidden;
white-space: nowrap;
display: inline-block;
position: relative;
animation: typewriter 6s steps(8) infinite normal both,
blinkCursor 700ms steps(2) infinite normal;
border-right: .4rem solid white;
}
@keyframes typewriter {
0%, 80%, 100% {
width: 0;
}
30%, 50% {
width: 8ch;
}
}
@keyframes blinkCursor {
from {
border-style: solid;
}
to {
border-style: hidden;
}
}
.view-wrapper{
position: absolute;
left: 0;
top: 0;
min-width: 100%;
min-height: 100%;
z-index: 1;
display: flex;
overflow: auto;
}
.flex-container {
display: flex;
flex-wrap: wrap;
}
.flex-container-reverse {
display: flex;
flex-wrap: wrap-reverse;
}
video {
object-fit: cover;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
}
/* normal layout */
@media only screen and (min-width: 600px) {
.main {
width:90rem;
position: relative;
margin: auto;
}
}
/* phone-layout */
@media only screen and (max-width: 599px) and (min-width: 50px) {
.main {
width:100vw;
position: relative;
margin: auto;
}
}
/* force-wrap... ID-based stuff is really jank... don't ever do this (again) */
@media only screen and (max-width: 515px) and (min-width: 50px) {
#fw1, #fw2{
flex: 0 0 97vw;
}
}
.clear { clear:both; }
.blob, .bloblink {
flex: 1;
position: relative;
margin: .5rem;
box-sizing: border-box;
border: .2rem solid transparent;
border-radius: 2rem;
padding: 2.4rem;
background: rgba(44, 47, 51, .8);
color:#FFFFFF;
}
.bloblink:hover {
border: .2rem solid crimson;
}
.img-link {
border: .2rem transparent;
}
.img-link:hover {
box-shadow: 0 0 0 .2rem crimson;
}
a:link, a:visited {
color: #99AAB5;
text-decoration: none;
}
a:hover {
color: crimson;
}
.space-container {
display: flex;
flex:1;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
}