diff options
author | Leonardo Faria <leonardofaria@gmail.com> | 2020-04-17 07:54:19 +0300 |
---|---|---|
committer | Leonardo Faria <leonardofaria@gmail.com> | 2020-04-17 07:54:19 +0300 |
commit | a45244f2bbf63736064ecd950c5a85291e9c9663 (patch) | |
tree | 8e9b4aab83702b117c505707918329a948240bec | |
parent | aeb89e511328c2d15626d1628ec25be6b9675fd0 (diff) |
Update design
-rw-r--r-- | assets/css/site.css | 23 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 |
2 files changed, 21 insertions, 4 deletions
diff --git a/assets/css/site.css b/assets/css/site.css index 8fcbe8c..29c9f4a 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -7,47 +7,64 @@ .article { @apply px-5; @apply pb-5; + @apply text-gray-500; } -.article .article__header { +.article__header { @apply text-right; @apply pb-6; } -.article .artitle__title { - @apply mb-2; +.artitle__title { + @apply leading-tight; + @apply mb-4; } .article a { @apply underline; + @apply text-gray-700; +} + +.article a:hover { + @apply text-blue-600; +} + +.artitle__title a { + @apply no-underline; } .article h1 { @apply text-5xl; @apply font-semibold; + @apply text-gray-700; } .article h2 { @apply text-4xl; @apply font-semibold; + @apply text-gray-700; } .article h3 { @apply text-3xl; + @apply text-gray-700; } .article h4 { @apply text-2xl; + @apply text-gray-700; } .article h5 { @apply text-xl; + @apply text-gray-700; } .article h6 { @apply text-base; @apply font-semibold; @apply uppercase; + @apply text-gray-700; } .article h1, diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e417707..5188857 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "main" }} <article class="article"> - <h1 class="artitle__title">{{ .Title }}</h1> + <h1 class="artitle__title"><a href="{{.Permalink}}">{{ .Title }}</a></h1> {{if not .Params.hideMetadata }} <header class="article__header"> |