Portage du site sous vuejs #232

Merged
kazhnuz merged 29 commits from vue-remake into master 2023-02-08 12:45:46 +01:00
3 changed files with 8 additions and 27 deletions
Showing only changes of commit c28d86d1f2 - Show all commits

View file

@ -123,7 +123,7 @@ onBeforeUpdate(() => {
<template> <template>
<article> <article>
<div v-html="htmlContent"></div> <div v-html="htmlContent" class="markdown"></div>
<slot></slot> <slot></slot>
</article> </article>
</template> </template>

View file

@ -4,7 +4,9 @@
table { table {
border-collapse: collapse; border-collapse: collapse;
margin-bottom:1.5rem; &:not(:last-child) {
margin-bottom: 1.5rem;
}
} }
th, td { th, td {

View file

@ -1,30 +1,9 @@
/* Style the tab */ .markdown:not(:last-child) {
.tab { padding-bottom: 1.5rem;
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
} }
/* Style the buttons that are used to open the tab content */ article {
.tab button { padding-bottom:1.5rem;
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active {
color: #FFF;
background-color: #42B983;
} }
article .table-auto table { article .table-auto table {