feat: full-width home

This commit is contained in:
Kazhnuz Klappsthul 2022-12-18 10:53:58 +01:00
parent d4fb2c4cc0
commit ce29e1c88b
3 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<?php get_header(); ?>
<main>
<main class="fullwidth">
<?php include(TEMPLATEPATH . '/components/globalflag.php'); ?>
<!-- Recuperation de la page de home -->
@ -17,5 +17,4 @@
<?php include(TEMPLATEPATH . '/components/preview-list.php'); ?>
</main>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View File

@ -104,8 +104,8 @@ header h1 {
}
}
.mainpane {
grid-area: main;
.fullwidth {
grid-column: span 2;
}
.sidebar {

View File

@ -2811,8 +2811,8 @@ header h1 {
.container-blog {
grid-template-columns: auto 360px;
grid-template-areas: "main side"; } }
.mainpane {
grid-area: main; }
.fullwidth {
grid-column: span 2; }
.sidebar {
grid-area: side; }