Browse Source

corpus notices #1942

bach 1 year ago
parent
commit
053216a7ce
4 changed files with 14 additions and 5 deletions
  1. 12 3
      assets/css/app.scss
  2. 1 1
      src/components/Content/TocItem.vue
  3. 0 1
      src/pages/Edition.vue
  4. 1 0
      src/pages/ListCorpus.vue

+ 12 - 3
assets/css/app.scss

@@ -205,6 +205,7 @@ section[role="main-content"]{
         @include titleSansRed;
         margin: 0;
       }
+
     }
 
     article.item{
@@ -242,6 +243,7 @@ section[role="main-content"]{
     ul.item-list{
       li{
         // margin: 0 0 2em 0;
+        margin-bottom: $base-line;
         header{
           h2{
             @include title1blue;
@@ -255,6 +257,13 @@ section[role="main-content"]{
             font-weight: 500;
             line-height: $base-line / 2;
           }
+
+          section.notice{
+            @include fontsans;
+            font-size: 0.756em;
+            font-weight: 300;
+            line-height: $base-line / 2;
+          }
           margin-bottom: $base-line / 2;
         }
 
@@ -266,7 +275,7 @@ section[role="main-content"]{
           line-height: $base-line / 2;
           &.texts-quantity{
             color: $rouge;
-            // margin: 0.3em 0 0;
+            margin-bottom: $base-line / 4;
           }
         }
         section.editions{
@@ -284,7 +293,7 @@ section[role="main-content"]{
 
           
           ul.texts-list{
-            padding: 0 0 0 1em;
+            // padding: 0 0 0 1em;
             li{
               margin-bottom: $base-line / 2;
             }
@@ -305,7 +314,7 @@ section[role="main-content"]{
 
         ul {
           li{
-            margin:0 0 0 1em;
+            // margin:0 0 0 1em;
             h3{
               margin: 0.5em 0;
               font-weight: 400;

+ 1 - 1
src/components/Content/TocItem.vue

@@ -156,7 +156,7 @@ export default {
         this.flat_indexes.push(element.uuid)
       })
     })
-    console.log('tocItem created flat_indexes', this.flat_indexes)
+    // console.log('tocItem created flat_indexes', this.flat_indexes)
   },
   beforeMount () {
     if (typeof this.$route.params.textid !== 'undefined') {

+ 0 - 1
src/pages/Edition.vue

@@ -466,7 +466,6 @@ export default {
           }
         })
       }
-      this.meta.push({ name: 'itemclicked', content: 'alors ?' })
     },
     onClickIndexItem (o) {
       this.selectedindex = o

+ 1 - 0
src/pages/ListCorpus.vue

@@ -10,6 +10,7 @@
         <header>
           <h2>{{ corpus.author.title }}</h2>
           <h3>{{ corpus.author.date }}</h3>
+          <section class="notice" v-html="corpus.author.note" />
         </header>
         <section class="editions">
           <h4 class="editions-quantity">