Skip to content
Permalink
Browse files

feat: default style for table

  • Loading branch information
vividvilla committed Jan 5, 2020
1 parent 7aba720 commit 28b525ab09ef895d0bb7418c93b32bf0497d6b59
Showing with 33 additions and 0 deletions.
  1. +15 −0 exampleSite/content/posts/post-5.md
  2. +9 −0 static/css/dark.css
  3. +9 −0 static/css/main.css
@@ -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;

0 comments on commit 28b525a

Please sign in to comment.
You can’t perform that action at this time.