Skip to content

Commit 200b2c2

Browse files
committed
Basic table style
1 parent de2cd2f commit 200b2c2

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

_sass/tables.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
table {
2+
thead {
3+
font-weight: bold;
4+
5+
th {
6+
text-align: left;
7+
border-bottom: 4px solid #888;
8+
font-weight: bold;
9+
padding: 12px;
10+
vertical-align: middle;
11+
}
12+
}
13+
14+
tr {
15+
&:nth-child(even) td {
16+
background: #eee;
17+
}
18+
19+
td {
20+
padding: 12px;
21+
}
22+
}
23+
}

css/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
---
33
@import "uno";
4+
@import "tables";
45
@import "monokai";
56

67
/* Modifications */

0 commit comments

Comments
 (0)