mirror of
https://github.com/He4eT/xecut-site.git
synced 2026-05-05 01:47:25 +00:00
base.njk: rename container to default-layout
This commit is contained in:
parent
0737c9619f
commit
8aa8d284ff
3 changed files with 8 additions and 5 deletions
|
|
@ -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 */
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ header.menu a:hover {
|
||||||
/* */
|
/* */
|
||||||
|
|
||||||
.logo a {
|
.logo a {
|
||||||
font-size: 72px;
|
font-size: calc(9 * var(--step));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
|
|
|
||||||
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue