1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-11-23 21:32:20 +00:00

add descriptions

This commit is contained in:
Ash Keel 2023-02-18 13:18:01 +01:00
parent 0adfa206c8
commit ba848208be
No known key found for this signature in database
GPG key ID: BAD8D93E7314ED3E
2 changed files with 13 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{{ define "schema" }} {{ define "schema" }}
{{ with .description }}<blockquote>{{ . }}</blockquote>{{ end }}
<code> <code>
{{ with .element }} {{ with .element }}
{{ with $.name }} {{ with $.name }}

View file

@ -75,6 +75,18 @@
.schema { .schema {
margin-top: 1rem; margin-top: 1rem;
code > ul:first-of-type > li > blockquote {
padding-top: 0;
}
blockquote {
margin: 0;
padding: 0;
padding-top: 0.5rem;
color: $gray9;
&::before {
content: "// ";
}
}
.nameblock { .nameblock {
display: none; display: none;
} }