diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-20 17:52:31 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-20 17:52:31 +0200 |
| commit | 3cc5aa5d7489ac36b79fbb8ab389ec316869195e (patch) | |
| tree | ac7dd646ab725a4aba06b4f7db3582133f716cb9 /themes | |
| parent | d25eb1159e10ddf6c9a6c17909580f08cd132d17 (diff) | |
| download | mitjafelicijan.com-3cc5aa5d7489ac36b79fbb8ab389ec316869195e.tar.gz | |
Cleanup
Diffstat (limited to 'themes')
| -rwxr-xr-x | themes/simple/layouts/_default/list.html | 3 | ||||
| -rw-r--r-- | themes/simple/static/css/tailwind.css | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html index 28be17d..589d07b 100755 --- a/themes/simple/layouts/_default/list.html +++ b/themes/simple/layouts/_default/list.html | |||
| @@ -10,8 +10,7 @@ | |||
| 10 | <div> | 10 | <div> |
| 11 | <article class="mb-5" itemscope itemtype="http://schema.org/Article"> | 11 | <article class="mb-5" itemscope itemtype="http://schema.org/Article"> |
| 12 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Monday Jan 2, 2006" }}</time> | 12 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Monday Jan 2, 2006" }}</time> |
| 13 | <a href="/{{ .Params.url }}" itemprop="url" class="hover:bg-yellow-100" rel="bookmark noopener" | 13 | <a href="/{{ .Params.url }}" itemprop="url" class="hover:bg-yellow-100" rel="bookmark noopener" aria-label="Opens URL"> |
| 14 | aria-label="Opens URL"> | ||
| 15 | {{ if .Params.draft }} | 14 | {{ if .Params.draft }} |
| 16 | <span class="bg-orange-600 text-white px-1.5">Draft</span> | 15 | <span class="bg-orange-600 text-white px-1.5">Draft</span> |
| 17 | {{ end }} | 16 | {{ end }} |
diff --git a/themes/simple/static/css/tailwind.css b/themes/simple/static/css/tailwind.css index 05b6492..8e1ddb9 100644 --- a/themes/simple/static/css/tailwind.css +++ b/themes/simple/static/css/tailwind.css | |||
| @@ -18,6 +18,10 @@ | |||
| 18 | @apply bg-yellow-100 text-black; | 18 | @apply bg-yellow-100 text-black; |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | a:hover { | ||
| 22 | color: blue; | ||
| 23 | } | ||
| 24 | |||
| 21 | /* Headings */ | 25 | /* Headings */ |
| 22 | article.single h2 { | 26 | article.single h2 { |
| 23 | @apply text-2xl font-bold mb-8 mt-8; | 27 | @apply text-2xl font-bold mb-8 mt-8; |
