-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
142 lines (115 loc) · 2.47 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
@import url('https://fonts.googleapis.com/css?family=Quicksand');
@import url('https://fonts.googleapis.com/css?family=Bree+Serif');
*,*:after,*:before {
margin: 0;
padding: 0;
text-decoration: none;
list-style: none;
color: inherit;
}
html, body {
background-color: #764ba2;
background-image: -webkit-linear-gradient(top left, #667eea 0%, #764ba2 100%);
background-image: -moz-linear-gradient(top left, #667eea 0%, #764ba2 100%);
background-image: -o-linear-gradient(top left, #667eea 0%, #764ba2 100%);
background-image: linear-gradient(to bottom right, #667eea 0%, #764ba2 100%);
/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
min-height: 100%;
color: #fff;
font-family: 'Quicksand', sans-serif;
display: flex;
justify-content: center;
flex-direction: column;
}
h2 {
letter-spacing: 0.02em;
}
.section {
display: flex;
justify-content: center;
align-content: space-around;
padding: 1em;
}
.social-bar > a {
margin: 0 1em;
}
.avatar {
height: 15em;
border-radius: 50%;
border: 0.3em solid #fff;
}
.title {
font-size: 1.8em;
font-family: 'Bree Serif', serif;
animation: type 2s steps(16), blink 0.5s infinite alternate;
max-width: 15.4ch;
overflow: hidden;
white-space: nowrap;
border-right: 3px solid #fff;
}
.bio {
font-size: 1.3em;
text-align: center;
}
.btn-contact {
background: #fff;
text-align: center;
margin-bottom: 1em;
padding: 1em;
border: 0.1em solid #fff;
border-radius: 2em;
}
.btn-contact .text {
color: #000;
}
.list > .item {
text-align: center;
margin-bottom: 1em;
padding: 1em;
border: 0.1em solid #fff;
border-radius: 2em;
}
/* Animations */
.fadeIn {
animation: fadeIn 2s;
}
@keyframes fadeIn {
from { opacity: 0;}
to { opacity: 1;}
}
.bounceIn {
animation: bounceIn 0.2s;
}
@keyframes bounceIn {
from { font-size: 0}
to { font-size: 3em}
}
@keyframes type {
from { max-width: 0}
}
@keyframes blink {
50% {
border-color: transparent;
}
}
/* Sldieshow */
.slides {
display: none;
}
.prev, .next {
display: flex;
align-items: center;
justify-content: center;
width: 1em;
cursor: pointer;
padding: 16px;
transition: 0.6s ease;
-webkit-tap-highlight-color: transparent;
}
.next {
right: 0;
border-radius: 3px 0 0 3px;
}