computersandblues.lodestone/public/index.html
arne 342462fd63 Improve post view
Moves link below main post and adds date
2025-11-18 16:42:28 +01:00

146 lines
2.9 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Lodestone</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
*, *:before, *:after { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
body {
margin: 24px;
min-height: 100vh;
max-width: 960px;
background: #fbf5de;
color: #222;
font-family: sans-serif;
font-size: 16px;
line-height: 1.2;
}
@media screen and (min-width: 768px) {
body {
margin: 24px;
}
}
h1, h2, h3 {
font-family: serif;
margin: 0;
}
h1 {
font-size: 36px;
line-height: 48px;
margin-bottom: 12px;
}
h2 {
font-size: 24px;
line-height: 30px;
margin-bottom: 6px;
}
h3 {
clear: both;
font-size: 18px;
line-height: 24px;
margin-bottom: 6px;
}
img {
max-width: 100%;
height: auto;
}
p {
margin: 16px 0;
}
img.illustration {
width: 150px;
height: auto;
float: left;
margin-right: 24px;
margin-bottom: 24px;
mix-blend-mode: luminosity;
vertical-align: middle;
}
#root {
clear: both;
}
input,
button {
margin: 3px 0;
padding: 3px;
border: 2px solid #222;
color: #222;
background: rgba(255, 255, 255, 0.8);
}
section.login label,
section.login input {
display: block;
width: 100%;
max-width: 480px;
}
section.login input,
section.login button {
padding: 6px;
}
.controls {
padding: 0 0 36px;
}
ul.results {
margin: 0;
padding: 0;
list-style-type: none;
}
ul.results li.result {
padding: 36px 0;
border-top: 2px dotted #dccb8b;
}
.post .metadata {
display: grid;
grid-template-columns: 1fr 1fr;
}
.post .metadata .post-info {
text-align: right;
}
.post .metadata .mentions,
.post .metadata .date {
color: #777;
}
.post .content p:last-child {
margin-bottom: 0
}
.post ul.controls {
margin: 18px 0 0;
padding: 0;
list-style-type: none;
}
</style>
</head>
<body>
<img class="illustration" src="./img/lodestone_attracting_nails.png" width="150" />
<h1>Lodestone</h1>
<p>Lodestone is an application to help you navigate the Fediverse. It surfaces things you enjoyed and allows you to sift through them again. It aims to be a companion to the server hosting your Mastodon instance, or any other compatible Fediverse software.</p>
<div id="root">
Loading application…
<noscript>Please turn on JavaScript to run the application.</noscript>
</div>
<script src="./js/main.js"></script>
</body>
</html>