diff --git a/assets/css/common/header.css b/assets/css/common/header.css index 10de31e..ca40bcc 100644 --- a/assets/css/common/header.css +++ b/assets/css/common/header.css @@ -7,6 +7,10 @@ margin-inline-end: auto; line-height: var(--header-height); } +.nav ul { + margin: 0; + padding: 0; +} .logo a { display: block; diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index f90c8cd..ff6758a 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -332,6 +332,10 @@ h6:hover .anchor { padding: 10px 15px 5px 35px; } +.toc ul { + margin: 0; + padding: 0; +} .toc li ul { margin-inline-start: 20px; } diff --git a/assets/css/core/reset.css b/assets/css/core/reset.css index dfb1caa..7027379 100644 --- a/assets/css/core/reset.css +++ b/assets/css/core/reset.css @@ -63,17 +63,12 @@ p { margin-bottom: 0; } -ul { - padding: 0; -} - a { text-decoration: none; } body, -figure, -ul { +figure { margin: 0; } diff --git a/exampleSite/config.yml b/exampleSite/config.yml index dc58fc0..6c0c0bd 100644 --- a/exampleSite/config.yml +++ b/exampleSite/config.yml @@ -24,21 +24,18 @@ languages: weight: 1 menu: main: + - name: Docs + url: docs + weight: 1 + - name: Tags + url: tags/ + weight: 4 - name: Archive url: archives weight: 5 - name: Search url: search/ weight: 10 - - name: Tags - url: tags/ - weight: 10 - - name: Categories - url: categories/ - weight: 10 - - name: Icons - url: icons/ - weight: 10 - name: "@Author" url: "https://reorx.com" @@ -125,12 +122,14 @@ params: homeInfoParams: Title: "PaperModX" - Content: > - Welcome to demo of hugo's theme PaperModX. + Content: | + Welcome to demo of hugo's theme PaperModX. - - **PaperModX** is a simple but fast and responsive theme with useful feature-set that enhances UX. + - **PaperModX** is a simple but fast and responsive theme with useful feature-set that enhances UX. - - PaperModX is based on theme [PaperMod](https://github.com/adityatelange/hugo-PaperMod). + - PaperModX is based on theme [PaperMod](https://github.com/adityatelange/hugo-PaperMod). + + To get started, please head to the [Docs](docs). socialIcons: - name: github-simple