Skip to content

Commit

Permalink
Add table styling and fix chesterhow#1
Browse files Browse the repository at this point in the history
  • Loading branch information
chesterhow committed Mar 16, 2017
1 parent 1e52fce commit 15fded9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
1 change: 0 additions & 1 deletion _posts/2017-03-08-welcome-to-jekyll.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
layout: post
title: "Introducing Tale 2"
categories: jekyll update
---

You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
Expand Down
1 change: 0 additions & 1 deletion _posts/2017-03-10-welcome-to-jekyll.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
layout: post
title: "Welcome to Jekyll!"
categories: jekyll update
---

You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
Expand Down
24 changes: 24 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,27 @@ img {
margin: 0 0 1rem;
max-width: 100%;
}

table {
border: 1px solid $grey-2;
border-collapse: collapse;
font-size: 85%;
margin-bottom: 1rem;
width: 100%;
}

td,
th {
border: 1px solid $grey-2;
padding: .25rem .5rem;
vertical-align: top;
}

th {
text-align: left;
}

tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
background-color: $grey-3;
}
6 changes: 0 additions & 6 deletions _sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,3 @@ $code-color: #bf616a;
-moz-transition: $args;
transition: $args;
}

@mixin transform-translate($x, $y) {
-webkit-transform: translate($x, $y);
-moz-transform: translate($x, $y);
transform: translate($x, $y);
}

0 comments on commit 15fded9

Please sign in to comment.