fix css for markdown

This commit is contained in:
mivinci 2021-07-21 12:12:51 +08:00
parent f5601e9c5e
commit 3ff716ac93
4 changed files with 13 additions and 2 deletions

View file

@ -6,8 +6,7 @@ dev:
hugo server -D -s $(source) --themesDir ../.. hugo server -D -s $(source) --themesDir ../..
build: build:
cd exampleSite hugo -D --gc --minify -s $(source) --themesDir ../
hugo -D --gc --minify -s $(source) --themesDir ../..
clean: clean:
rm -r $(source)/public rm -r $(source)/public

View file

@ -119,6 +119,8 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
2. Second item 2. Second item
3. Third item 3. Third item
- [x] xxx
#### Unordered List #### Unordered List
* List item * List item

View file

@ -45,6 +45,12 @@ hr {
border-top: 1px solid var(--bd); border-top: 1px solid var(--bd);
} }
pre,
code {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
font-size: 13px;
}
a { a {
text-decoration: none; text-decoration: none;
} }

View file

@ -30,3 +30,7 @@
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
} }
.md li {
margin-top: .5em;
}