diff --git a/index.html b/index.html index 7e3bb47..e693b28 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,9 @@ Lain | mybio - + + + diff --git a/src/app.css b/src/app.css index 24dae23..c6ca660 100644 --- a/src/app.css +++ b/src/app.css @@ -2,3 +2,14 @@ html,body{height:100%} body{margin:0;background:#0b0b0b;color:#00cc00;font-family:VT323,Fantaskue,ui-monospace,monospace;font-size:22px;letter-spacing:.5px} *{box-sizing:border-box} + +@supports (-webkit-touch-callout: none) { + :root { + --safari-bottom-bar-height: env(safe-area-inset-bottom); + --safari-top-bar-height: env(safe-area-inset-top); + } + body { + padding-bottom: var(--safari-bottom-bar-height); + padding-top: var(--safari-top-bar-height); + } +}