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;
line-height: var(--header-height);
}
.nav ul {
margin: 0;
padding: 0;
}
.logo a {
display: block;

View File

@ -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;
}

View File

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

View File

@ -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