-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathportfolio.css
127 lines (106 loc) · 1.58 KB
/
portfolio.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
:root {
--c-bg: #363436;
--c-highlight: #a9abaf;
--c-main: #fff39e;
}
* {
box-sizing: border-box;
}
html {
background-color: var(--c-bg);
overflow-y: scroll;
scroll-behavior: smooth;
}
body {
margin: 0;
padding: 0;
transition: 0.2s;
}
canvas {
display: block;
}
table {
border: none;
table-layout: fixed;
width: 100%;
}
/* these text styles are set using divs */
h1, h2, h3, h4, p {
font-style: inherit;
font-weight: inherit;
letter-spacing: inherit;
font-size: inherit;
margin: 0;
padding: 0;
font-family: "adobe-garamond-pro", "Times New Roman", serif;
color: var(--c-main);
}
h1 {
font-size: 6rem;
font-weight: 400;
font-style: normal;
}
h2 {
font-size: 3rem;
font-weight: 400;
font-style: normal;
color: var(--c-highlight);
}
p {
font-size: 1.5rem;
font-weight: 400;
font-style: normal;
color: var(--c-highlight);
}
.main {
display: flex;
flex-direction: row;
}
.left {
margin: 2rem;
flex: 1;
}
.left-text {
margin-top: 2rem;
}
.left-text a {
color: inherit;
text-decoration: none;
}
.right {
flex: 4;
margin: 5rem 2rem 2rem;
}
.projects-header {
margin-left: 0rem;
}
.projects-wrapper {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.project {
overflow: hidden;
}
.project img {
width: 100%;
border-radius: 2rem;
padding: 1rem;
object-fit: cover;
}
.project-closeup {
width: 90%;
aspect-ratio: 1/1;
margin: 1rem;
max-width: 800px;
overflow: hidden;
height: fit-content;
}
.project-closeup a {
height: fit-content;
width: fit-content;
}
.project-closeup img, .project-closeup canvas {
width: 100%;
border-radius: 1.5rem;
}