Skip to content

Commit

Permalink
feat(#61): style definition lists
Browse files Browse the repository at this point in the history
  • Loading branch information
jannis-baum committed Apr 29, 2024
1 parent 11ba7cd commit b324651
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,32 @@ section.footnotes {
color: #7d7d7d;
}

/* --------------------------------------------------------------------------
* DEFIITION LISTS ---------------------------------------------------------- */

dl {
display: flex;
flex-flow: row wrap;
}
dt {
flex-basis: 20%;
text-align: right;
font-weight: bold;
box-sizing: border-box;
padding: 0.25em;
border-right: 0.2px solid #444;
margin: 0.25em 0;
}
dd {
flex-basis: 80%;
flex-grow: 1;
text-align: left;
box-sizing: border-box;
margin: 0;
padding: 0.25em;
margin: 0.25em 0;
}

/* --------------------------------------------------------------------------
* LIGHT MODE --------------------------------------------------------------- */
@media (prefers-color-scheme: light) {
Expand Down

0 comments on commit b324651

Please sign in to comment.