Skip to content

Commit ae6fb08

Browse files
authored
Merge pull request #157 from GuillaumeGomez/patch-1
Improve table's css
2 parents c58cf14 + 6bbe9a2 commit ae6fb08

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

_posts/2017-03-16-Rust-1.16.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,14 @@ checks, but doesn't produce the final binary.
6161
So how much speedup do you actually get? Like most performance related questions, the answer is "it
6262
depends." Here are some very un-scientific benchmarks:
6363

64-
| | initial build | initial check | speedup | secondary build | secondary check | speedup |
65-
|--------|---------------|---------------|---------|-----------------|-----------------|---------|
66-
| thanks | 134.75s | 50.88s | 2.648 | 15.97s | 2.9s | 5.506 |
67-
| cargo | 236.78s | 148.52s | 1.594 | 64.34s | 9.29s | 6.925 |
68-
| diesel | 15.27s | 12.81s | 0.015 | 13.54s | 12.3s | 1.100 |
64+
| | thanks | cargo | diesel |
65+
|-----------------|---------|---------|--------|
66+
| initial build | 134.75s | 236.78s | 15.27s |
67+
| initial check | 50.88s | 148.52s | 12.81s |
68+
| speedup | 2.648 | 1.594 | 0.015 |
69+
| secondary build | 15.97s | 64.34s | 13.54s |
70+
| secondary check | 2.9s | 9.29s | 12.3s |
71+
| speedup | 5.506 | 6.925 | 1.100 |
6972

7073
The 'initial' categories are the first build after cloning down a project. The 'secondary' categories
7174
involved adding one blank line to the top of `src\lib.rs` and running the command again. That's why

_sass/_base.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ body {
2525

2626

2727
/**
28-
* Set `margin-bottom` to maintain vertycal rhythm
28+
* Set `margin-bottom` to maintain vertical rhythm
2929
*/
3030
h1, h2, h3, h4, h5, h6,
3131
p, blockquote, pre,
32-
ul, ol, dl, figure,
32+
ul, ol, dl, figure, table,
3333
%vertical-rhythm {
3434
margin-bottom: $spacing-unit / 2;
3535
}

css/main.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,16 @@ $on-laptop: 800px;
5151
.highlight {
5252
background-color: #eef;
5353
}
54+
55+
td, th {
56+
border-bottom: 1px solid #eee;
57+
border-right: 1px solid #eee;
58+
}
59+
60+
th {
61+
border-top: 1px solid #eee;
62+
}
63+
64+
td:first-child, th:first-child {
65+
border-left: 1px solid #eee;
66+
}

0 commit comments

Comments
 (0)