aboutsummaryrefslogtreecommitdiffstats
path: root/styles/global.scss
diff options
context:
space:
mode:
authorGravatar piotrruss <mail@pruss.it> 2021-09-30 22:48:13 +0200
committerGravatar piotrruss <mail@pruss.it> 2021-10-01 00:53:11 +0200
commit79bdb88a5fc099b5871a83d18eadf9b0448b41d1 (patch)
treed0a8e48dda7649205e08d17c2fa0de938e27a674 /styles/global.scss
parentcf1fbb69d7cdb67219be187fc38feea5a6325f45 (diff)
downloadmy_apps-79bdb88a5fc099b5871a83d18eadf9b0448b41d1.tar.gz
my_apps-79bdb88a5fc099b5871a83d18eadf9b0448b41d1.tar.bz2
my_apps-79bdb88a5fc099b5871a83d18eadf9b0448b41d1.zip
added favicons & notes route for phone
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;