-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (89 loc) · 2.56 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
body {
background-color: #142533;
color: #FFF;
font-family: 'Courier New';
font-size: 20px; }
a {
color: #FFF;
text-decoration: none; }
img {
width: 100%; }
#arrow {
width: 20%; }
.content {
width: 60%;
margin: auto;
margin-top: 100px;
text-align: center; }
.cursive {
font-family: 'Nothing You Could Do', cursive; }
.contact-link {
display: inline-block;
margin: 0 20px; }
.fa {
transition: color .2s ease; }
.contact-link:focus,
.fa:hover {
color: #55A1DD; }
.img-content {
width: 60%;
margin: auto;
margin-top: 40px; }
#me-img {
float: left;
margin-right: 5%;
padding: 20px 0;
width: 75%; }
#me-text {
margin: 0;
padding-top: 40px; }
.type-line {
border-right: 2px solid rgba(255,255,255,.75);
white-space: nowrap;
overflow: hidden;
margin: 0 auto; }
/* -------- MEDIA QUERY ----------- */
@media (max-width: 900px) {
.content {
width: 90%;
margin-top: 50px; }
.img-content {
width: 90%; }
}
/* -------- ANIMATIONS ------------- */
.fade-in {
opacity: 0;
-webkit-animation: anim-fade-in ease-in 1;
-moz-animation: anim-fade-in ease-in 1;
animation: anim-fade-in ease-in 1;
-webkit-animation-fill-mode: forwards;
-moz-animation-fill-mode: forwards;
animation-fill-mode: forwards;
-webkit-animation-duration: .7s;
-moz-animation-duration: .7s;
animation-duration: .7s; }
@-webkit-keyframes anim-fade-in { from { opacity: 0; } to { opacity: 1; } }
@-moz-keyframes anim-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes anim-fade-in { from { opacity: 0; } to { opacity: 1; } }
.typewriter {
-webkit-animation: anim-typewriter 1.5s steps(12) 1s 1 normal both,
blinkTextCursor 1s steps(12) infinite normal;
-moz-animation: anim-typewriter 1.5s steps(12) 1s 1 normal both,
blinkTextCursor 1s steps(12) infinite normal;
animation: anim-typewriter 1.5s steps(12) 1s 1 normal both,
blinkTextCursor 1s steps(12) infinite normal; }
@-webkit-keyframes anim-typewriter { from { width: 0; } to { width: 14rem; } }
@-moz-keyframes anim-typewriter { from { width: 0; } to { width: 14rem; } }
@keyframes anim-typewriter { from { width: 0; } to { width: 14rem; } }
@-webkit-keyframes blinkTextCursor {
from { border-right-color: rgba(255,255,255,.75); }
to { border-right-color: transparent; }
}
@-moz-keyframes blinkTextCursor {
from { border-right-color: rgba(255,255,255,.75); }
to { border-right-color: transparent; }
}
@keyframes blinkTextCursor {
from { border-right-color: rgba(255,255,255,.75); }
to { border-right-color: transparent; }
}