start styling fact box, center rich text content

This commit is contained in:
elise
2024-07-15 20:47:43 +02:00
parent e64fa9d1c0
commit ea5ea5cf1c
2 changed files with 8 additions and 26 deletions

View File

@ -1,7 +1,9 @@
.factBox {
/* TODO: default fact box color if none is chosen
background: var(--color-background-secondary);
*/
max-width: var(--size-width-p);
margin: 0 calc(var(--spacing-s) * -1);
padding: var(--spacing-s);
font-size: var(--font-size-caption);
&[data-background-color="betongGray"] {
background-color: var(--color-betongGray);