-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
60 lines (54 loc) · 1.18 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
body {
margin: 0;
padding: 0;
/*background: url("https://s3.amazonaws.com/123rf-chrome/images/12564740_xl.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;*/
background: radial-gradient(transparent, rgb(39, 38, 38)), rgb(46, 46, 46);
font-family: 'Source Code Pro', monospace;
}
/* objects */
.container {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/*id for specific elements*/
#name{
color: rgb(151, 151, 151);
display: inline-block;
font-size: 2.5em;
text-shadow: 0 1px 5px rgba(0,0,0,.1);
}
.typing-container__text {
color: #fff;
display: inline-block;
font-size: 1.5em;
}
.typing-container__cursor {
opacity: 1;
width: 12px;
display: inline-block;
margin-left: -2px;
height: 100%;
border: 1.5px solid #FF2E88;
animation: blink 1s infinite linear;
font-weight: bold;
}
@keyframes blink {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
/*
. means class
# means id
*/