aboutsummaryrefslogtreecommitdiffstats
path: root/styles/global.scss
diff options
context:
space:
mode:
Diffstat (limited to 'styles/global.scss')
-rw-r--r--styles/global.scss22
1 files changed, 19 insertions, 3 deletions
diff --git a/styles/global.scss b/styles/global.scss
index ad4a51a..7fcdb41 100644
--- a/styles/global.scss
+++ b/styles/global.scss
@@ -8,12 +8,24 @@ main {
left: 0;
bottom: 0;
right: 0;
+
+ &.noHeader {
+ top: 0;
+ }
+}
+
+html {
+ position: fixed;
+ height: 100vh;
+ width: 100vw;
}
body {
- margin: 0;
+ position: fixed;
height: 100vh;
+ width: 100vw;
overflow: hidden;
+ margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
'Helvetica Neue', Arial, Noto Sans, sans-serif, 'Apple Color Emoji',
@@ -28,8 +40,8 @@ textarea, input {
.container {
margin: 1.5rem auto;
- padding-left: 2rem;
- padding-right: 2rem;
+ padding-left: 1rem;
+ padding-right: 1rem;
}
.fixed {
@@ -40,6 +52,10 @@ textarea, input {
left: 0;
}
+.hidden {
+ display: none;
+}
+
.mobile-only {
display: none!important;