-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
168 lines (143 loc) · 2.45 KB
/
main.css
File metadata and controls
168 lines (143 loc) · 2.45 KB
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
160
161
162
163
164
165
166
167
168
*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
height: 100vh;
font-family: 'PT Sans', 'Helvetica', sans-serif;
}
.blurb,
.photo {
position: relative;
-webkit-animation: slide .7s ease-out forwards;
animation: slide .7s ease-out forwards;
opacity: 0;
}
.blurb {
top: 60px;
width: 500px;
}
.photo {
top: -60px;
}
@-webkit-keyframes slide {
100% {
top: 0;
opacity: 1;
}
}
@keyframes slide {
100% {
top: 0;
opacity: 1;
}
}
.container {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
justify-content: center;
padding-top: 200px;
}
.container .photo {
width: 100px;
height: 100px;
border-radius: 50%;
margin-right: 30px;
background-image: url(assets/photo.jpg);
background-size: cover;
background-repeat: no-repeat;
}
.blurb .line {
border-bottom: 4px solid #fd9b3a;
width: 60px;
padding-top: 4px;
}
.blurb h1 {
font-family: 'PT Serif', 'Times New Roman', serif;
font-style: italic;
font-size: 50px;
margin: 22px 0 0;
}
.blurb h1 span {
font-family: 'Times New Roman', serif;
font-style: normal;
font-size: 14px;
font-weight: 300;
margin-left: 15px;
color: #9e9e9e;
}
.blurb .noun {
font-size: 14px;
margin: 0;
color: #9e9e9e;
}
.blurb ol {
padding-left: 21px;
}
.blurb li {
color: #fd9b3a;
font-weight: 700;
font-size: 15px;
}
.blurb p {
font-size: 18px;
font-weight: 400;
line-height: 1.5;
color: #555;
}
.blurb a {
color: #fd9b3a;
font-family: 'PT Serif', 'Times New Roman', serif;
font-style: italic;
text-decoration: none;
border-bottom: 1px solid #fd9b3a;
}
.blurb a:hover {
padding-bottom: 2px;
color: #fd8005;
border-bottom: 1px solid #fd8005;
}
@media (max-width: 700px) {
.container {
-webkit-flex-direction: column;
flex-direction: column;
padding: 80px;
margin-top: 0;
}
.container .photo {
width: 80px;
height: 80px;
}
.container .blurb {
width: 100%;
}
.blurb h1 {
font-size: 45px;
margin-top: 15px;
}
.blurb h1 span,
.blurb .noun {
font-size: 13px;
}
.blurb p {
font-size: 17px;
}
.blurb .line {
display: none;
}
}
@media (max-width: 450px) {
.container {
padding: 15px;
margin-top: 10vh;
}
}