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
parentfc33f852d14d392b7e1e136336fd49e422921314 (diff)
Moved about to section folder in layout
-rw-r--r--exampleSite/content/about/_index.md2
-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
-rw-r--r--static/css/main.css2
6 files changed, 7 insertions, 7 deletions
diff --git a/exampleSite/content/about/_index.md b/exampleSite/content/about/_index.md
index 30545ae..9238f4e 100644
--- a/exampleSite/content/about/_index.md
+++ b/exampleSite/content/about/_index.md
@@ -39,7 +39,7 @@ publications:
date: 2019,
journal: "Journal dsalf adsf dsaf",
url: "",
- abstract: "shahfkasjdhf ahflkjdsa hfkjdsa hflkjdsahflkdsa hfljdsahf lkjashfdkjad hflkjdsa hflkjdsafh kjsadhf kjsadhf lkjdsahf kjdsahf lkjdsahf lkjdsahf lkjsadhfljdsaf halkjdshf ldsajfh askjdhflkjdsaf ldsakflkjdsahf kjsadhflkjdsaf lkjdsahf kjsadgfkdsabfanmdsbfdsanf.,dsanfmsnafdhfdlkjsaj;lkdsa jf;lkdsajf ;lksajfd;lkdsa jf;kdsajf ds",
+ abstract: "shahfkasjdhf ahflkjdsa hfkjdsa hflkjdsahflkdsa hfljdsahf lkjashfdkjad hflkjdsa hflkjdsafh kjsadhf kjsadhf lkjdsahf kjdsahf lkjdsahf lkjdsahf lkjsadhfljdsaf halkjdshf ldsajfh askjdhflkjdsaf ldsakflkjdsahf kjsadhflkjdsaf lkjdsahf kjsadgfkdsabfanmdsbfdsanf. dsanfmsnafdhfdlkjsaj;lkdsa jf;lkdsajf ;lksajfd;lkdsa jf;kdsajf ds",
},
{
title: "sdfksahfjsadh fkjsadhf lkjdsahf kjsadhf lkjads hfkjdsal fksdaf sadfkdsfjhksadgf dfas",
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
diff --git a/static/css/main.css b/static/css/main.css
index 1fd91ac..6655d4b 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -15,7 +15,7 @@ html {
margin-right: 0;
}
body {
- width: 95%;
+ width: 95vw;
margin: auto;
position: relative;
display: flex;