fix homeInfoParams style, add docs to menu

This commit is contained in:
Reorx 2022-04-14 15:19:21 +08:00
parent d94f895296
commit dbbf9f81a1
4 changed files with 21 additions and 19 deletions

View File

@ -7,6 +7,10 @@
margin-inline-end: auto; margin-inline-end: auto;
line-height: var(--header-height); line-height: var(--header-height);
} }
.nav ul {
margin: 0;
padding: 0;
}
.logo a { .logo a {
display: block; display: block;

View File

@ -332,6 +332,10 @@ h6:hover .anchor {
padding: 10px 15px 5px 35px; padding: 10px 15px 5px 35px;
} }
.toc ul {
margin: 0;
padding: 0;
}
.toc li ul { .toc li ul {
margin-inline-start: 20px; margin-inline-start: 20px;
} }

View File

@ -63,17 +63,12 @@ p {
margin-bottom: 0; margin-bottom: 0;
} }
ul {
padding: 0;
}
a { a {
text-decoration: none; text-decoration: none;
} }
body, body,
figure, figure {
ul {
margin: 0; margin: 0;
} }

View File

@ -24,21 +24,18 @@ languages:
weight: 1 weight: 1
menu: menu:
main: main:
- name: Docs
url: docs
weight: 1
- name: Tags
url: tags/
weight: 4
- name: Archive - name: Archive
url: archives url: archives
weight: 5 weight: 5
- name: Search - name: Search
url: search/ url: search/
weight: 10 weight: 10
- name: Tags
url: tags/
weight: 10
- name: Categories
url: categories/
weight: 10
- name: Icons
url: icons/
weight: 10
- name: "@Author" - name: "@Author"
url: "https://reorx.com" url: "https://reorx.com"
@ -125,12 +122,14 @@ params:
homeInfoParams: homeInfoParams:
Title: "PaperModX" Title: "PaperModX"
Content: > Content: |
Welcome to demo of hugo's theme PaperModX. 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: socialIcons:
- name: github-simple - name: github-simple