aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-12-15 12:40:05 +0100
committerPolesznyák Márk <contact@pml68.dev>2025-12-15 12:40:05 +0100
commit4586207504390a714c816b14371f3e4f5f7b7b77 (patch)
tree15b083be47684dbb84d0f2e17d1668f750e62a77
parentfeat: replace pml68.png with a smaller webp (diff)
downloadpml68.dev-4586207504390a714c816b14371f3e4f5f7b7b77.tar.gz
feat: add PGP key to home page
-rw-r--r--index.html3
-rw-r--r--style.css8
2 files changed, 11 insertions, 0 deletions
diff --git a/index.html b/index.html
index fd4d976..72d5964 100644
--- a/index.html
+++ b/index.html
@@ -20,6 +20,9 @@
<div class="main">
<h1>pml68</h1>
<p>Just your average IT student</p>
+ <a href="https://meta.sr.ht/~pml68.pgp" class="pgp" target="_blank">
+ B57D24D24689941074DB550ADA2322CFD52418EE
+ </a>
<div class="socials">
<a href="https://github.com/pml68" class="icon" target="_blank" aria-label="GitHub">
<svg class="social-icon" viewbox="0 0 512 512">
diff --git a/style.css b/style.css
index 592d98e..c5f5657 100644
--- a/style.css
+++ b/style.css
@@ -67,6 +67,13 @@ a.icon {
width: clamp(var(--icon-min), var(--icon-desired), var(--icon-max));
}
+.pgp {
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ display: block;
+}
+
.container {
display: flex;
height: 100dvh;
@@ -81,6 +88,7 @@ a.icon {
text-align: left;
line-height: 1.2;
margin: 20px;
+ max-width: min(28ch, calc(100vw - 40px));
}
/* Projects page */