diff options
author | Darshan Baral <darshanbaral@gmail.com> | 2020-05-15 21:37:34 +0300 |
---|---|---|
committer | Darshan Baral <darshanbaral@gmail.com> | 2020-05-15 21:37:34 +0300 |
commit | 4463651555335de8a8cd453be32b9e4b705b0a95 (patch) | |
tree | 100b40407d9c8319cb2ec1360546cd8c86c57a52 | |
parent | c595ad03622948c7688212941a4d3e4616de45f0 (diff) |
Style updates
-rw-r--r-- | exampleSite/content/about/_index.md | 1 | ||||
-rw-r--r-- | layouts/partials/footer.html | 10 | ||||
-rw-r--r-- | layouts/section/about.html | 2 | ||||
-rw-r--r-- | static/css/main.css | 4 |
4 files changed, 9 insertions, 8 deletions
diff --git a/exampleSite/content/about/_index.md b/exampleSite/content/about/_index.md index 9238f4e..88600ad 100644 --- a/exampleSite/content/about/_index.md +++ b/exampleSite/content/about/_index.md @@ -1,6 +1,7 @@ --- title: "About Me" icon: "portrait" +hideFromArchive: true weight: 10 name: "ASasd LADSK" prefix: "" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 89456c2..29248e6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,4 @@ -<footer style="display: flex; flex-direction: column; margin-top: 0.5em;">
+<footer style="display: flex; flex-direction: column; margin-top: 2em;">
<div
style="
position: fixed;
@@ -51,7 +51,7 @@ box-sizing: border-box;
"
>
- <h3>Contact Me</h3>
+ <h3>Contact</h3>
<ul style="padding: 0;">
{{ range $key, $val := .Site.Params.social }}
<li style="list-style: none;">
@@ -72,7 +72,7 @@ box-sizing: border-box;
"
>
- <h3>Site Sections</h3>
+ <h3>Sections</h3>
<ul style="padding: 0;">
{{ range .Site.Sections }}
<li style="list-style: none;">
@@ -92,8 +92,8 @@ box-sizing: border-box;
"
>
- <h3>Recent Posts</h3>
- <ol style="padding: 0;">
+ <h3>Recent</h3>
+ <ol style="padding-left: 0.75em;">
{{ range ((where .Site.Pages "Kind" "page").ByDate.Reverse) | first 5 }}
<li>
<a href="{{ .Permalink }}">{{ .Title | truncate 25 }}</a>
diff --git a/layouts/section/about.html b/layouts/section/about.html index 3eae312..b3c0640 100644 --- a/layouts/section/about.html +++ b/layouts/section/about.html @@ -18,7 +18,7 @@ border-bottom: solid 3px; " > - <h1 style="margin: 0.15em 0;"> + <h1 style="margin: 1em 0 0.15em 0;"> {{ .Params.prefix }} {{ .Params.name }}, {{ .Params.suffix }} </h1> <h2 style="margin: 0.15em 0;">{{ .Params.jobTitle }}</h2> diff --git a/static/css/main.css b/static/css/main.css index 6655d4b..c6b618d 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -209,10 +209,10 @@ li.page-item.active a { color: var(--bgColor);
font-weight: 700;
}
-li.page-item:nth-child(1) {
+li.page-item:first-child {
border-radius: 10px 0 0 10px;
}
-li.page-item:nth-child(6) {
+li.page-item:last-child {
border-radius: 0 10px 10px 0;
border-right: 1px solid var(--primaryColor);
}
|