From cad16a254d1434eb9c7cea7f894b60ac79b48988 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Tue, 17 Jan 2023 23:25:57 +0200 Subject: [PATCH] Added gif to homepage --- static/main/css/index.css | 50 +++++++++++++++++++------------------- static/main/css/layout.css | 2 -- templates/main/index.html | 20 +++++++-------- 3 files changed, 35 insertions(+), 37 deletions(-) diff --git a/static/main/css/index.css b/static/main/css/index.css index d81e257..48a6892 100644 --- a/static/main/css/index.css +++ b/static/main/css/index.css @@ -1,25 +1,25 @@ -/* h1, */ -/* p { */ -/* color: var(--text-color); */ -/* font-size: 20px; */ -/* text-align: center; */ -/* margin-top: 10px; */ -/* } */ -/**/ -/* a { */ -/* text-decoration: none; */ -/* color: var(--link-text-color); */ -/* } */ -/**/ -/* a:hover { */ -/* text-decoration: underline; */ -/* } */ -/**/ -/* .center { */ -/* margin: 0; */ -/* position: absolute; */ -/* top: 50%; */ -/* left: 50%; */ -/* -ms-transform: translate(-50%, -50%); */ -/* transform: translate(-50%, -50%); */ -/* } */ +h1, +p { + color: var(--text-color); + font-size: 20px; + text-align: center; + margin-top: 10px; +} + +a { + text-decoration: none; + color: var(--link-text-color); +} + +a:hover { + text-decoration: underline; +} + +.center { + margin: 0; + position: absolute; + top: 50%; + left: 50%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); +} diff --git a/static/main/css/layout.css b/static/main/css/layout.css index 10bbc20..0981bf0 100644 --- a/static/main/css/layout.css +++ b/static/main/css/layout.css @@ -11,8 +11,6 @@ --text-color: #f0f6fc; --code-bg-color: #393f48; --ff-sans-normal: "Roboto", sans-serif; - --fs-16: 16px; - --fs-20: 20px; } html, diff --git a/templates/main/index.html b/templates/main/index.html index 891f23b..e69e6a2 100644 --- a/templates/main/index.html +++ b/templates/main/index.html @@ -7,14 +7,14 @@ href="{% static 'main/css/index.css' %}"/> {% endblock %} {% block content %} - - - - - - - - - - +
+ Hello there. +

+ I'm Kristofers Solo +

+

+ Jedi +

+
{% endblock %}