From 7fe8e4e2bd7de6469cc466ac55666e7420ee732c Mon Sep 17 00:00:00 2001 From: kogeletey <kg@re128.org> Date: Wed, 23 Feb 2022 17:10:39 +0300 Subject: [PATCH] content: changelog.md new version 0.2.2 changes write. sass: toc font bolding and add font size. --- content/changelog.md | 9 +++++++-- sass/layouts/_toc.scss | 5 +++++ templates/page_macros.html | 4 ++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/content/changelog.md b/content/changelog.md index 85107a9..b27d5d5 100644 --- a/content/changelog.md +++ b/content/changelog.md @@ -3,13 +3,18 @@ title = "Changelog" weight = 4 +++ -# [unreleased] +# [0.2.2] ## New features -- provide zola description by meta tag in html - new parameter `item.alt` text for your svg icon in header, if it is not specified, then the link to the resource is used as it +## Fix + +- adding aria labels, where they were not +- provide zola description by meta tag in html + ## Maintenance +- change h3 to span in toc - change license at the MIT # [0.2.1] diff --git a/sass/layouts/_toc.scss b/sass/layouts/_toc.scss index 89ebe47..ebaaeb2 100644 --- a/sass/layouts/_toc.scss +++ b/sass/layouts/_toc.scss @@ -1,3 +1,8 @@ +.font-17 { + font-weight: bold; + font-size: 17px; +} + .toc { margin-right: 1.25em; margin-left: 1em; diff --git a/templates/page_macros.html b/templates/page_macros.html index bb46019..58576d9 100644 --- a/templates/page_macros.html +++ b/templates/page_macros.html @@ -1,7 +1,7 @@ -<!-- table of content --> +{# table of content #} {% macro toc(page) %} <aside id="toc" class="nav toc"> - <span class="font-12"> In this article: </span> + <span class="font-17"> In this article: </span> <a aria-label="close button" href="#close" class="nav__close" role="button"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" width="32" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M24 9.4L22.6 8L16 14.6L9.4 8L8 9.4l6.6 6.6L8 22.6L9.4 24l6.6-6.6l6.6 6.6l1.4-1.4l-6.6-6.6L24 9.4z" fill="currentColor"></path></svg> </a> -- GitLab