Browse Source

list corpus added texts #1260

bach 2 years ago
parent
commit
fa6f051051
3 changed files with 46 additions and 14 deletions
  1. 33 14
      assets/css/app.scss
  2. 8 0
      assets/css/base/_fonts.scss
  3. 5 0
      src/pages/ListCorpus.vue

+ 33 - 14
assets/css/app.scss

@@ -212,8 +212,8 @@ section[role="main-content"]{
         margin: 0 0 2em 0;
         header{
           h2{
-            margin:0.4em 0 0.2em;
             @include title1blue;
+            margin:0.4em 0 0.2em;
           }
           h3{
             margin:0.2em 0;
@@ -223,6 +223,17 @@ section[role="main-content"]{
           }
           margin-bottom: 0.3em;
         }
+
+        h4{
+          margin:0.1em 0;
+          font-weight: 300;
+          @include fontsans;
+          font-size: 0.756em;
+          &.texts-quantity{
+            color: $rouge;
+            margin: 0.3em 0 0;
+          }
+        }
         section.editions{
           div.editions{
             ol{
@@ -233,17 +244,25 @@ section[role="main-content"]{
             }
           }
         }
-        h4{
-          margin:0.1em 0;
-          font-weight: 300;
-          @include fontsans;
-          font-size: 0.756em;
-          &.texts-quantity{
-            color: $rouge;
-            // &:after{
-            //   content: ">>";
-            //   margin:0 0 0 0.5em;
-            // }
+
+        section.texts{
+
+          
+          ul.texts-list{
+            padding: 0 0 0 1em;
+            li{
+              margin: 0;
+            }
+            h3{
+              @include title2black;
+              margin: 0.7em 0 0.3em;
+            }
+            p{
+              font-weight: 300;
+              @include fontsans;
+              font-size: 0.756em;
+              margin: 0;
+            }
           }
         }
 
@@ -379,7 +398,7 @@ section[role="main-content"]{
           }
         }
         a{
-          @include title4black;
+          @include title4grey;
           color: $grisfonce;
           font-weight: 400;
         }
@@ -597,7 +616,7 @@ section[role="main-content"]{
             }
           }
           .toc-title{
-            @include title4black;
+            @include title4grey;
             &.active,
             &:hover{
               color:$grisfonce;

+ 8 - 0
assets/css/base/_fonts.scss

@@ -60,6 +60,14 @@ footer[role="tools"] .row>nav{
 }
 
 @mixin title4black {
+  @include fontserif;
+  font-size: 0.882em;;
+  color: $grisfonce;
+  font-weight: 400;
+  margin:0;
+}
+
+@mixin title4grey {
   @include fontserif;
   font-size: 0.882em;;
   color: $gris;

+ 5 - 0
src/pages/ListCorpus.vue

@@ -26,6 +26,7 @@
             <li v-for="text in corpus.editions.content" :key="text.uuid">
               <h3>
                 <a
+                  class="title"
                   :href="text.url"
                   :uuid="text.uuid"
                   @click.prevent="onclick"
@@ -33,6 +34,10 @@
                   v-html="text.title"
                 />
               </h3>
+              <p
+                class="biblio"
+                v-html="text.biblio"
+              />
             </li>
           </ul>
         </section>