-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (97 loc) · 1.7 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
* {
font-family: 'Roboto', sans-serif;
}
.header h1 {
text-align: center;
white-space: nowrap;
}
.header {
display: flex;
}
.header * {
flex: 1;
}
.stroke {
stroke-dasharray: 1000;
animation: dash 3s ease-out;
}
@keyframes dash {
from {
stroke-dashoffset: 1000;
}
}
/* just so vscode displays each used in the palette */
.palette {
background-color: #002d42;
background-color: #ffffff;
background-color: #007fc4;
background-color: #00a0e6;
background-color: #002d42;
background-color: #007fc4;
background-color: #00a0e6;
}
h2, h4 {
margin-left: 8%;
margin-right: 8%;
}
.headshot {
display: block;
margin: 0 auto;
border-radius: 50%;
}
.header-links {
display: flex;
justify-content: center;
}
.header-links a {
flex: 0 1 auto;
margin-left: 8px;
margin-right: 8px;
}
.paragraph {
margin-left: 9%;
margin-right: 9%;
font-size: clamp(1em, 2.5vw, 1.15em);
}
.projects {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-left: 8%;
margin-right: 8%;
}
.project-item {
flex: 1 1 180px;
padding: 12px;
margin: 8px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: box-shadow 300ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
}
.project-item:hover {
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
}
.projects img {
object-fit: cover;
object-position: top;
width: 100%;
height: 180px;
}
.project-links, .header-links {
min-height: 20px;
}
a {
text-decoration: none;
}
@media only screen and (max-width: 600px) {
.projects img {
height: 100px;
}
}
@media only screen and (max-width: 550px) {
.project-item {
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
}
}