diff --git a/CHANGELOG.md b/CHANGELOG.md index 999fc1d2..f231c0fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,7 @@ All notable changes to Congo will be documented in this file. -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- @@ -13,10 +12,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Breadcrumbs - i18n support +- CSS transitions ### Changed - Consolidated author configuration parameters into `config.toml` +- General style tweaks to enhance design consistency ### Fixed diff --git a/assets/css/main.css b/assets/css/main.css index daf510e1..9cbcfe92 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,6 +1,11 @@ @tailwind base; @tailwind components; +body a, +body button { + @apply transition; +} + /* Scale SVG icons to text size */ .icon svg { height: 1em; @@ -29,6 +34,15 @@ @apply mt-0 last:mb-0; } +/* Article pagination */ +.article-pagination a:hover .article-pagination-title { + @apply underline underline-primary-500; +} + +.article-pagination a:hover .article-pagination-direction { + @apply text-primary-700 dark:text-primary-400; +} + /* -- Chroma Highlight -- */ /* Background */ .prose .chroma { diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index f228f37f..273d66f8 100755 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -7,6 +7,21 @@ description: "This is a demo of the Congo theme for Hugo." A simple, lightweight theme for Hugo built with Tailwind CSS. {{< /lead >}} +
+ + {{< icon "exclamation-triangle" >}} + + + This is a demo of the page layout. + + +
+ This is a demo site built entirely using Congo. It also contains a complete set of [theme documentation](/docs/). Congo is flexible and is great for both static page-based content (like this demo) or a traditional blog with a feed of recent posts. Explore the [sample pages](/samples/) to get a feel for what Congo can do. If you like what you see, check out the project on [Github](https://github.com/jpanther/Congo) or read the [Installation guide](/docs/installation/) to get started. diff --git a/exampleSite/layouts/partials/home/custom.html b/exampleSite/layouts/partials/home/custom.html index 440c44a2..ea4f0452 100644 --- a/exampleSite/layouts/partials/home/custom.html +++ b/exampleSite/layouts/partials/home/custom.html @@ -1,38 +1,27 @@ - - -
- - {{ partial "icon.html" "exclamation-triangle" }} - - - This is a demo of the `page` layout. - - -
-
{{ partial "partials/home/page.html" . }}
-