Skip to content

Commit

Permalink
add basic styling for figure and figcaption (facebook#2348)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek authored Nov 24, 2020
1 parent 61f0699 commit a180a40
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion website/src/css/customTheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ hr {
code {
background-color: transparent;
font-size: 90%;
padding: 0 6px;
}
}

Expand All @@ -125,7 +126,7 @@ hr {
tr th {
text-transform: uppercase;
padding: 6px 10px;
font-size: 12px;
font-size: 0.7rem;
text-align: left;
}

Expand All @@ -145,6 +146,21 @@ hr {
}
}

figure {
text-align: center;
padding: 8px;

figcaption {
padding: 8px;
font-size: 0.9rem;
color: var(--subtle);

code {
color: var(--subtle);
}
}
}

.docusaurus-highlight-code-line {
background-color: var(--light);
}
Expand Down

0 comments on commit a180a40

Please sign in to comment.