summaryrefslogtreecommitdiffstats
path: root/docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_content-tables.css
blob: 4e092e8bf853b5c342173a0bcd65c19657312ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.prose table {
    width: 100%;
    margin-bottom: 3em;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 1em;
    border: 1px solid var(--light-gray);
     & th {
       background-color: var(--primary-color);
       border-bottom: 1px solid var(--primary-color);
       color: white;
       font-weight: 400;

       text-align: left;
       padding: .375em .5em;
     }

    & td, & tc {
      padding: .75em .5em;
      text-align: left;
      border-right: 1px solid var(--light-gray);
    }

}

.prose table tr:nth-child(even) {
  background-color: var(--light-gray);
}