diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 5a618a8..2e13724 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -81,30 +81,20 @@ a:hover { color: var(--pm); } -main a:not(.icon) { - color: inherit; - text-decoration: underline; - text-decoration-color: var(--pm); - background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, var(--pm) 50%); - background-size: 100% 200%; - transition: background-position 0.2s ease-in-out; -} - -main a:not(.icon):hover, -main a:not(.icon):focus { - background-position: 0 100%; - color: #fff; -} - -main a.icon:hover { - transform: translateY(-5px); - transition: transform 0.3s ease-in-out; -} - main { animation: showup 0.7s; } +p a { + font-style: italic; + text-decoration: underline; +} + +footer a { + font-style: unset; + text-decoration: none; +} + header nav { color: var(--tag); } @@ -151,4 +141,8 @@ nav::-webkit-scrollbar { opacity: 1; transform: none; } +} + +.home-intro { + line-height: 1.65; } \ No newline at end of file diff --git a/assets/sass/markdown.scss b/assets/sass/markdown.scss index 6637133..a00e982 100644 --- a/assets/sass/markdown.scss +++ b/assets/sass/markdown.scss @@ -66,3 +66,8 @@ .md p sup { margin-left: 4px; } + +.md a { + font-style: italic; + text-decoration: underline; +} \ No newline at end of file diff --git a/exampleSite/config.toml b/exampleSite/config.toml index eea68aa..2565c5c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -27,7 +27,7 @@ subtitle = "" # Comment decides the comment plugin to be used on your blog site, # e.g. disqus, utterances, ovo. comment = "utterances" -# timeformat +# timeformat, no matter what format to use, make it the second day of Jan. 2006 timeformat = "Jan 02, 2006" # switch for turning on/off lights. switch = ["🌚", "🌝"] @@ -37,7 +37,7 @@ displayDate = true selectable = true # custom global font. notice: `globalFontFamily` won't be working # on texts in some special positions like on titles -globalFontFamily = 'Helvatica, sans-serif' +globalFontFamily = 'Helvatica sans-serif' # Disqus configuration [params.disqus] diff --git a/layouts/index.html b/layouts/index.html index 8e25ef6..4e643bb 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,7 @@

{{ .Site.Params.iam }} {{ .Site.Author.name }}

{{ .Site.Author.slogon }}

-

{{ .Site.Author.description | markdownify | safeHTML }}

+

{{ .Site.Author.description | markdownify | safeHTML }}

{{ if eq .Paginator.PageNumber 1 }}

Recent Posts

{{ else }} diff --git a/layouts/partials/list.html b/layouts/partials/list.html index 289c105..6d0b8a3 100644 --- a/layouts/partials/list.html +++ b/layouts/partials/list.html @@ -1,4 +1,4 @@ -
+
{{ .Title }} {{ if .Site.Params.displayDate }}
{{ dateFormat .Site.Params.timeformat .Date }}