aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-09-16 21:06:42 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-09-16 21:06:42 +0100
commit25a39146ed49b4ae22a5cead6642d055da7ded81 (patch)
tree51c8846b9feb89e0cc89c62eede8b623344b8f3d
parent40cfa28d99f0942ee01f19d96dc8002183f68c75 (diff)
downloadblossom-25a39146ed49b4ae22a5cead6642d055da7ded81.tar.gz
blossom-25a39146ed49b4ae22a5cead6642d055da7ded81.tar.bz2
blossom-25a39146ed49b4ae22a5cead6642d055da7ded81.zip
small fixes
-rw-r--r--src/main.rs6
-rw-r--r--static/badges/pleroma.pngbin0 -> 2165 bytes
-rw-r--r--static/style.css18
-rw-r--r--templates/base.html.tera2
-rw-r--r--templates/contact.html.tera11
5 files changed, 26 insertions, 11 deletions
diff --git a/src/main.rs b/src/main.rs
index e538f84..ed768b4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,6 +6,7 @@ mod skweets;
use std::borrow::Cow;
use std::collections::HashSet;
+use std::time::Duration;
use atom_syndication::Feed;
use rocket::fs::{relative, FileServer};
@@ -136,7 +137,10 @@ async fn main() -> std::result::Result<(), rocket::Error> {
.manage(Clients {
listenbrainz: listenbrainz::raw::Client::new(),
skinnyverse: mastodon_async::Mastodon::from(skinny_data),
- reqwest: reqwest::Client::new(),
+ reqwest: reqwest::Client::builder()
+ .connect_timeout(Duration::from_secs(1))
+ .build()
+ .unwrap(),
})
.attach(Template::custom(|engines| {
engines.tera.autoescape_on(vec![]);
diff --git a/static/badges/pleroma.png b/static/badges/pleroma.png
new file mode 100644
index 0000000..099c4f9
--- /dev/null
+++ b/static/badges/pleroma.png
Binary files differ
diff --git a/static/style.css b/static/style.css
index 2cefd4a..7645b53 100644
--- a/static/style.css
+++ b/static/style.css
@@ -279,7 +279,7 @@ iframe {
}
.post-entry {
- height: 1.4em;
+ min-height: 1.3em;
display: flex;
justify-content: space-between;
background-color: #0000;
@@ -289,6 +289,10 @@ iframe {
font-size: 1.1rem;
}
+.post-date {
+ min-width: 10ch;
+}
+
.post-entry:hover {
font-family: 'Steps-Mono';
}
@@ -447,7 +451,8 @@ iframe {
float: right;
width: auto;
top: 2vw;
- margin: 2vw;
+ right: -2vw;
+ margin: 2vw 0 2vw 2vw;
}
.checklist ul {
@@ -461,6 +466,15 @@ code {
font-family: 'Go Mono';
}
+pre {
+ background-color: #e8cdcf;
+ border: 1px solid #311f20;
+}
+
+pre code {
+ border: none;
+}
+
/* branches */
.branch {
diff --git a/templates/base.html.tera b/templates/base.html.tera
index 1bbab76..9884964 100644
--- a/templates/base.html.tera
+++ b/templates/base.html.tera
@@ -35,7 +35,7 @@
<li><a class="{% block nav_home %}{% endblock %}" href="/">home</a></li>
<li><a class="{% block nav_contact %}{% endblock %}" style="font-family: 'Compagnon Roman';" href="/contact">kontakt</a></li>
<li><a class="{% block nav_poetry %}{% endblock %}" href="/poetry" style="font-family: Louise">poesia</a></li>
- <li><a class="{% block nav_blog %}{% endblock %}" style="font-family: Sligoil" href="/blog">girlblog</a></li>
+ <li><a class="{% block nav_blog %}{% endblock %}" style="font-family: Sligoil" href="/blog">weblog</a></li>
<li><a class="{% block nav_projects %}{% endblock %}" style="font-family: 'DeGerm LoCase';" href="/projects">projetos</a></li>
<!--<li><a class="{% block nav_sound %}{% endblock %}" style="font-family: 'kirieji'" href="/sound">音</a></li>-->
<li><a class="{% block nav_listens %}{% endblock %}" style="font-family: 'Almendra Display'; font-weight: 900;" href="https://listenbrainz.org/user/celblossom">écoute</a></li>
diff --git a/templates/contact.html.tera b/templates/contact.html.tera
index dc78959..28ec6e6 100644
--- a/templates/contact.html.tera
+++ b/templates/contact.html.tera
@@ -19,16 +19,13 @@
<ul>
<li><h3>pronouns: <span class="p-x-pronoun-nominative">she</span>/<span class="p-x-pronoun-accusative">her</span></h3></li>
- <li>email: <a class="u-email" href="mailto:cel@blos.sm">cel@blos.sm</a> <a href="cel.asc" class="u-key" rel="pgpkey">pgp key</a></li>
- <li>xmpp: <a class="u-impp" href="xmpp:cel@blos.sm?message">cel@blos.sm</a></li>
- <li>fedi: <a class="u-url" rel="me" href="https://skinnyver.se/cel">cel@skinnyver.se</a></li>
- <li>silly little videos: <a class="u-url" rel="me" href="https://bimbo.video/a/cel">cel@bimbo.video</a></li>
- <li>git: <a class="u-url" rel="me" href="https://bunny.garden">bunny.garden/cel</a></li>
+ <li>email: <a class="u-email" href="mailto:cel@blos.sm">cel@blos.sm</a></li>
+ <li>jabber: <a class="u-impp" href="xmpp:cel@blos.sm?message">cel@blos.sm</a></li>
<li>scrobbles: <a class="u-url" href="https://listenbrainz.org/user/celblossom">listenbrainz/celblossom</a></li>
<li>bandcamp fan: <a class="u-url" href="https://bandcamp.com/celblossom">bandcamp/celblossom</a></li>
<br>
- <li><span class="p-note">languages (in rough skill order): english, portuguese, german, japanese, chinese, french, latin, toki pona, korean</span></li></li>
- <li><span class="p-note">programming: rust, go, webdev, erlang, lisp</span></li>
+ <li><span class="p-note">languages (in rough skill order): english, portuguese, french, japanese, german, chinese, latin, toki pona, korean</span></li></li>
+ <li><span class="p-note">programming: rust, erlang, go, haskell, webdev, lisp</span></li>
</ul>
</div>