generated from prashb99/PersonalWebsiteTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
133 lines (123 loc) · 2.15 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
html{
height: 100%;
overflow: hidden;
}
/*
Background settings and color
*/
body {
margin:0;
background-color: #110d08;
background-repeat:no-repeat;
background-size:cover;
}
/*
Name display on top of page
*/
h1{
background-size: cover;
color: wheat;
font-family: 'Quicksand', sans-serif;
text-align: center;
box-sizing: border-box;
margin-top: 4%;
width: 20%;
margin-left: auto;
margin-right: auto;
}
/*
Links at the bottom of the page
*/
ul {
position:absolute;
bottom:0;
text-align: center;
list-style-type: none;
margin: 0;
padding: 0;
width: 100%;
}
/* Style all font awesome icons */
.fa {
position: relative;
padding: 1%;
font-size: 30px;
width: 50px;
text-align: center;
text-decoration: none;
color: wheat;
margin-left: auto;
margin-right: auto;
}
/* Glow when hovered over */
.fa:hover {
color: rgba(245,220, 174);
text-shadow: 0px 0px 10px;
}
/* Turn black when clicked on */
.fa:active {
color: black;
}
/*
Covers each line in the about paragraph. Each is the same but wait different times to animate to give
illusion of typing. Add as many of these as line in your description.
*/
#line1 {
font-size: large;
width: 10%;
margin-left: 30%;
margin-top: 10%;
animation-fill-mode: both;
}
#line2 {
font-size: large;
width: 10%;
margin-left: 30%;
margin-top: 2%;
animation-delay: 1.5s;
animation-fill-mode: both;
}
#line3 {
font-size: large;
width: 10%;
margin-left: 30%;
margin-top: .5%;
animation-delay: 3s;
animation-fill-mode: both;
}
#line4 {
font-size: large;
width: 10%;
margin-left: 30%;
margin-top: .5%;
animation-delay: 4.5s;
animation-fill-mode: both;
}
#line5 {
font-size: large;
width: 10%;
margin-left: 30%;
margin-top: .5%;
animation-delay: 6s;
animation-fill-mode: both;
}
/* Animation code for the main paragraph */
.typewrite1 {
color: wheat;
overflow: hidden;
border-right: .15em solid wheat;
white-space: nowrap;
margin: 0 auto;
letter-spacing: .10em;
animation:
typing 3.5s steps(100, end),
blink-caret .75s step-end infinite;
}
@keyframes typing {
from {width: 0}
to { width: 100% }
}
@keyframes blink-caret {
from, to { border-color: transparent }
100% { border-color: wheat;}
}