From 8c9ae2b7f9b87d2779ea81c86b1b2ea88223b713 Mon Sep 17 00:00:00 2001 From: mirkobrombin Date: Mon, 22 Jan 2024 19:55:08 +0100 Subject: [PATCH] cleanup: minor ui changes --- src/App.vue | 4 +-- src/assets/css/style.css | 37 ++++++++++++++++++++++++++- src/views/ArticleView.vue | 34 ++++++++++++++----------- src/views/CollectionView.vue | 14 +++++++++-- src/views/HomeView.vue | 49 +++++++++++++++++++++--------------- 5 files changed, 97 insertions(+), 41 deletions(-) diff --git a/src/App.vue b/src/App.vue index fe9daf9..167dc57 100644 --- a/src/App.vue +++ b/src/App.vue @@ -70,9 +70,7 @@ -
- -
+

diff --git a/src/assets/css/style.css b/src/assets/css/style.css index cac0c38..ca837a4 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -167,7 +167,6 @@ p span.badge { .topbar { background-color: #fff; border-bottom: 1px solid #dddddd; - margin: 0 0 18px 0; position: sticky; top: 0; z-index: 9; @@ -327,4 +326,40 @@ p span.badge { .panel-block-header.panel-block-header--has-icon+.panel-block-content { margin-left: 28px; +} + +.hero.is-title { + margin-bottom: 30px; +} + +.hero.is-primary { + background-color: #f5f5f5; +} + +.hero.is-primary .title, +.hero.is-primary .subtitle { + color: #3c3f41; +} + +.hero.is-primary .title { + margin-bottom: 36px; +} + +.breadcrumb.is-main { + margin: 0; + padding: 20px; + border-bottom: 1px solid #dddddd; + position: sticky; + top: 52px; + background-color: #fff; + z-index: 1; +} + +.breadcrumb.is-main~.paned .sidebar aside { + top: 130px; + height: calc(100vh - 130px); +} + +.card .title.is-4 { + line-height: 1.4; } \ No newline at end of file diff --git a/src/views/ArticleView.vue b/src/views/ArticleView.vue index b258399..6a5d121 100644 --- a/src/views/ArticleView.vue +++ b/src/views/ArticleView.vue @@ -1,22 +1,26 @@