From c7159725e27667d8163c9de7396caffd173471fa Mon Sep 17 00:00:00 2001 From: The Ghost of FOSS' Future <163201376+sneedgroup-holder@users.noreply.github.com> Date: Sun, 8 Sep 2024 16:00:22 -0500 Subject: [PATCH] Add files via upload --- itworks.html | 3 ++- styles.css | 20 ++++++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/itworks.html b/itworks.html index 43f6fbd..5f3691d 100644 --- a/itworks.html +++ b/itworks.html @@ -11,6 +11,7 @@

Welcome to Sneedium!

-

Put a list of URLs to userscripts in ./userscript/userscripts.js. It uses a standard JS array format and uses URLs. Config is located at: ./config.js.

+

Welcome to the Sneedium Browser! We provide versions for macOS, Windows, and Linux as of the time of writing this. We hope you enjoy this browser as much as we did making it.

From all of us at Sneed Group. +

diff --git a/styles.css b/styles.css index 148121a..7aba9af 100644 --- a/styles.css +++ b/styles.css @@ -106,20 +106,24 @@ html, body { align-items: center; /* Center vertically */ } +html, body { + height: 100%; + margin: 0; +} + #whProtection { - position: absolute; - top: 50%; - left: 50%; - bottom: 5%; - transform: translate(-50%, -46%); /* Offset by half the width and 46% height */ - width: 90%; /* % of viewport width */ - height: 86%; /* % of viewport height */ - border: 1vw solid green; /* Border color and thickness */ + width: 100%; /* % of viewport width */ + height: 100%; /* % of viewport height */ + border: 2vw solid rgb(70, 70, 70); /* Border color and thickness */ box-sizing: border-box; + display: block; + overflow: scroll; } webview { width: 100%; height: 100%; border: none; + box-sizing: border-box; /* Ensures any padding or border inside the webview is included in the total size */ + display: block; /* Ensure it behaves as a block element */ }