From ef8cf1d286fe3a1246831f545ad4a783b328b4a8 Mon Sep 17 00:00:00 2001 From: perennial Date: Thu, 10 Oct 2024 14:54:32 +1100 Subject: [PATCH] pixivision index rework wip --- assets/css/bootstrap-style.css | 4 ++ assets/css/bootstrap-style.scss | 7 ++++ assets/views/layout/default.jet.html | 3 ++ assets/views/pixivisionIndex.jet.html | 53 +++++++++++++++++++-------- 4 files changed, 51 insertions(+), 16 deletions(-) diff --git a/assets/css/bootstrap-style.css b/assets/css/bootstrap-style.css index 78336d3..67cf61b 100644 --- a/assets/css/bootstrap-style.css +++ b/assets/css/bootstrap-style.css @@ -12994,6 +12994,10 @@ textarea.form-control-lg { color: white; } +.custom-card-body a:hover { + text-decoration: underline !important; +} + .custom-novel-nav { max-height: 40vh; } diff --git a/assets/css/bootstrap-style.scss b/assets/css/bootstrap-style.scss index c36be83..736d1e2 100644 --- a/assets/css/bootstrap-style.scss +++ b/assets/css/bootstrap-style.scss @@ -166,6 +166,13 @@ $utilities: map-merge( @extend .card-body; @extend .border-0; @extend .rounded-5; + + a { + &:hover { + text-decoration: underline !important; + } + } + } .custom-novel-card { diff --git a/assets/views/layout/default.jet.html b/assets/views/layout/default.jet.html index a79489a..4ad7502 100644 --- a/assets/views/layout/default.jet.html +++ b/assets/views/layout/default.jet.html @@ -131,6 +131,9 @@ +

Your profile

diff --git a/assets/views/pixivisionIndex.jet.html b/assets/views/pixivisionIndex.jet.html index 36749c2..ce28852 100644 --- a/assets/views/pixivisionIndex.jet.html +++ b/assets/views/pixivisionIndex.jet.html @@ -1,25 +1,46 @@ {{- extends "layout/default" }} {{- block body() }}
-
-
-
+

pixivision

-
- {{- range _, article := .Data }} -
- {{article.Title}} -
-

- {{article.Title}} -

- {{- range _, tag := article.Tags }} - #{{tag.Name}} - {{- end }} -

{{parseTimeCustomFormat(article.Date, "2006-01-02")}}

+
+
+ {{- range _, article := .Data }} +
+
+ +
+ {{article.Title}}
+
+
+ +

+ + {{article.Title}} + +

+
+
+ + {{- range _, tag := article.Tags }} + + #{{ tag.Name }} + + {{- end }} +
+
+ +

+ {{parseTimeCustomFormat(article.Date, "2006-01-02")}} +

+
+
+
- {{- end }} +
+ {{- end }}
+
{{- end }}