-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
135 lines (103 loc) · 3.47 KB
/
index.html
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
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="I'm 15 and I like programming, open-source, plain text and Git, the internet and the web, drawing, making and learning.">
<script defer src="https://eu.umami.is/script.js" data-website-id="bdecf727-fa9c-46b3-b286-37931470d4ae"></script>
<title>Ayo Reis</title>
<style>
:root {
--spacing: 32px;
--spacing-relative: 1lh;
--spacing-relative-small: 0.25lh;
--border: 2px solid white;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
margin-inline: auto;
padding-inline: max(calc((100% - 66ch) / 2), 1rem);
font-family: monospace;
font-size: clamp(16px, 2vw, 18px);
line-height: 1.5;
color: white;
background-color: black;
}
header {
padding-top: var(--spacing);
> nav > ul {
list-style-type: none;
display: flex;
justify-content: space-between;
flex-wrap: wrap;;
> span {
border-left: var(--border);
}
}
}
main {
> :not(:first-child) {
margin-top: var(--spacing-relative);
}
ul > li:not(:first-child) {
margin-top: var(--spacing-relative-small);
}
}
footer > div {
margin-top: var(--spacing);
display: flex;
justify-content: center;
gap: var(--spacing);
> a > img {
image-rendering: pixelated;
}
}
hr {
margin-block: var(--spacing);
border: none;
border-top: var(--border)
}
a {
color: hsl(calc(360 / 4), 100%, 50%);
&:visited {
color: hsl(calc(360 / 4 * 3), 100%, 50%);
}
}
strong {
padding-inline: 0.5ch;
color: black;
background-color: white;
}
</style>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="/">Ayo Reis</a></li>
<span></span>
<li><a href="https://github.com/ayoreis">GitHub</a></li>
<li><a href="https://instagram.com/ayo.reis">Instagram</a></li>
<li><a rel="me" href="https://mastodon.social/@ayoreis">Mastodon</a></li>
</ul>
</nav>
</header>
<hr>
<main>
{markdown}
</main>
<hr>
<footer>
<p>Open source at <a href="https://github.com/ayoreis/ayoreis.com">github.com/ayoreis/ayoreis.com</a> with <3</p>
<div>
<a href="https://archlinux.org">
<img src="static/Arch.png" alt="Arch Linux 88x31 button">
</a>
</div>
</footer>
</body>
</html>