-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
126 lines (103 loc) · 1.6 KB
/
styles.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
@font-face {
font-family: 'Iosevka Custom';
src: url('./assets/fonts/IosevkaCustom-Regular.ttf');
}
:root {
background: #272e33;
color: #d3c6aa;
font-family: 'Iosevka Custom', monospace;
}
body {
display: grid;
grid-template-rows: 5rem 1fr 5rem;
min-height: 98vh;
}
header {
text-align: center;
}
#about-me {
grid-area: about-me;
}
#recommended {
grid-area: recommended;
}
#public-projects {
grid-area: public-projects;
}
#other {
grid-area: other;
}
main {
display: grid;
grid-template-columns: 2fr 1fr;
grid-template-rows: 10rem 10rem 14rem;
grid-template-areas:
"about-me recommended"
"public-projects recommended"
"other recommended";
padding: 0 6vmin 0 6vmin;
}
#email {
grid-area: email;
}
#mastodon {
grid-area: mastodon;
}
#lemmy {
grid-area: lemmy;
}
#patreon {
grid-area: patreon;
}
#kofi {
grid-area: kofi;
}
#paypal {
grid-area: paypal;
}
#sourcehut {
grid-area: sourcehut;
}
#codeberg {
grid-area: codeberg;
}
#github {
grid-area: github;
}
footer {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-areas:
"email sourcehut paypal"
"mastodon codeberg kofi"
"lemmy github patreon";
color: #98971a;
text-align: center;
align-content: center;
}
a {
color: #7fbbb3;
}
a:hover {
color: #384b55;
}
h3 {
color: #dbbc7f;
}
@media only screen and (max-width: 1000px) {
main {
grid-template-columns: 1fr 1fr;
padding: 0;
}
}
@media only screen and (max-width: 700px) {
main {
grid-template-columns: 1fr;
grid-template-rows: 10rem 10rem 20rem 1fr;
grid-template-areas:
"about-me"
"public-projects"
"other"
"recommended";
}
}