Skip to content

Commit ee0ca50

Browse files
committed
feature: table styling
1 parent f0c42c8 commit ee0ca50

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

assets/sass/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ body {
1111
--bg-accent2: #DABA00;
1212
--color-onDark: #FFFFFF;
1313
--color-onLight: #000000;
14+
--color-table-border: #5B5B5B;
1415
--border-radius-s: .4rem;
1516
--border-radius-m: .8rem;
1617
--border-radius-l: 1.2rem;

assets/sass/content.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,16 @@ code {
1010
background-color: var(--bg-accent);
1111
padding: .2rem .8rem;
1212
border-radius: var(--border-radius-s);
13+
}
14+
15+
table {
16+
margin-bottom: .6rem;
17+
}
18+
19+
tr {
20+
border-bottom: .1rem solid var(--color-table-border);
21+
}
22+
23+
th, td {
24+
padding: .6rem 2rem .6rem 0;
1325
}

0 commit comments

Comments
 (0)