177 lines
3.9 KiB
HTML
177 lines
3.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,
|
|
video {
|
|
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: 6px 0;
|
|
padding: 6px;
|
|
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.posts .controls {
|
|
padding: 0 0 36px;
|
|
}
|
|
|
|
section.posts ul.results {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
section.posts ul.results li.result {
|
|
padding: 36px 0;
|
|
border-top: 2px dotted #dccb8b;
|
|
}
|
|
|
|
section.posts .post .metadata {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
section.posts .post .metadata .post-info {
|
|
text-align: right;
|
|
}
|
|
|
|
section.posts .post .metadata .mentions,
|
|
section.posts .post .metadata .date {
|
|
color: #777;
|
|
}
|
|
|
|
section.posts .post .content p:last-child {
|
|
margin-bottom: 0
|
|
}
|
|
|
|
section.posts .post .content + .attachments {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
section.posts .post .controls {
|
|
margin: 24px 0 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
section.posts .post .controls .control-element a {
|
|
padding: 6px;
|
|
margin: 0 0 6px 6px;
|
|
background: #f5e6ab;
|
|
color: #444;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
|
|
@media screen and (min-width: 640px) {
|
|
section.posts .post .controls {
|
|
display: flex;
|
|
justify-content: end
|
|
}
|
|
|
|
section.posts .post .controls .control-element a {
|
|
margin: 0 0 0 12px;
|
|
}
|
|
}
|
|
|
|
code {
|
|
font-family: monospace;
|
|
padding: .16rem .24rem;
|
|
font-size: 92%;
|
|
background: #4c462f;
|
|
color: #eee;
|
|
margin: .16rem;
|
|
}
|
|
</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>
|