From a95406fdbe26a378c7e7581293cecbabfba6ce8e Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Sat, 17 Sep 2022 01:25:22 +0300 Subject: init commit --- config.toml | 7 +++++ public/404.html | 3 ++ public/css/style.css | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++ public/img/bg.jpg | Bin 0 -> 616316 bytes public/index.html | 58 +++++++++++++++++++++++++++++++++++++++ public/robots.txt | 4 +++ public/sitemap.xml | 6 ++++ static/css/style.css | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++ static/img/bg.jpg | Bin 0 -> 616316 bytes templates/base.html | 39 ++++++++++++++++++++++++++ templates/index.html | 24 ++++++++++++++++ 11 files changed, 293 insertions(+) create mode 100644 config.toml create mode 100644 public/404.html create mode 100644 public/css/style.css create mode 100644 public/img/bg.jpg create mode 100644 public/index.html create mode 100644 public/robots.txt create mode 100644 public/sitemap.xml create mode 100644 static/css/style.css create mode 100644 static/img/bg.jpg create mode 100644 templates/base.html create mode 100644 templates/index.html diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..fcb06ab --- /dev/null +++ b/config.toml @@ -0,0 +1,7 @@ +base_url = "https://www.luhamus.com" +compile_sass = false +build_search_index = false + +[markdown] +# Syntax highlighting; for theme: `highlight_theme` variable +highlight_code = true diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..f8414f0 --- /dev/null +++ b/public/404.html @@ -0,0 +1,3 @@ + +404 Not Found +

404 Not Found

diff --git a/public/css/style.css b/public/css/style.css new file mode 100644 index 0000000..5108be4 --- /dev/null +++ b/public/css/style.css @@ -0,0 +1,76 @@ +body{ + max-width: 900px; + margin: auto; + background-color: #E1D9D1; +} +nav { + margin-top: 10px; + text-align: center; +} + +nav a { + padding: 15px; + font-size: 22px; + font-weight: bold; + text-decoration: none; + color: #71BC68; +} + +footer{ + text-align: center; +} + +/* Header */ +.main-image { + margin-top: 25px; + position: relative; + background: url(/img/bg.jpg) no-repeat center; + background-size: cover; + height: 250px; +} + +.img-container { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + text-align: center; + color: #fff; + font-weight: 700; + text-transform: uppercase; +} + +.img-container h1 { + margin: 0; + font-size: 66px; +} + +.img-container h1 span { + border: 6px solid white; + padding: 6px 14px; + display: inline-block; +} + +/* container styles*/ + +.container{ + text-align: center; +} + +.index-content{ + height: 500px; + display: flex; +} + +.right{ + height: 500px; + width: 60%; + background: blue; +} + +.left{ + height: 500px; + width: 40%; + background: green; +} + diff --git a/public/img/bg.jpg b/public/img/bg.jpg new file mode 100644 index 0000000..1353852 Binary files /dev/null and b/public/img/bg.jpg differ diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..a943afb --- /dev/null +++ b/public/index.html @@ -0,0 +1,58 @@ + + + + + + + Luhamus + + + + + +
+
+

Luhamus

+
+
+ + + +
+ +
+
+ +

Hello and Welcome!

+

My name is Rasmus. I am studying Computer Science and Physics

+

This site has many purposes. It serves somewhat as the replacement for my social-media, + it hosts my Git and E-mail server, and some other cool stuff aswell. + So, Go on, have a look around!

+
+ +
+

Text stuff here

+

Pellentesque sit amet, porttitor eget dolor + arcu risus, quis varius quam quisque id diam + vel quam elementum pulvinar etiam non quam + lacus suspendisse.

+
+ +
+

Corner of Cool

+
+ +
+ +
+
+
+ + + + diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..e340095 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Disallow: +Allow: / +Sitemap: https://www.luhamus.com/sitemap.xml diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..c920090 --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,6 @@ + + + + https://www.luhamus.com/ + + diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..5108be4 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,76 @@ +body{ + max-width: 900px; + margin: auto; + background-color: #E1D9D1; +} +nav { + margin-top: 10px; + text-align: center; +} + +nav a { + padding: 15px; + font-size: 22px; + font-weight: bold; + text-decoration: none; + color: #71BC68; +} + +footer{ + text-align: center; +} + +/* Header */ +.main-image { + margin-top: 25px; + position: relative; + background: url(/img/bg.jpg) no-repeat center; + background-size: cover; + height: 250px; +} + +.img-container { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + text-align: center; + color: #fff; + font-weight: 700; + text-transform: uppercase; +} + +.img-container h1 { + margin: 0; + font-size: 66px; +} + +.img-container h1 span { + border: 6px solid white; + padding: 6px 14px; + display: inline-block; +} + +/* container styles*/ + +.container{ + text-align: center; +} + +.index-content{ + height: 500px; + display: flex; +} + +.right{ + height: 500px; + width: 60%; + background: blue; +} + +.left{ + height: 500px; + width: 40%; + background: green; +} + diff --git a/static/img/bg.jpg b/static/img/bg.jpg new file mode 100644 index 0000000..1353852 Binary files /dev/null and b/static/img/bg.jpg differ diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..9b997b6 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,39 @@ + + + + + + {% if page.title%} + {{ page.title }} + {% else %} + Luhamus + {% endif %} + + + + +
+
+

Luhamus

+
+
+ + + +
+ +
+
+ {% block content %} {% endblock %} +
+
+
+ + + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..fea6e41 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} + +{% block content %} +

Hello and Welcome!

+

My name is Rasmus. I am studying Computer Science and Physics

+

This site has many purposes. It serves somewhat as the replacement for my social-media, + it hosts my Git and E-mail server, and some other cool stuff aswell. + So, Go on, have a look around!

+
+ +
+

Text stuff here

+

Pellentesque sit amet, porttitor eget dolor + arcu risus, quis varius quam quisque id diam + vel quam elementum pulvinar etiam non quam + lacus suspendisse.

+
+ +
+

Corner of Cool

+
+ +
+{% endblock content %} -- cgit v1.2.3