-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (68 loc) · 1.45 KB
/
style.css
File metadata and controls
83 lines (68 loc) · 1.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
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Custom Properties, update these for your own design */
:root {
--ff-primary: 'Source Sans Pro', sans-serif;
--ff-secondary: 'Source Code Pro', monospace;
--fw-reg: 300;
--fw-bold: 900;
--clr-light: #fff;
--clr-dark: #303030;
--clr-accent: #16e0bd;
--fs-h1: 3rem;
--fs-h2: 2.25rem;
--fs-h3: 1.25rem;
--fs-body: 1rem;
--bs: 0.25em 0.25em 0.75em rgba(0,0,0,.25),
0.125em 0.125em 0.25em rgba(0,0,0,.15);
}
@media (min-width: 800px) {
:root {
--fs-h1: 4.5rem;
--fs-h2: 3.75rem;
--fs-h3: 1.5rem;
--fs-body: 1.125rem;
}
}
.my-work {
background-color: var(--clr-dark);
background-image: url(image/[email protected]);
background-size: cover;
background-blend-mode: multiply;
color: var(--clr-light);
text-align: center;
}
.section__title--works {
color: var(--clr-accent);
position: relative;
}
.section__title--works::after {
content: '';
display: block;
width: 2em;
height: 1px;
margin: 0.5em auto 1em;
background: var(--clr-light);
opacity: 0.25;
}
.works {
margin-bottom: 4em;
}
.work {
max-width: 500px;
margin: 0 auto;
}
@media (min-width: 800px) {
.works {
display: flex;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
}
.work + .work {
margin-left: 2em;
}
}