base.njk: rename container to default-layout

This commit is contained in:
He4eT 2025-02-19 00:56:33 +01:00
commit 8aa8d284ff
3 changed files with 8 additions and 5 deletions

View file

@ -1,15 +1,18 @@
.container { .default-layout {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.container { .default-layout {
flex-direction: column; flex-direction: column;
} }
} }
.container > main { .default-layout > main {
flex: 1 1 auto; flex: 1 1 auto;
padding: calc(4 * var(--step)); padding: calc(4 * var(--step));
max-width: calc(100 * var(--step));
} }
/* @see ./menu.css */

View file

@ -33,7 +33,7 @@ header.menu a:hover {
/* */ /* */
.logo a { .logo a {
font-size: 72px; font-size: calc(9 * var(--step));
} }
/* */ /* */

View file

@ -28,7 +28,7 @@
<link rel="stylesheet" href="/_assets/css/menu.css"> <link rel="stylesheet" href="/_assets/css/menu.css">
</head> </head>
<body> <body>
<div class="container"> <div class="default-layout">
{% include 'parts/menu.njk' %} {% include 'parts/menu.njk' %}
<main> <main>
{{ content | safe }} {{ content | safe }}