From 89ee05487c73cdc700b401b73b912048106877f5 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 28 Nov 2024 16:22:35 +0100 Subject: [PATCH] centered content --- static/css/cours.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/css/cours.css b/static/css/cours.css index 66236ca..eeb4729 100644 --- a/static/css/cours.css +++ b/static/css/cours.css @@ -7,16 +7,16 @@ main { max-width: var(--max-width); - margin-left: calc(var(--sidebar-width) + 10px); + padding-inline: calc(var(--sidebar-width) + 10px); } /* Filetree */ aside { float: left; - margin-left: 20px; + z-index: 1; position: absolute; width: var(--sidebar-width); - margin-right: 10px; + padding-inline: 10px; } aside ul { @@ -98,6 +98,6 @@ input[type="text"] { } main { - margin-left: unset; + padding-inline: unset; } }