Ver código fonte

better css for home

bach 1 ano atrás
pai
commit
8494e5a0e2
2 arquivos alterados com 5 adições e 4 exclusões
  1. 1 1
      assets/css/app.scss
  2. 4 3
      src/pages/Home.vue

+ 1 - 1
assets/css/app.scss

@@ -168,7 +168,7 @@ section[role="main-content"]{
           font-size: 0.882em;
           line-height: 1.2;
         }
-        span{
+        a.readmore span{
           color:$rouge;
           font-size:0.693em;
         }

+ 4 - 3
src/pages/Home.vue

@@ -8,8 +8,8 @@
       <h2>Corpus des XVII et XVIII<sup>E</sup> siècles</h2>
     </header>
     <section v-if="colophonHome.length && colophonHome.length > 0" class="row">
-      <div class="col-3" />
-      <div class="col-6 teasers">
+      <div class="col-2" />
+      <div class="col-8 teasers">
         <article
           v-for="page in colophonHome"
           :key="page.uuid"
@@ -20,12 +20,13 @@
             :href="page.url"
             @click.prevent="onclick(page.uuid)"
             @keyup.enter="onclick(page.uuid)"
+            class="readmore"
           >
             <span>Lire la suite</span>
           </a>
         </article>
       </div>
-      <div class="col-3" />
+      <div class="col-2" />
     </section>
 
   </div>