mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-15 07:32:23 -06:00
Merge pull request #9 from daviddarnes/patch-1
Improve presentation of Description Lists
This commit is contained in:
commit
8bffcd06cd
@ -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 @@
|
|||||||
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user