Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7c4ebd8690 |
@@ -11,7 +11,6 @@ function wp_theme_sen2_setup() {
|
||||
add_theme_support('post-thumbnails');
|
||||
add_theme_support('title-tag');
|
||||
add_theme_support('automatic-feed-links');
|
||||
add_theme_support('html5', array('search-form', 'comment-form', 'comment-list', 'gallery', 'caption'));
|
||||
}
|
||||
add_action('after_setup_theme', 'wp_theme_sen2_setup');
|
||||
|
||||
|
||||
+1
-2
@@ -49,5 +49,4 @@
|
||||
</aside>
|
||||
|
||||
<!-- Contenu principal -->
|
||||
<div class="main-content">
|
||||
<main class="site-main">
|
||||
<main class="main-content">
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
/*
|
||||
Theme Name: WP Theme SEN2
|
||||
Version: 1.5.0
|
||||
Version: 1.6.0
|
||||
Author: Nicolas Houzeau
|
||||
Author URI: https://ton-site.com
|
||||
Description: Un thème sobre et moderne pour portfolio photo, en blanc cassé. Compatible avec Envira Gallery.
|
||||
License: GNU General Public License v2 or later
|
||||
*/
|
||||
|
||||
:root {
|
||||
@@ -31,6 +35,7 @@ body {
|
||||
.site-container {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
min-height: calc(100vh - 60px); /* 60px = hauteur du menu horizontal */
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
@@ -50,8 +55,12 @@ body {
|
||||
margin-left: 250px; /* Même largeur que le sidebar */
|
||||
flex: 1;
|
||||
padding: 30px;
|
||||
width: calc(100% - 250px); /* Largeur calculée pour éviter le chevauchement */
|
||||
min-height: calc(100vh - 60px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Menu horizontal en haut */
|
||||
.main-navigation {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@@ -87,9 +96,12 @@ body {
|
||||
color: var(--secondary-color);
|
||||
}
|
||||
|
||||
/* Menu latéral */
|
||||
.sidebar-header {
|
||||
margin-bottom: 30px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid var(--medium-gray);
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.site-author {
|
||||
@@ -107,7 +119,6 @@ body {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Menu latéral */
|
||||
.sidebar-navigation {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
@@ -179,7 +190,7 @@ body {
|
||||
|
||||
.main-content {
|
||||
margin-left: 0;
|
||||
padding: 20px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main-navigation ul {
|
||||
|
||||
Reference in New Issue
Block a user