From 99639514d62a5fd9e5098b77ce680b86c243113d Mon Sep 17 00:00:00 2001 From: UltraQbik Date: Mon, 26 Aug 2024 22:03:56 +0300 Subject: Small changes --- css/styles.css | 60 ------------------------------------------------------ src/request.py | 2 +- www/css/styles.css | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ www/index.html | 3 +-- www/test.html | 30 --------------------------- www/testing.html | 30 +++++++++++++++++++++++++++ 6 files changed, 92 insertions(+), 93 deletions(-) delete mode 100644 css/styles.css create mode 100644 www/css/styles.css delete mode 100644 www/test.html create mode 100644 www/testing.html diff --git a/css/styles.css b/css/styles.css deleted file mode 100644 index cb56704..0000000 --- a/css/styles.css +++ /dev/null @@ -1,60 +0,0 @@ -* { - margin: 0; - padding: 0; - background: transparent; -} - -p, li { - padding-top: 4px; -} - -ul { - padding-left: 20px; -} - -body { - font-family: Arial, Helvetica, sans-serif; - color: white; - background: black; - display: flex; - flex-direction: column; - min-height: 100vh; -} - -button { - padding: 10px; - color: white; - background: #2a2a2a; -} - -img { - padding: 8px; -} - -header { - background: #202020; - padding: 30px; - height: 5vh; - text-align: center; - font-size: 30px; -} - -#section-div { - align-self: center; - width: 70vw; - min-height: 100vh; - background: #1a1a1a; -} - -section { - padding: 20px 24px 24px; - font-size: 20px; -} - -footer { - background: #202020; - padding: 25px; - text-align: center; - font-size: 10px; - margin-top: auto; -} diff --git a/src/request.py b/src/request.py index ed828e5..4e2486e 100644 --- a/src/request.py +++ b/src/request.py @@ -1,6 +1,6 @@ from typing import Any -from collections.abc import Generator from src.config import BUFFER_LENGTH +from collections.abc import Generator from src.status_code import StatusCode diff --git a/www/css/styles.css b/www/css/styles.css new file mode 100644 index 0000000..cb56704 --- /dev/null +++ b/www/css/styles.css @@ -0,0 +1,60 @@ +* { + margin: 0; + padding: 0; + background: transparent; +} + +p, li { + padding-top: 4px; +} + +ul { + padding-left: 20px; +} + +body { + font-family: Arial, Helvetica, sans-serif; + color: white; + background: black; + display: flex; + flex-direction: column; + min-height: 100vh; +} + +button { + padding: 10px; + color: white; + background: #2a2a2a; +} + +img { + padding: 8px; +} + +header { + background: #202020; + padding: 30px; + height: 5vh; + text-align: center; + font-size: 30px; +} + +#section-div { + align-self: center; + width: 70vw; + min-height: 100vh; + background: #1a1a1a; +} + +section { + padding: 20px 24px 24px; + font-size: 20px; +} + +footer { + background: #202020; + padding: 25px; + text-align: center; + font-size: 10px; + margin-top: auto; +} diff --git a/www/index.html b/www/index.html index 6cd383e..11c6a30 100644 --- a/www/index.html +++ b/www/index.html @@ -13,9 +13,8 @@

Links to content

About

-

Testing

Projects

-

JavaScript thing

+

Testing

Welcome to the small HTML Page

diff --git a/www/test.html b/www/test.html deleted file mode 100644 index 9f0d12d..0000000 --- a/www/test.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - The YES's Page - - - - -
-
-
The Mighty HTML Testing Page
-
-
-
-

APIv1 Testing page

-

You are supposed to see that, it's not a bug

-

This is a small API / webserver testing page, so feel free to click on downloads to see if they work

-
-
-

File download test

-

Download random 128 MiB file

-

Download random 512 MiB file

-

Download random 1 GiB file

-
-
-
-

This is a page for testing various things

-
- - diff --git a/www/testing.html b/www/testing.html new file mode 100644 index 0000000..9f0d12d --- /dev/null +++ b/www/testing.html @@ -0,0 +1,30 @@ + + + + The YES's Page + + + + +
+
+
The Mighty HTML Testing Page
+
+
+
+

APIv1 Testing page

+

You are supposed to see that, it's not a bug

+

This is a small API / webserver testing page, so feel free to click on downloads to see if they work

+
+
+

File download test

+

Download random 128 MiB file

+

Download random 512 MiB file

+

Download random 1 GiB file

+
+
+ + + -- cgit 1.4.1