From 31d2ef30405f548cf0ae77d69f8e25016eff8337 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 9 Sep 2021 20:38:03 +0400 Subject: [PATCH] Redid a contacts section. --- homepage/static/assets/css/main.css | 10 ++++++++++ homepage/views/about.pug | 25 +++++++++---------------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/homepage/static/assets/css/main.css b/homepage/static/assets/css/main.css index 2224059..55ebf59 100644 --- a/homepage/static/assets/css/main.css +++ b/homepage/static/assets/css/main.css @@ -153,6 +153,16 @@ section { margin-top: 1rem; max-width: 100%; } +#contacts { + text-align: center; + width: 100%; + word-wrap: break-word; } + +#contacts a, +#contacts span { margin: .3rem; } + +#contacts span a { margin: 0; } + footer { font-size: .8rem; text-align: center; diff --git a/homepage/views/about.pug b/homepage/views/about.pug index 7c81515..7e1487a 100644 --- a/homepage/views/about.pug +++ b/homepage/views/about.pug @@ -217,22 +217,15 @@ block content p At first I wanted to learn more about DNS and now BIND9 serves a DNS cache and domain zone for my LAN. I also use DNSCrypt-proxy to encrypt DNS traffic and added #[a(href="https://opennic.org" rel="nofollow noreferrer") OpenNIC] records so I have access to that domains. section#contacts h2 Contacts - table - tr - td E-Mail: - td #[a(href="mailto:me@arav.top") me@arav.top] - tr - td Jabber: - td #[a(href="xmpp://arav@arav.top") arav@arav.top] - tr - td Matrix: - td #[a(href="https://matrix.to/#/@arav:arav.top") @arav:arav.top] - tr - td PGP key: - td #[a(href="~arav/5A2ECA58F93EB5C44F02D50B1327FE8A374CC86F.asc") 5A2E CA58 F93E B5C4 4F02 D50B 1327 FE8A 374C C86F] (available through #[a(href="https://wiki.gnupg.org/WKD" rel="nofollow noreferrer") Web Key Directory]) - tr - td Neocities: - td #[a(href="https://arav.neocities.org") arav.neocities.org] + span + | E-Mail: #[a(href="mailto:me@arav.top") me@arav.top] + span + | Jabber: #[a(href="xmpp://arav@arav.top") arav@arav.top] + span + | Matrix: #[a(href="https://matrix.to/#/@arav:arav.top") @arav:arav.top] + br + span + | PGP key: #[a(href="~arav/5A2ECA58F93EB5C44F02D50B1327FE8A374CC86F.asc") 5A2E CA58 F93E B5C4 4F02 D50B 1327 FE8A 374C C86F] (available through #[a(href="https://wiki.gnupg.org/WKD" rel="nofollow noreferrer") Web Key Directory]) section#banners h2 Banners p In case you found my site anyhow useful and would like to add me to your links page here are the banners for you.