Skip to content
Snippets Groups Projects
Unverified Commit 8bffcd06 authored by Patrick Marsceill's avatar Patrick Marsceill Committed by GitHub
Browse files

Merge pull request #9 from daviddarnes/patch-1

Improve presentation of Description Lists
parents 6c05ef8b dc0d4a0c
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
.page-content { .page-content {
ul, ul,
ol, ol {
dl {
padding-left: 1.5em; padding-left: 1.5em;
} }
...@@ -64,4 +63,27 @@ ...@@ -64,4 +63,27 @@
h1:first-of-type { h1:first-of-type {
margin-top: 0.5em; margin-top: 0.5em;
} }
dl {
display: grid;
grid-template-columns: max-content 1fr;
}
dt,
dd {
margin: 0.25em 0;
}
dt {
text-align: right;
&::after {
content: ":";
}
}
dd {
margin-left: 1em;
font-weight: 500;
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment