-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
88 lines (72 loc) · 1.51 KB
/
style.css
File metadata and controls
88 lines (72 loc) · 1.51 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
:root {
--color-text: hsl(226deg 30% 95%);
--color-border: hsl(226deg 10% 40%);
--color-background: hsl(226, 30%, 20%); /* hsl(193, 80%, 10%); */
--font-size-xs: 0.8em;
--font-size-s: 0.9em;
--font-size-m: 1.2em;
--font-size-l: 1.44em;
--font-size-xl: 1.728em;
--font-size-xxl: 2.074em;
--font-size-xxxl: 2.488em;
--spacing-none: 0;
--spacing-xxs: 0.25rem;
--spacing-xs: 0.5rem;
--spacing-s: 0.75rem;
--spacing-m: 1rem;
--spacing-l: 1.5rem;
--spacing-xl: 2rem;
--spacing-xxl: 4rem;
--spacing-xxxl: 6rem;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
font-family: Inter, Verdana, Geneva, Tahoma, sans-serif;
background-color: var(--color-background);
color: var(--color-text);
}
p {
margin-block-end: var(--spacing-l);
}
#maincontent {
max-width: 800px;
min-height: 80vh;
margin: var(--spacing-xxl) auto;
padding-inline: var(--spacing-s);
}
a {
color: hsl(224, 80%, 70%);
text-underline-offset: 0.25rem;
}
.projects a {
display: inline-block;
width: 100%;
height: min-content;
padding: var(--spacing-l) var(--spacing-s);
border: 1px solid var(--color-border);
border-radius: 4px;
color: var(--text-color);
margin-block-end: var(--spacing-xl);
text-decoration: none;
}
.blog .post {
display: flex;
place-items: center;
gap: 0.5rem;
flex-wrap: wrap;
margin-block-end: var(--spacing-m);
}
.post h3 {
margin: 0;
font-weight: normal;
}
.post span {
font-size: var(--font-size-s);
}
.post time {
font-size: var(--font-size-s);
}