forked from artlung/blogofthe.day
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
123 lines (110 loc) · 3.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blog of the .Day: Explore the (indie) web, one blog at a time.</title>
<script src="/assets/js/browser-window.js"></script>
<meta name="description" content="Explore the IndieWeb, the slow web, the independent web, one blog per day">
<link rel="alternate" type="application/rss+xml" title="Blog of the .Day" href="/feed.xml">
<style>
html, body {
height: 100%;
max-width: 100ch;
margin: auto;
}
:root {
--theme-color: #7ea1ff;
}
* {
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
box-sizing: border-box;
}
main {
text-align: center;
margin: auto;
}
iframe {
border: none;
}
browser-window {
display: block;
margin: auto;
}
iframe, browser-window {
height: 500px;
width: clamp(500px, 80%, 800px);
overflow: hidden;
}
#buttons {
margin: auto;
display: grid;
gap: 1ch;
max-width: 24ch;
}
.button-link {
display: inline-block;
padding: 1ch 2ch;
margin: 0;
background-color: var(--theme-color);
color: white;
text-decoration: none;
border-radius: 5px;
}
a {
text-decoration: none;
color: var(--theme-color);
}
a:hover {
text-decoration: underline;
}
details {
margin-top: 20px;
border: 2px dotted var(--theme-color);
padding: 10px;
}
details > h2, details > p {
text-align: left;
margin: 20px 0;
}
footer p small {
color: color-mix(in srgb, var(--theme-color), transparent 60%);
}
</style>
</head>
<body>
<main>
<h1>Blog of the .Day</h1>
<p>Explore the (indie) web, one blog at a time.</p>
<browser-window>
<iframe src="https://{% blogToday %}" title="Blog of the .Day"></iframe>
</browser-window>
<section id="buttons">
<a class="button-link" href="https://{% blogToday %}">Visit {% blogToday %}</a>
<br>
<a class="button-link" href="/feed.xml">Subscribe to Blog of the .Day RSS Feed</a>
</section>
<section id="about">
<details>
<summary>About Blog of the .Day</summary>
<h2>About Blog of the .Day</h2>
<p>While most of your experience of the web may be with corporate-owned websites, there are many people
bucking this trend with a rebellious act: creating and maintaining a personal website.</p>
<p>Bloggers around the world talk about the consequential and the inconsequential, from one's failed attempt
to make a recipe to an idea that challenges the way we think about social networking.</p>
<p>Every day, Blog of the .Day highlights a new blog. The blog is rotated at 12am UTC. <em>note: as of 18
May 2024 Joe Crawford was transferred maintenance of this blog. If you have a suggestion or complaint,
<a href="mailto:[email protected]">email him</a>. It'll be solid soon enough. Or not. The world is an
imperfect place.</em></p>
<p>Want to add your blog to the list? Submit a pull request on the <a
href="https://github.com/artlung/blogofthe.day">project GitHub page</a>.</p>
</details>
</section>
<footer>
<p>made with ❤️, 🍪, and a 💻 by <a href="https://jamesg.blog">james</a> & <a
href="https://artlung.com/">joe</a>.</p>
<p><small>own your web</small></p>
</footer>
</main>
</body>
</html>