From 6b4e8f76956520250a1a9bf3f1e7f5c604c3fe82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind?= Date: Thu, 4 Mar 2021 11:51:09 +0100 Subject: [PATCH] Fixed som links --- _layouts/layouts/lecture.html | 20 ++++++++++++++++++++ assets/css/components/theme.css | 1 + assets/css/home.css | 8 +++++++- index.html | 4 ++-- 4 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 _layouts/layouts/lecture.html diff --git a/_layouts/layouts/lecture.html b/_layouts/layouts/lecture.html new file mode 100644 index 0000000..67f40b3 --- /dev/null +++ b/_layouts/layouts/lecture.html @@ -0,0 +1,20 @@ +--- +layout: default +--- +
+
+

{{ page.title }}

+

{{ page.description }}

+ Forelesningsdato {{ page.date | date: "%d.%m.%Y" }} +
+
+
+
+
+ {{ content }} +
+ +
+
\ No newline at end of file diff --git a/assets/css/components/theme.css b/assets/css/components/theme.css index 357288e..7dfe7ff 100644 --- a/assets/css/components/theme.css +++ b/assets/css/components/theme.css @@ -102,6 +102,7 @@ blockquote { a { color: var(--link-color); + text-decoration: none; } a:hover { diff --git a/assets/css/home.css b/assets/css/home.css index be137ec..f72b30a 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -27,7 +27,13 @@ min-height: calc(100vh - 47.75rem); } -.home-link>a { +/* +.home-link a{ + text-decoration: none; +} +*/ + +a.home-link:hover{ text-decoration: none; } diff --git a/index.html b/index.html index 7ec76cd..7031c7d 100644 --- a/index.html +++ b/index.html @@ -7,12 +7,12 @@ description: Personlig nettside for Øyvind Skaaden. Inneholder det meste av per
{% for home in site.data.home %}
- +
+
-

{{ home.description }}

{% endfor %}