-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
127 lines (101 loc) · 2.22 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
: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;
}
.project {
border-radius: 10px;
h3 {
margin: 0;
margin-block-end: var(--spacing-l);
font-size: var(--font-size-l);
}
p {
margin-block-end: var(--spacing-l);
}
/* circle marker */
.language::before {
content: "";
display: inline-block;
width: 0.5em;
margin: 0.1em 0;
margin-inline-end: 0.4em;
aspect-ratio: 1/1;
background-color: var(--text-color);
border-radius: 50%;
vertical-align: baseline;
}
.language.repo-html::before {
background-color: hsl(12deg 77% 52%);
}
.language.repo-javascript::before {
background-color: hsl(53deg 84% 65%);
}
.language.repo-shell::before {
background-color: hsl(97deg 70% 60%);
}
.language.repo-svelte::before {
background-color: rgb(255, 62, 0);
}
.stars {
svg {
width: 1.1em;
aspect-ratio: 1 / 1;
fill: var(--color-text);
vertical-align: text-bottom;
}
.count {
font-size: var(--font-size-s);
}
}
}