Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/maxlefou/hugo.386.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax le Fou <buttbadger@gmail.com>2021-08-19 22:34:57 +0300
committerMax le Fou <buttbadger@gmail.com>2021-08-19 22:34:57 +0300
commitee2a7df58fdaa65c666ec549619ad9584e9df3fe (patch)
tree54d0fcc57f927c344ea977718dd9a45530d4b8bb
parent887475c45460d03ff2753721fa1d8c5919a06d50 (diff)
shadows yay
-rw-r--r--layouts/index.html8
-rw-r--r--layouts/taxonomy/tag.html2
-rw-r--r--static/css/style.css22
3 files changed, 21 insertions, 11 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 761cc10..2952f38 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,11 +6,11 @@
<div class="jumbotron">
<h1 class="display-3">{{ .Site.Params.mainpagetitle }}</h1>
- <p class="lead mt-3">{{ .Site.Params.mainpagesubtitle }}</p>
+ <p class="lead">{{ .Site.Params.mainpagesubtitle }}</p>
<p class="lead">{{ .Site.Params.mainpagedesc }}</p>
</div>
</div>
- <div class="bs-component">
+ <div class="bs-component mb-3">
<h1>{{ i18n "postslist" }}</h1>
<ul class="list-group">
{{ range first 10 .Site.RegularPages }} {{ if eq .Type "post" }}
@@ -25,13 +25,13 @@
<div class="col-lg-3">
<div class="bs-component">
- <div class="card text-white bg-primary mb-3">
+ <div class="card text-white bg-primary mb-3 sideblock">
<div class="card-header">{{ i18n "categories" }}</div>
<div class="card-body">
{{ partial "categories.html" .}}
</div>
</div>
- <div class="card text-white bg-primary mb-3">
+ <div class="card text-white bg-primary mb-3 sideblock">
<div class="card-header">{{ i18n "tags" }}</div>
<div class="card-body">
{{ partial "tags.html" .}}
diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html
index a327647..92a45cd 100644
--- a/layouts/taxonomy/tag.html
+++ b/layouts/taxonomy/tag.html
@@ -12,7 +12,7 @@
<!-- Ranges through content/posts/*.md -->
{{ range .Data.Pages }}
<li class="list-group-item d-flex justify-content-between align-items-center">
- <a href="{{.RelPermalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a>
+ <a href="{{.RelPermalink}}">{{.Title}}</a>
<span class="badge badge-primary badge-pill">{{ .Date.Format "2006-01-02" }}</span>
</li>
{{ end }}
diff --git a/static/css/style.css b/static/css/style.css
index 62908d9..54343e5 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -1,11 +1,21 @@
-body {
- visibility: hidden
+body {
+ visibility: hidden
}
-.navmargin {
- margin-top: 2em;
+.sideblock {
+ filter: drop-shadow(7px 8px 0 black);
}
-h2 {
- white-space: normal;
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ margin-bottom: 0.4em;
+}
+
+ol,
+ul {
+ padding-left: 1em;
} \ No newline at end of file