summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-06-19 13:51:24 +0200
committerAlan Pearce2024-06-19 14:10:44 +0200
commitb0ba784486ca2e5dcc6329e15580060d7518aec5 (patch)
tree00fd4c813b62c850e9bf5d07f5f0a0e97a4b2c35
parent7cf82af4dfa4f96fd69d0b005f4eca5a984bfb33 (diff)
downloadwebsite-b0ba784486ca2e5dcc6329e15580060d7518aec5.tar.lz
website-b0ba784486ca2e5dcc6329e15580060d7518aec5.tar.zst
website-b0ba784486ca2e5dcc6329e15580060d7518aec5.zip
style external nav menu links
-rw-r--r--config.toml3
-rw-r--r--external-link.svg11
2 files changed, 14 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index fa26b27..769ebd8 100644
--- a/config.toml
+++ b/config.toml
@@ -18,6 +18,9 @@ oidc_host = "https://id.alanpearce.eu/"
   default-src = [
     "'none'",
   ]
+  img-src = [
+    "'self'",
+  ]
   form-action = [
     "'none'",
   ]
diff --git a/external-link.svg b/external-link.svg
new file mode 100644
index 0000000..35b5805
--- /dev/null
+++ b/external-link.svg
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 20 20">
+  <g style="stroke:rgb(35,82,124);stroke-width:1">
+    <line x1="5" y1="5" x2="5" y2="14" />
+    <line x1="14" y1="9" x2="14" y2="14" />
+    <line x1="5" y1="14" x2="14" y2="14" />
+    <line x1="5" y1="5" x2="9" y2="5"  />
+    <line x1="10" y1="2" x2="17" y2="2"  />
+    <line x1="17" y1="2" x2="17" y2="9" />
+    <line x1="10" y1="9" x2="17" y2="2" style="stroke-width:1.5" />
+  </g>
+</svg>