WIP:bulma:neu
authorKai Moritz <kai@juplo.de>
Fri, 26 Feb 2021 20:37:11 +0000 (21:37 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 26 Feb 2021 20:37:11 +0000 (21:37 +0100)
dist/templates/layout.html
sass/juplo.scss

index 8580cc5..86a500d 100644 (file)
@@ -17,7 +17,7 @@
       th:fragment="body(uri, maincontent, marginalcontent)"
       thymeproxy:variables="${json}"
       th:with="crumbs=${_crumbs.get(uri)}">
-    <div class="columns">
+    <div id="page" class="columns">
       <main class="column content section" th:include="${maincontent}" th:fragment="maincontent">
         <h1 th:text="${_titles.get(uri)}">TEMPLATE: Layout</h1>
         <p>
       </nav>
     </div>
     <footer>
-      <div class="container">
-        <div class="columns">
-          <div class="column is-8-desktop is-offset-2-desktop">
-            <div class="level">
-              <div class="level-left">
-                <span class="level-item">© <strong>mo</strong> 2021</span>
-              </div>
-              <div class="level-right" id="footerlinks" th:include="~{::#links}?:_">
-                <a class="level-item" href="../impressum.html" th:href="@{/impressum.html}">Impressum</a>
-                <a class="level-item" href="../datenschutz.html" th:href="@{/datenschutz.html}">Datenschutz</a>
-              </div>
-            </div>
-          </div>
+      <div class="level">
+        <div class="level-left">
+          <span class="level-item">© <strong>mo</strong> 2021</span>
+        </div>
+        <div class="level-right" id="footerlinks" th:include="~{::#links}?:_">
+          <a class="level-item" href="../impressum.html" th:href="@{/impressum.html}">Impressum</a>
+          <a class="level-item" href="../datenschutz.html" th:href="@{/datenschutz.html}">Datenschutz</a>
         </div>
       </div>
     </footer>
index d71f289..45389f3 100644 (file)
@@ -105,17 +105,14 @@ html
 body
 {
   height: 100%;
-  overflow-y: scroll;
+  display: flex;
+  flex-direction: column;
 }
 #page
 {
-  position: relative;
-  min-height: 100%;
+  flex: 1 0 auto;
 }
 footer
 {
-  position: relative;
-  left: 0;
-  right: 0;
-  bottom: 1em;
+  flex-shrink: 0;
 }