diff --git a/content/styles/404/main.css b/content/styles/404/main.css index 9f3dbde..bd1a9c8 100644 --- a/content/styles/404/main.css +++ b/content/styles/404/main.css @@ -1,31 +1 @@ -body, -html { - padding: 2.5em; - height: 100%; -} - -.title404 { - text-align: center; - font-size: 3em; -} - -.content404 { - text-align: center; - font-size: 2.5em; -} - -.c404img { - display: flex; - justify-content: center; -} - -.c404img img { - filter: opacity(25%) blur(10px); - width: 30em; -} - -footer { - position: absolute; - bottom: 0; - margin: 2.5em; -} \ No newline at end of file +body,html{padding:2.5em;height:100%}.title404{text-align:center;font-size:3em}.content404{text-align:center;font-size:2.5em}.c404img{display:flex;justify-content:center}.c404img img{filter:opacity(25%) blur(10px);width:30em}footer{position:absolute;bottom:0;margin:2.5em} diff --git a/content/styles/boot/main.css b/content/styles/boot/main.css index fadb5a1..e798e94 100644 --- a/content/styles/boot/main.css +++ b/content/styles/boot/main.css @@ -1,46 +1 @@ -.boot { - margin: 1em 0em 1em 1em; - font-size: 1.5em; -} -.boot #bootver { - color: #9acd32; - margin-left: 1.12em; - /* makes it that it aligns with 'boot' messages */ -} -.boot #bootver::before { - content: "WEBrc version " "1.0"; -} -.boot .bmsg[bmsg_type=ok]::after { - content: "[OK]"; - float: right; - color: #0fd30f; -} -.boot .bmsg[bmsg_type=ok]::before { - content: " * "; - color: #0fd30f; -} -.boot .bmsg[bmsg_type=warn]::after { - content: "[WARNING]"; - float: right; - color: #ffff00; -} -.boot .bmsg[bmsg_type=warn]::before { - content: " * "; - color: #ffff00; -} -.boot .bmsg[bmsg_type=error]::after { - content: "[ERROR]"; - float: right; - color: #ff0000; -} -.boot .bmsg[bmsg_type=error]::before { - content: " * "; - color: #ff0000; -} -.boot .bmsg::first-letter { - text-transform: uppercase; -} -.boot .bmsg { - word-wrap: break-word; - word-break: break-all; -} \ No newline at end of file +.boot{margin:1em 0em 1em 1em;font-size:1.5em}.boot #bootver{color:#9acd32;margin-left:1.12em}.boot #bootver::before{content:"WEBrc version " "1.0"}.boot .bmsg[bmsg_type=ok]::after{content:'[OK]';float:right;color:#0fd30f}.boot .bmsg[bmsg_type=ok]::before{content:' * ';color:#0fd30f}.boot .bmsg[bmsg_type=warn]::after{content:'[WARNING]';float:right;color:#ff0}.boot .bmsg[bmsg_type=warn]::before{content:' * ';color:#ff0}.boot .bmsg[bmsg_type=error]::after{content:'[ERROR]';float:right;color:red}.boot .bmsg[bmsg_type=error]::before{content:' * ';color:red}.boot .bmsg::first-letter{text-transform:uppercase}.boot .bmsg{word-wrap:break-word;word-break:break-all} diff --git a/content/styles/boot/main.scss b/content/styles/boot/main.scss index 5f6a5d4..f0862e1 100644 --- a/content/styles/boot/main.scss +++ b/content/styles/boot/main.scss @@ -8,7 +8,7 @@ color: $boot_header_colour; margin-left: 1.12em; /* makes it that it aligns with 'boot' messages */ } - + #bootver::before { content: 'WEBrc version ' $boot_ver; } @@ -19,7 +19,7 @@ float: right; color: $ok_colour; } - + &::before { content: ' * '; color: $ok_colour; @@ -33,7 +33,7 @@ float: right; color: $warn_colour; } - + &::before { content: ' * '; color: $warn_colour; @@ -46,7 +46,7 @@ float: right; color: $error_colour; } - + &::before { content: ' * '; color: $error_colour; diff --git a/content/styles/novpn/index.css b/content/styles/novpn/index.css index 324fcf3..858d90e 100644 --- a/content/styles/novpn/index.css +++ b/content/styles/novpn/index.css @@ -1,51 +1 @@ -* { - box-sizing: border-box; - margin: 0; - padding: 0; - color: white; - font-family: sans; - scroll-behavior: smooth; - -ms-overflow-style: none; - /* for Internet Explorer, Edge */ - scrollbar-width: none; - /* for Firefox */ -} - -::-webkit-scrollbar { - display: none; - /* for Chrome, Safari, and Opera */ -} - -html, -body { - width: 100%; - height: 100%; - margin: 0; -} - -#matrix { - position: fixed; - display: block; - width: 100%; - height: 100%; - border-width: 1px; - border-style: solid; - border-color: black; - background-color: black; - z-index: -1; - overflow: hidden; -} - -.content { - position: sticky; - display: block; - height: 100%; -} - -.page-intro { - position: absolute; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} \ No newline at end of file +*{box-sizing:border-box;margin:0;padding:0;color:#fff;font-family:sans;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none}::-webkit-scrollbar{display:none}html,body{width:100%;height:100%;margin:0}#matrix{position:fixed;display:block;width:100%;height:100%;border-width:1px;border-style:solid;border-color:#000;background-color:#000;z-index:-1;overflow:hidden}.content{position:sticky;display:block;height:100%}.page-intro{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)} diff --git a/content/styles/shell/main.css b/content/styles/shell/main.css index 03e3c9d..22535d5 100644 --- a/content/styles/shell/main.css +++ b/content/styles/shell/main.css @@ -1,30 +1 @@ -.shell { - margin: 2em; -} -.shell .prompt { - color: #0fd30f; - background-color: #070707; - border: none; - font-size: 1.7em; - width: 90%; - padding: 0 0 1.2em 0; -} -.shell .prompt:focus { - border: none; - outline: none; -} -.shell .output { - font-size: 1.4166666667em; -} - -.shell::before { - content: "$ "; - font-size: 1.7em; - color: #ffffff; -} - -.shell[prompt=root]::before { - content: "# "; - font-size: 1.7em; - color: #ffffff; -} \ No newline at end of file +.shell{margin:2em}.shell .prompt{color:#0fd30f;background-color:#070707;border:none;font-size:1.7em;width:90%;padding:0 0 1.2em 0}.shell .prompt:focus{border:none;outline:none}.shell .output{font-size:1.41667em}.shell::before{content:'$ ';font-size:1.7em;color:#fff}.shell[prompt=root]::before{content:'# ';font-size:1.7em;color:#fff} diff --git a/netlify.toml b/netlify.toml index 434f7ca..da1ac91 100644 --- a/netlify.toml +++ b/netlify.toml @@ -86,7 +86,7 @@ [[redirects]] from = "/gh/:project" to = "https://github.com/TruncatedDinosour/:project" - status = 301 + status = 302 force = true [[redirects]]