From 8f2828ea6323520e15e6822b22a8ed43076cebab Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Mon, 15 Jan 2024 18:53:06 +0300 Subject: [PATCH] Update Author and Book page --- src/main/resources/static/styles/styles.css | 35 +++++++++++++++------ src/main/resources/templates/author.html | 20 ++++++------ src/main/resources/templates/book.html | 25 +++++++-------- 3 files changed, 47 insertions(+), 33 deletions(-) diff --git a/src/main/resources/static/styles/styles.css b/src/main/resources/static/styles/styles.css index b2a5a1b..51619ae 100644 --- a/src/main/resources/static/styles/styles.css +++ b/src/main/resources/static/styles/styles.css @@ -55,20 +55,22 @@ td { } a { - color: #cfcfcf; - text-align: center; + text-decoration: none; } -a:link { +a:link, +a:visited{ + color: #74bfbd; +} + +a:hover, +a:visited:hover { + text-decoration: underline; color: #cfcfcf; } -a:hover { - color: white; -} - -a:visited { - color: #949494; +.any:visited { + color: #548a88; } ul { @@ -299,4 +301,19 @@ button:hover { padding-right: 5px; padding-left: 5px; flex-basis: 350px; +} +/* Book page */ +.title{ + font-weight: bold; + font-size: 2em; +} + +.series{ + font-style: italic; + font-size: 1.2em; +} + +.not_important{ + font-style: italic; + color: #888888; } \ No newline at end of file diff --git a/src/main/resources/templates/author.html b/src/main/resources/templates/author.html index 3232867..75e8615 100644 --- a/src/main/resources/templates/author.html +++ b/src/main/resources/templates/author.html @@ -2,7 +2,7 @@ - Marinesco + @@ -10,22 +10,22 @@
-
+
+
-

+

- +
+

-
-
-
- - -

+ +
diff --git a/src/main/resources/templates/book.html b/src/main/resources/templates/book.html index 8a22ac3..9176248 100644 --- a/src/main/resources/templates/book.html +++ b/src/main/resources/templates/book.html @@ -2,7 +2,7 @@ - Marinesco + @@ -14,23 +14,20 @@
-
-
Authors: +
+
+
- +
-
Genres: -
- -
-
-
-
-
-
+
+

- +

+
+