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(); ?>
|
<?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(); ?>
|
||||||
|
|
|
@ -104,8 +104,8 @@ header h1 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mainpane {
|
.fullwidth {
|
||||||
grid-area: main;
|
grid-column: span 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
|
|
|
@ -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; }
|
||||||
|
|
Reference in a new issue