fix some style

This commit is contained in:
Mivinci 2021-12-09 00:54:53 +08:00
parent a1a4a76474
commit 40765ae342
3 changed files with 14 additions and 8 deletions

View file

@ -16,13 +16,17 @@
}
.md table thead {
background-color: var(--bd);
border-top: 2px solid var(--ft);
border-bottom: 1px solid var(--ft);
}
.md table tbody {
border-bottom: 2px solid var(--ft);
}
.md table th,
.md table td {
padding: 10px 20px;
border-bottom: 1px solid var(--bd);
}
.md img {

View file

@ -7,6 +7,10 @@ code[class*="language-"] {
line-height: 1.5;
}
pre {
line-height: 1.2;
}
.chroma {
background-color: #292929;
margin: .5em 0;

View file

@ -54,16 +54,14 @@ The blockquote element represents content that is quoted from another source, op
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
| Name | Age |
| ---- | --- |
Bob | 27
Alice | 23
|:----:|:---:|
| Bob | 27 |
| Alice | 23 |
#### Inline Markdown within tables
| Italics | Bold | Code |
| --------- | -------- | ------ |
|:---------:|:--------:|:------:|
| *italics* | **bold** | `code` |
## Code Blocks