feat: full-width home

This commit is contained in:
Kazhnuz 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(); ?> <?php get_header(); ?>
<main> <main class="fullwidth">
<?php include(TEMPLATEPATH . '/components/globalflag.php'); ?> <?php include(TEMPLATEPATH . '/components/globalflag.php'); ?>
<!-- Recuperation de la page de home --> <!-- Recuperation de la page de home -->
@ -17,5 +17,4 @@
<?php include(TEMPLATEPATH . '/components/preview-list.php'); ?> <?php include(TEMPLATEPATH . '/components/preview-list.php'); ?>
</main> </main>
<?php get_sidebar(); ?>
<?php get_footer(); ?> <?php get_footer(); ?>

View file

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

View file

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