_content-tables.css (595B)
1 .prose table {
2 width: 100%;
3 margin-bottom: 3em;
4 border-collapse: collapse;
5 border-spacing: 0;
6 font-size: 1em;
7 border: 1px solid var(--light-gray);
8 & th {
9 background-color: var(--primary-color);
10 border-bottom: 1px solid var(--primary-color);
11 color: white;
12 font-weight: 400;
13
14 text-align: left;
15 padding: .375em .5em;
16 }
17
18 & td, & tc {
19 padding: .75em .5em;
20 text-align: left;
21 border-right: 1px solid var(--light-gray);
22 }
23
24 }
25
26 .prose table tr:nth-child(even) {
27 background-color: var(--light-gray);
28 }