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

github.com/calintat/minimal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalin Tataru <calintat@gmail.com>2019-10-11 16:03:11 +0300
committerCalin Tataru <calintat@gmail.com>2019-10-11 16:03:11 +0300
commit7d30a45a99be4c6cb680a749ba29c0688a7c8f34 (patch)
tree54389428a789aafa0fcf4531f73d0baa7bc08048
parent817b05f487e8483c96fc300f0a6516d8024d8cba (diff)
Small stylistic changes
-rw-r--r--layouts/_default/list.html6
-rw-r--r--layouts/_default/single.html8
-rw-r--r--layouts/_default/terms.html4
-rw-r--r--layouts/post/single.html8
-rw-r--r--static/css/main.css22
5 files changed, 20 insertions, 28 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 0596fc6..d2a1cc8 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -2,11 +2,9 @@
<main>
- <div class="item">
- <h2>{{ .Title }}</h2>
- </div>
+ <h2>{{ .Title }}</h2>
- {{ range (.Paginator 5).Pages }} {{ partial "list-item" . }} {{ end }}
+ {{ range (.Paginator 4).Pages }} {{ partial "list-item" . }} {{ end }}
</main>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 49a33bc..4ac55ce 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,11 +2,9 @@
<main>
- <div class="item">
- <h2>{{ .Title }}</h2>
- <h5>{{ .Description }}</h5>
- {{ partial "tags" . }}
- </div>
+ <h2>{{ .Title }}</h2>
+ <h5>{{ .Description }}</h5>
+ {{ partial "tags" . }}
<br> <div class="text-justify">{{ .Content }}</div>
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index 0596fc6..38aaf9b 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -2,9 +2,7 @@
<main>
- <div class="item">
- <h2>{{ .Title }}</h2>
- </div>
+ <h2>{{ .Title }}</h2>
{{ range (.Paginator 5).Pages }} {{ partial "list-item" . }} {{ end }}
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 8cbaa72..6a58d4e 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -2,11 +2,9 @@
<main>
- <div class="item">
- <h2>{{ .Title }}</h2>
- <h5>{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006") }}</h5>
- {{ partial "tags" . }}
- </div>
+ <h2>{{ .Title }}</h2>
+ <h5>{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006") }}</h5>
+ {{ partial "tags" . }}
<br> <div class="text-justify">{{ .Content }}</div>
diff --git a/static/css/main.css b/static/css/main.css
index 6906b81..f9065d6 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -16,13 +16,17 @@ main {
max-width: 750px;
}
-/*footer*/
+img {
+ max-width: 100%;
+}
+
+/* Footer */
.copyright {
margin: 15px 0;
}
-/*home page*/
+/* Home page */
.intro {
transform: translateY(22vh);
@@ -44,7 +48,7 @@ main {
border-radius: 50%;
}
-/*apply accent colour to links*/
+/* Apply accent colour to links */
a:link, a:visited {
color: var(--accent);
@@ -58,7 +62,7 @@ a:hover {
color: var(--accent) !important;
}
-/*paginator at bottom of list view*/
+/* Paginator at bottom of list view */
.pages {
padding: 15px 0;
@@ -68,7 +72,7 @@ a:hover {
padding: 0 15px;
}
-/*list item for posts and projects*/
+/* List item for posts and projects */
.item {
padding: 10px 0;
@@ -78,14 +82,14 @@ a:hover {
background-color: var(--accent);
}
-/*navigation bar icons*/
+/* Navigation bar icons */
.navbar-icon {
font-size: 125%;
display: inline-block !important;
}
-/*coloured borders at top and bottom of the page*/
+/* Coloured borders at top and bottom of the page */
.navbar.navbar-default {
border-top: var(--border-width) solid var(--accent);
@@ -94,7 +98,3 @@ a:hover {
footer {
border-bottom: var(--border-width) solid var(--accent);
}
-
-img {
- max-width: 100%;
-}