Skip to content

Commit

Permalink
apply styles to tables (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Estela-Beatriz authored Oct 5, 2023
1 parent 61a2308 commit 629253a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@

.doc table.tableblock th,
.doc table.tableblock td {
padding: var(--ds-space-1h) var(--ds-space-2);
padding: calc(13 / var(--rem-base) * 1rem) var(--ds-space-2);
}

.doc table.tableblock,
Expand All @@ -311,7 +311,11 @@

.doc table.grid-all > thead th,
.doc table.grid-rows > thead th {
border-bottom-width: 2.5px;
border-bottom-width: var(--ds-space-q);
border-color: var(--ds-primary-outlined-border);
font-size: calc(13 / var(--rem-base) * 1rem);
color: var(--ds-text-tertiary);
letter-spacing: 0.65px;
}

.doc table.frame-all {
Expand All @@ -329,6 +333,9 @@
.doc table.frame-none > colgroup + * > :first-child > *,
.doc table.frame-sides > colgroup + * > :first-child > * {
border-top-width: 0;
font-size: calc(13 / var(--rem-base) * 1rem);
color: var(--ds-text-tertiary);
letter-spacing: 0.65px;
}

/* NOTE let the grid win in case of frame-none */
Expand Down Expand Up @@ -681,6 +688,9 @@
.doc .tableblock caption {
text-align: left;
margin-bottom: var(--ds-space-3);
font-style: normal;
letter-spacing: 0;
padding-bottom: 0;
}

.doc .ulist .title,
Expand Down

0 comments on commit 629253a

Please sign in to comment.