Skip to content

Improve table's css #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions _posts/2017-03-16-Rust-1.16.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,14 @@ checks, but doesn't produce the final binary.
So how much speedup do you actually get? Like most performance related questions, the answer is "it
depends." Here are some very un-scientific benchmarks:

| | initial build | initial check | speedup | secondary build | secondary check | speedup |
|--------|---------------|---------------|---------|-----------------|-----------------|---------|
| thanks | 134.75s | 50.88s | 2.648 | 15.97s | 2.9s | 5.506 |
| cargo | 236.78s | 148.52s | 1.594 | 64.34s | 9.29s | 6.925 |
| diesel | 15.27s | 12.81s | 0.015 | 13.54s | 12.3s | 1.100 |
| | thanks | cargo | diesel |
|-----------------|---------|---------|--------|
| initial build | 134.75s | 236.78s | 15.27s |
| initial check | 50.88s | 148.52s | 12.81s |
| speedup | 2.648 | 1.594 | 0.015 |
| secondary build | 15.97s | 64.34s | 13.54s |
| secondary check | 2.9s | 9.29s | 12.3s |
| speedup | 5.506 | 6.925 | 1.100 |

The 'initial' categories are the first build after cloning down a project. The 'secondary' categories
involved adding one blank line to the top of `src\lib.rs` and running the command again. That's why
Expand Down
4 changes: 2 additions & 2 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ body {


/**
* Set `margin-bottom` to maintain vertycal rhythm
* Set `margin-bottom` to maintain vertical rhythm
*/
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
ul, ol, dl, figure, table,
%vertical-rhythm {
margin-bottom: $spacing-unit / 2;
}
Expand Down
13 changes: 13 additions & 0 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,16 @@ $on-laptop: 800px;
.highlight {
background-color: #eef;
}

td, th {
border-bottom: 1px solid #eee;
border-right: 1px solid #eee;
}

th {
border-top: 1px solid #eee;
}

td:first-child, th:first-child {
border-left: 1px solid #eee;
}