feat: full-width home
This commit is contained in:
parent
d4fb2c4cc0
commit
ce29e1c88b
3 changed files with 5 additions and 6 deletions
3
home.php
3
home.php
|
@ -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(); ?>
|
||||
|
|
|
@ -104,8 +104,8 @@ header h1 {
|
|||
}
|
||||
}
|
||||
|
||||
.mainpane {
|
||||
grid-area: main;
|
||||
.fullwidth {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
|
|
|
@ -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; }
|
||||
|
|
Reference in a new issue