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

github.com/darshanbaral/ghazal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2020-05-15 08:34:48 +0300
committerDarshan Baral <darshanbaral@gmail.com>2020-05-15 08:34:48 +0300
commit023580d28ff0fbf7d877130c17249130b3888872 (patch)
tree3e339e9190d929827e9a4ff0e24a095e8e8d6334 /layouts
parentfc33f852d14d392b7e1e136336fd49e422921314 (diff)
Moved about to section folder in layout
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/header.html6
-rw-r--r--layouts/section/about.html (renamed from layouts/_default/about.html)0
4 files changed, 5 insertions, 5 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 93dd666..46c4a65 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -26,6 +26,6 @@
"
/>
{{ partial "social.html" . }}
- {{ .Site.Params.shortAbout }}
+ <span style="text-align: center;">{{ .Site.Params.shortAbout }}</span>
</div>
{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 51540ca..626293c 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -4,7 +4,7 @@
position: fixed;
bottom: 60px;
margin: auto;
- width: 95%;
+ width: 95vw;
max-width: 960px;
"
>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 81f86ec..851af18 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,14 +1,14 @@
<header
style="
- width: 95%;
+ width: 95vw;
max-width: 960px;
position: fixed;
top: 0;
z-index: 10;
transition: all 0.3s;
height: {{ if not .IsHome}}60px{{ else }}0{{ end }};
- box-shadow: {{ if not .IsHome}} 0px 0px 2px 2px black {{ else }} none {{ end }};
- background-color: {{ if not .IsHome}} var(--bgDarker) {{ else }} inherit {{ end }};
+ box-shadow: {{ if not .IsHome}} 0px 0px 2px 2px black {{ else }} none {{ end }};
+ background-color: {{ if not .IsHome}} var(--bgDarker) {{ else }} inherit {{ end }};
"
>
{{ partial "hamburgerCross.html" . }}{{ if not .IsHome}}
diff --git a/layouts/_default/about.html b/layouts/section/about.html
index 3eae312..3eae312 100644
--- a/layouts/_default/about.html
+++ b/layouts/section/about.html