summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorNicholas Johnson <mail@nicholasjohnson.ch>2024-11-08 00:00:00 +0000
committerNicholas Johnson <mail@nicholasjohnson.ch>2024-11-08 00:00:00 +0000
commit9057f651fb508edf0e0488df590ed119d08a28b5b8860c7eedd1190eb6e5f571 (patch)
treeea976f6e5f4339bdf376de832f73bd00612f0cc6320d2031ce92cbbcfd06ce0b /assets
parent9b5a1119d7c0b381be13a329e58388f76637d456d4b0de4c54e2ce2bafaf74a7 (diff)
downloadhugo-theme-journal-9057f651fb508edf0e0488df590ed119d08a28b5b8860c7eedd1190eb6e5f571.tar.gz
hugo-theme-journal-9057f651fb508edf0e0488df590ed119d08a28b5b8860c7eedd1190eb6e5f571.zip
Change CSS styling for external links
Diffstat (limited to 'assets')
-rw-r--r--assets/style.css16
1 files changed, 14 insertions, 2 deletions
diff --git a/assets/style.css b/assets/style.css
index 5bd6b33..81ea8bd 100644
--- a/assets/style.css
+++ b/assets/style.css
@@ -115,15 +115,27 @@ blockquote, ol, p, pre, ul, .highlight {
}
.link {
- color: #0091ea;
text-underline-offset: 3px;
}
-.link:hover {
+.link--internal {
+ color: #0091ea;
+}
+
+.link--internal:hover {
background-color: #0091ea;
color: black;
}
+.link--external {
+ color: #9370DB;
+}
+
+.link--external:hover {
+ background-color: #9370DB;
+ color: black;
+}
+
.list {
list-style: none;
padding-left: 0;