diff sat_templates/templates/bulma/static/styles.css @ 289:f1a39607d6a5

bulma (base/base.html): `full_screen_body` parameter + body_wrapper: - if `full_screen_body` is set in template, the `body--fullscreen` class will be added to `<body>` element. It will then be a flexbox container (in columns), and displayed on the whole viewport. - new `body_wrapper` block, if a page needs to replace the `#body` container.
author Goffi <goffi@goffi.org>
date Mon, 28 Sep 2020 17:25:26 +0200
parents f8026bf77a4c
children 1ca9384fb681
line wrap: on
line diff
--- a/sat_templates/templates/bulma/static/styles.css	Thu Sep 17 22:44:37 2020 +0200
+++ b/sat_templates/templates/bulma/static/styles.css	Mon Sep 28 17:25:26 2020 +0200
@@ -5,6 +5,14 @@
   --grey-light: hsl(0, 0%, 71%);
 }
 
+body.body--fullscreen {
+    display: flex;
+    flex-direction: column;
+    height: 100vh;
+    width: 100vw;
+    overflow: hidden;
+}
+
 .has-whitespace-pre-wrap {
     white-space: pre-wrap;
 }