From e13eea3e68cc75edc608cc9f1d2381b6d7f13592 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 28 May 2022 11:50:24 +0200 Subject: Fix margin bottom on the nested ULs for page TOC --- CHANGELOG.md | 4 ++++ assets/sass/_customize.scss | 9 +++++++++ exampleSite/content/credits.md | 2 +- .../sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content | 8 ++++++++ 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42e7d42..a19fd3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Rework the "Latest Publications" section, add post date - Add 404 page to robots.txt file (to prevent search engines from indexing it) +### Fixed + +- Fix margin bottom on the nested unordered lists for page's table of contents + ## v0.1.0 - 2022-05-27 - Initial release diff --git a/assets/sass/_customize.scss b/assets/sass/_customize.scss index bc64b27..2b035c4 100644 --- a/assets/sass/_customize.scss +++ b/assets/sass/_customize.scss @@ -69,6 +69,15 @@ min-height: 100px; } +#TableOfContents ul ul, +#TableOfContents ul ul ul, +#TableOfContents ul ul ul ul, +#TableOfContents ul ul ul ul ul, +#TableOfContents ul ul ul ul ul ul, +#TableOfContents ul ul ul ul ul ul ul { + margin-bottom: 0; +} + .post-meta { margin-top: 5px; font-size: .85rem; diff --git a/exampleSite/content/credits.md b/exampleSite/content/credits.md index 00e1245..3a0dd33 100644 --- a/exampleSite/content/credits.md +++ b/exampleSite/content/credits.md @@ -31,6 +31,6 @@ After having studied digital humanities at the Ecole nationale des Chartes in Pa As many open source projects, Ed is the work of community. The project starts with the open web, and everything in between leading to {{< link src="https://gohugo.io/" target="_blank" rel="noopener noreferrer" >}}Hugo{{< /link >}} and the wonderful team who wrangled that Go in our favor. This theme is adopted and finalized with new functionality from {{< link src="https://jekyllrb.com/" target="_blank" rel="noopener noreferrer" >}}Jekyll{{< /link >}} {{< link src="https://github.com/minicomp/ed" target="_blank" rel="noopener noreferrer" >}}Ed{{< /link >}} theme by {{< link src="ttps://twitter.com/elotroalex" target="_blank" rel="noopener noreferrer" >}}Alex Gil{{< /link >}}. The original Ed theme stylesheets are built on top of {{< link src="https://github.com/poole/lanyon" target="_blank" rel="noopener noreferrer" >}}Lanyon{{< /link >}}, a Jekyll theme based on {{< link src="http://getpoole.com" target="_blank" rel="noopener noreferrer" >}}Poole{{< /link >}}, "the Jekyll butler," both created by {{< link src="https://github.com/mdo" target="_blank" rel="noopener noreferrer" >}}Mark Otto{{< /link >}} and distributed with an MIT license. Thanks, Mark, for your helpful streamlining! Special hat tips to brother-in-markdown-arms, {{< link src="https://github.com/c-forster" target="_blank" rel="noopener noreferrer" >}}Chris Forster{{< /link >}}, and the generous {{< link src="https://github.com/inukshuk/" target="_blank" rel="noopener noreferrer" >}}Sylvester Keil{{< /link >}} for his work on Jekyll Scholar. -We are strongly indebted to the research work and conversations stemming out of our {{< link src="http://xpmethod.plaintext.in/" target="_blank" rel="noopener noreferrer" >}}Columbia's Group for Experimental Methods in the Humanities{{< /link >}}—or as we like to call it: #xpmethod; the wonderful international comradery of {{< link src="http://www.globaloutlookdh.org/" target="_blank" rel="noopener noreferrer" >}}GO::DH{{< /link >}}; and of course, the support of our {{< link src="http://library.columbia.edu/" target="_blank" rel="noopener noreferrer" >}}Columbia University Libraries{{< /link >}} and its cozy {{< link src="https://studio.cul.columbia.edu/" target="_blank" rel="noopener noreferrer" >}}Studio@Butler{{< /link >}}. +We are strongly indebted to the research work and conversations stemming out of our {{< link src="http://xpmethod.plaintext.in/" target="_blank" rel="noopener noreferrer" >}}Columbia's Group for Experimental Methods in the Humanities{{< /link >}}—or as we like to call it: \#xpmethod; the wonderful international comradery of {{< link src="http://www.globaloutlookdh.org/" target="_blank" rel="noopener noreferrer" >}}GO::DH{{< /link >}}; and of course, the support of our {{< link src="http://library.columbia.edu/" target="_blank" rel="noopener noreferrer" >}}Columbia University Libraries{{< /link >}} and its cozy {{< link src="https://studio.cul.columbia.edu/" target="_blank" rel="noopener noreferrer" >}}Studio@Butler{{< /link >}}. ...and to the writers that inspire us to scribble notes on the margins we protect with our work. Thank you. diff --git a/resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content b/resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content index aa1364f..93ac7ae 100644 --- a/resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content +++ b/resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content @@ -913,6 +913,14 @@ form input:-moz-ui-invalid { #main article { min-height: 100px; } +#TableOfContents ul ul, +#TableOfContents ul ul ul, +#TableOfContents ul ul ul ul, +#TableOfContents ul ul ul ul ul, +#TableOfContents ul ul ul ul ul ul, +#TableOfContents ul ul ul ul ul ul ul { + margin-bottom: 0; } + .post-meta { margin-top: 5px; font-size: .85rem; -- cgit v1.2.3