From b952bb2107f3b95c6aebfc07b84febadac90c24c Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Mon, 20 Apr 2020 17:48:03 +0000
Subject: [PATCH] 💅 Updated Styling
---
layouts/partials/taxonomy/tags.html | 5 ++---
layouts/404.html | 6 ++++++
examplesite/static/images/profile.png | 0
static/css/style.css | 32 ++++++++++++++++++++++++++++++++
layouts/partials/taxonomy/categories.html | 3 +--
5 files changed, 41 insertions(+), 5 deletions(-)
diff --git a/examplesite/static/images/profile.png b/examplesite/static/images/profile.png
new file mode 100644
index 0000000..ebca65f
--- /dev/null
+++ b/examplesite/static/images/profile.png
Binary files differ
diff --git a/layouts/404.html b/layouts/404.html
index e69de29..e67890d 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -0,0 +1,6 @@
+
+{{- define "main" -}}
+<div class="page_404">
+ <p>The page you are looking for is missing</p>
+</div>
+{{- end -}}
\ No newline at end of file
diff --git a/layouts/partials/taxonomy/categories.html b/layouts/partials/taxonomy/categories.html
index 22eedaf..cbe71ca 100644
--- a/layouts/partials/taxonomy/categories.html
+++ b/layouts/partials/taxonomy/categories.html
@@ -1,7 +1,6 @@
-<i class="fa fa-folder"></i>
<span class="separator">
{{- range $index, $el := . -}}
- <a href="{{ ( printf "categories/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a>
+ <a class="category" href="{{ ( printf "categories/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a>
{{- end -}}
</span>
diff --git a/layouts/partials/taxonomy/tags.html b/layouts/partials/taxonomy/tags.html
index d5cde77..133c2fd 100644
--- a/layouts/partials/taxonomy/tags.html
+++ b/layouts/partials/taxonomy/tags.html
@@ -1,7 +1,6 @@
- <i class="fa fa-hashtag"></i>
- <span class="separator">
+ <span class="separator">
{{- range $index, $el := . -}}
- <a href="{{ ( printf "tags/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a>
+ <a class="tag" href="{{ ( printf "tags/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a>
{{- end -}}
</span>
diff --git a/static/css/style.css b/static/css/style.css
index 0531870..57a37b2 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -23,6 +23,36 @@
text-decoration: none;
}
+.category {
+ padding: 4px 6px;
+ border-radius: 3px;
+ color: #fff;
+ background-color: #f9f9fd;
+ border: 1px solid #f2f2f2;
+}
+
+.tag::before {
+ content: "#";
+ opacity: .5;
+}
+
+.tag, .category {
+ display: inline-block;
+ font-size: 15px;
+ line-height: 1;
+ margin: 5px 8px 5px 0;
+}
+
+pre {
+ background-color: #f9f9fd;
+ padding: 5px;
+}
+
+.info i{
+ opacity: 0.5;
+ margin-right: 5px;
+}
+
a:link, a:visited {
opacity: 1;
-webkit-transition: all .15s linear;
@@ -660,6 +690,8 @@
padding-top: 50px;
}
+
+
@media screen and (max-width: 960px) {
.sidebar {
width: 100%;
--
Gitblit v1.10.0