summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-09-04 16:50:10 +0200
committerxengineering <me@xengineering.eu>2021-09-04 16:50:10 +0200
commit19db808d938d2755764c728dcea1573ef34708fc (patch)
tree82803e91876b8fd4fb3816f6c056b416521990d4
parente89ea44a83b1cc7926414a19c942e3b239a896e6 (diff)
downloadlibweb-19db808d938d2755764c728dcea1573ef34708fc.tar
libweb-19db808d938d2755764c728dcea1573ef34708fc.tar.zst
libweb-19db808d938d2755764c728dcea1573ef34708fc.zip
Add Style for Anchor Tags
-rw-r--r--css/xengineering.css5
-rw-r--r--html/template.html2
2 files changed, 6 insertions, 1 deletions
diff --git a/css/xengineering.css b/css/xengineering.css
index d81902b..18bfbf7 100644
--- a/css/xengineering.css
+++ b/css/xengineering.css
@@ -19,6 +19,11 @@ main {
background-color: white;
}
+a {
+ text-decoration: none;
+ color: blue;
+}
+
nav a {
display: none;
padding: 16px;
diff --git a/html/template.html b/html/template.html
index c1b2e3f..9c1b5a8 100644
--- a/html/template.html
+++ b/html/template.html
@@ -26,7 +26,7 @@
<main>
<h1>libweb</h1>
<p>A repository with reusable components for web development.</p>
- <a href="https://example.com">example link</a>
+ <p>This is a link to <a href="https://example.com">example.com</a>.</p>
<pre><code>#!/usr/bin/python3
print("This is just some example code!")