diff --git a/frmWrk b/frmWrk index 8917135..72eff55 160000 --- a/frmWrk +++ b/frmWrk @@ -1 +1 @@ -Subproject commit 8917135a5513f22926ae079c375ae44dd398fd35 +Subproject commit 72eff55c4c90d3c9d7a813cce26ee3ef3cca2f70 diff --git a/log.txt b/log.txt deleted file mode 100644 index e69de29..0000000 diff --git a/main.py b/main.py index 9e61803..3c79bc7 100644 --- a/main.py +++ b/main.py @@ -1,9 +1,5 @@ import frmWrk.website -import markdown -def router(method, path, headers): - return "200 OK", "Hello".encode("utf-8"), {} - -webserver = frmWrk.website.WebServer("localhost", 3000, "./src/", custom_router=router) +webserver = frmWrk.website.WebServer("localhost", 3000, "./src/") webserver.start() diff --git a/src/assets/main.css b/src/assets/main.css index bbe2663..7778768 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -1,3 +1,28 @@ -h1 { - text-align: center; +:root { + --bg-color: #1e1e2e; + --text-color: #cdd6f4; + --link-color: #94e2d5; } + +body { + font-family: Hack, monospace; + background-color: var(--bg-color); + color: var(--text-color); + padding: 5em; + margin: 0; +} + +a { + color: var(--link-color); + text-decoration: underline var(--bg-color) auto; + transition: all .5s; +} + +a:hover { + text-decoration: underline var(--link-color) auto; +} + +img { + padding: 1em; +} + diff --git a/src/index.html b/src/index.html index ae0989b..6de3807 100644 --- a/src/index.html +++ b/src/index.html @@ -2,15 +2,41 @@
-Software dev, OSS enthusiast, server admin and 13 year old
+