-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
187 lines (186 loc) · 3.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
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
/*
COLOR PALETTE
https://coolors.co/palette/7400b8-6930c3-5e60ce-5390d9-4ea8de-48bfe3-56cfe1-64dfdf-72efdd-80ffdb
10002B - black purple
7400B8 - Darker Purple
6930C3 - Purple
5E60CE - Lavender
5390D9 - Powder Blue
E0AAFF - light purple
4EA8DE - Sky Blue
48BFE3 - Teal Blue
56CFE1 - Teal green
64DFDF - lighter teal green
72EFDD - mint green
80FFDB - bright green
38A3A5 - bluish green
57CC99 - grass green
006400 - Darker Green
3a0ca3 - Dark Purple
*/
/* Global styles
------------------------------------------------------------------------------ */
html {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
body {
color: black;
margin: 0;
padding: 0;
font-family: "PT Sans Narrow", sans-serif;
font-size: 15px;
line-height: 1.5;
}
/*
a:visited {
color: ;
}
*/
a:hover {
background: lightskyblue;
text-decoration: none;
}
img {
width: 300px;
}
h1 {
font-size: 60px;
line-height: 1;
}
h2 {
font-size: 30px;
}
h1,
h2 {
font-family: "Caveat", cursive;
font-weight: 400;
}
.content-wrap {
max-width: 800px;
width: 85%;
margin: 0 auto;
padding: 60px 0;
}
h3 {
margin-bottom: 0;
}
.item-details h3 + p {
font-style: italic;
}
.item-details h3 ~ p {
margin: 0;
}
.divider > section {
border-bottom: 1px dashed #7400b8;
padding: 25px 0;
}
.divider > section:last-of-type {
border-bottom: none;
}
/* Profile
------------------------------------------------------------------------------ */
header {
background: #3a0ca3;
color: white;
}
/* Projects
------------------------------------------------------------------------------ */
.projects {
background: #4ea8de;
}
.projects {
overflow: hidden;
}
.projects h3 {
margin-top: 0;
}
.digital {
background: #7400b8;
color: white;
padding: 10px 5px;
text-decoration: none;
display: inline-block;
}
/* Work Experience
------------------------------------------------------------------------------ */
.work-experience {
background: #72efdd;
color: black;
}
.history {
color: #7400b8;
text-decoration: underline;
}
/* Education
------------------------------------------------------------------------------ */
.education {
color: black;
background-image: url(../images/joanna-kosinska-unsplash.jpg);
background-size: cover;
background-position: top-right;
padding-bottom: 100px;
}
.education p {
width: 60%;
}
/* Contact Info
------------------------------------------------------------------------------ */
footer {
background: #48bfe3;
color: black;
}
.twitter {
color: #7400b8;
text-decoration: underline;
}
.linkedin {
color: #7400b8;
text-decoration: underline;
}
.contact-list {
list-style-type: none;
padding: 0;
}
.contact-list a {
padding: 15px;
display: inline-block;
}
/* Responsive
------------------------------------------------------------------------------ */
@media screen and (min-width: 750px) {
header,
footer {
text-align: center;
}
.projects img {
float: left;
margin-right: 20px;
}
.job-item {
display: grid;
grid-template-columns: 1fr 2fr;
column-gap: 20px;
}
.contact-list {
display: flex;
justify-content: center;
}
}
@media screen and (max-width: 749px) {
h1 {
font-size: 75px;
line-height: 0.9;
margin-bottom: 20px;
}
h2 {
line-height: 1;
}
.contact-list a {
padding: 5px;
}
}