From e79759237b92217967e4b95bd01e6fdfd03b0415 Mon Sep 17 00:00:00 2001 From: bach Date: Sun, 18 Jun 2023 16:10:46 +0200 Subject: [PATCH] =?UTF-8?q?#2095=20R=C3=A9vision=20de=20la=20page=20corpus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/app.scss | 62 +++++++++++++++++++++++++++++++++++++++- src/pages/ListCorpus.vue | 9 ++---- 2 files changed, 64 insertions(+), 7 deletions(-) diff --git a/assets/css/app.scss b/assets/css/app.scss index 04abc3b..3406fda 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -207,7 +207,67 @@ section[role="main-content"]{ } } + &#list-corpus{ + >section>.wrapper>ul{ + >li{ + margin-bottom: $base-line*2; + >header{ + margin-bottom: 0; + h2,h3,h4{ + display: inline-block; + margin: 0; + margin-bottom: $base-line/2; + } + } + section.notice{ + p{ + margin-top:0; + font-size: 1.134em; + line-height: $base-line * 0.7; + // margin-bottom: $base-line * 0.7; + } + margin-bottom: $base-line/2; + } + section.editions{ + h4{ + font-size: 1em; + line-height: $base-line * 0.8; + // margin-bottom: $base-line / 2; + } + } + section.texts { + >h4{ + font-size: 1em; + line-height: $base-line * 0.5; + margin-bottom: $base-line / 2; + } + ul.texts-list{ + padding-left: 1em; + >li{ + list-style: circle; + h3{ + @include title1blue; + font-size: 1.512em; + line-height: $base-line * 0.5; + margin-bottom: $base-line * 0.5; + } + p{ + font-size: 1em; + @include fontserif; + font-weight: 300; + margin-top:0; + font-size: 1em; + line-height: $base-line * 0.5; + margin-bottom: $base-line / 2; + } + margin-bottom: $base-line; + } + } + } + } + } + } article.item{ // margin: 2em 0 0; @@ -224,7 +284,7 @@ section[role="main-content"]{ } } } - } + } &:not(#list-corpus){ ul.item-list{ li{ diff --git a/src/pages/ListCorpus.vue b/src/pages/ListCorpus.vue index 08a982b..d86bbad 100644 --- a/src/pages/ListCorpus.vue +++ b/src/pages/ListCorpus.vue @@ -10,18 +10,15 @@

{{ corpus.author.title }}

{{ corpus.author.date }}

-
-
-

{{ corpus.author.editionsQuantity.quantity }} {{ corpus.author.editionsQuantity.unit }}

- -
+
+

{{ corpus.author.textsQuantity.quantity }} - {{ corpus.author.textsQuantity.unit }} + {{ corpus.author.textsQuantity.unit }} :