feat: default style for table
This commit is contained in:
parent
7aba720e77
commit
28b525ab09
@ -73,3 +73,18 @@ Ordered list
|
||||
1. Red
|
||||
2. Green
|
||||
3. Blue
|
||||
|
||||
## Tables
|
||||
|
||||
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
||||
|
||||
Name | Age
|
||||
--------|------
|
||||
Bob | 27
|
||||
Alice | 23
|
||||
|
||||
#### Inline Markdown within tables
|
||||
|
||||
| Inline | Markdown | In | Table |
|
||||
| ---------- | --------- | ----------------- | ---------- |
|
||||
| *italics* | **bold** | ~~strikethrough~~ | `code` |
|
@ -58,3 +58,12 @@ a:hover {
|
||||
.highlight {
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
table th {
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
table th, table td {
|
||||
padding: 10px 20px;
|
||||
border: 1px solid #666;
|
||||
}
|
@ -375,6 +375,15 @@ ul {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
table th {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
table th, table td {
|
||||
padding: 10px 20px;
|
||||
border: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
body {
|
||||
padding: 20px;
|
||||
|
Loading…
Reference in New Issue
Block a user