chore: modif des styles et du layout

This commit is contained in:
Kazhnuz 2023-10-17 19:24:48 +02:00
parent 3d5867564c
commit b91cf7d758
4 changed files with 11 additions and 7 deletions

View file

@ -27,6 +27,5 @@ onMounted(() => {
<RouterView v-if="loaded" /> <RouterView v-if="loaded" />
</div> </div>
</div> </div>
<TableOfContent />
</div> </div>
</template> </template>

View file

@ -11,6 +11,9 @@ article .table-auto table, table.table-auto {
table { table {
display: table; display: table;
width: 100%; width: 100%;
}
table.fixed {
table-layout: fixed; table-layout: fixed;
} }

View file

@ -12,10 +12,10 @@
} }
#sidebar { #sidebar {
padding:0.5rem;
padding-top:1rem; padding-top:1rem;
padding-left:0.75rem; padding-left:0.75rem;
width:17rem; width:17rem;
position: fixed;
height: calc(100vh - 3rem); height: calc(100vh - 3rem);
overflow: scroll; overflow: scroll;
h1 { h1 {
@ -30,8 +30,10 @@
#page { #page {
flex-grow:1; flex-grow:1;
padding-left:18rem; margin:auto;
padding-right: 18rem; margin-top:0;
max-width:1200px;
padding: 1rem;
} }
#toc { #toc {

View file

@ -1,12 +1,12 @@
// FONTS // FONTS
// Define how looks the text // Define how looks the text
$fontsize: 4.75mm; $fontsize: 4.25mm;
$fontweight_big: 300; $fontweight_big: 300;
$fontweight_base: 400; $fontweight_base: 400;
$fontweight_bold: 600; $fontweight_bold: 600;
$fontweight_hyper: 800; $fontweight_hyper: 800;
$basefont: Open Sans, sans-serif; $basefont: -apple-system, system-ui, sans-serif;
$titlefont: Open Sans, sans-serif; $titlefont: -apple-system, system-ui, sans-serif;