1
0
mirror of https://github.com/thangisme/notes.git synced 2024-10-04 20:03:54 -04:00

Merge pull request #9 from daviddarnes/patch-1

Improve presentation of Description Lists
This commit is contained in:
Patrick Marsceill 2018-10-24 14:16:51 -04:00 committed by GitHub
commit 8bffcd06cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,7 @@
.page-content {
ul,
ol,
dl {
ol {
padding-left: 1.5em;
}
@ -64,4 +63,27 @@
h1:first-of-type {
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;
}
}