Skip to content

Commit

Permalink
Update table
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Feb 16, 2016
1 parent 2bcf02f commit 2e5f6d8
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
8 changes: 6 additions & 2 deletions _posts/2016-02-16-hello-world-vno.markdown
Expand Up @@ -31,9 +31,13 @@ You could replace the background and avatar image in `assets/images` folder to c

#### Sites using Vno

[My blog](http://onevcat.com) is using `Vno Jekyll` as well, you could see how it works in real. If you happen to be using this theme, you could [send me a pull request](https://github.com/onevcat/vno-jekyll/pulls) to add your site link:
[My blog](http://onevcat.com) is using `Vno Jekyll` as well, you could see how it works in real. There are some other sites using the same theme. You can find them below:

* [OneV's Den](http://onevcat.com)
| Site Name | URL |
| ------------ | -----------------------------|
| OneV's Den | http://onevcat.com |

> If you happen to be using this theme, welcome to [send me a pull request](https://github.com/onevcat/vno-jekyll/pulls) to add your site link here. :)
#### License

Expand Down
35 changes: 35 additions & 0 deletions _sass/global.scss
Expand Up @@ -174,6 +174,41 @@ pre {

}

table {
color: $gray-darkest;
font-size: .9em;
text-align: center;
line-height: 40px;
border-spacing: 0;
border: 2px solid darken($primary-color, 10%);
width: 90%;
margin: 50px auto;
}

thead tr:first-child {
background-color: darken($primary-color, 10%);
color: $gray-lightest;
border: none;
}

th {font-weight: bold;}
th:first-child, td:first-child {padding: 0 15px 0 20px;}

thead tr:last-child th {
border-bottom: 1px solid $gray-light;
}

tbody tr:last-child td {border: none;}
tbody td {
border-bottom: 1px solid $gray-light;
font-size: .85em;
}

td:last-child {
padding-right: 10px;
}


.date,
.time,
.author,
Expand Down

0 comments on commit 2e5f6d8

Please sign in to comment.