1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-12-21 23:12:19 +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" }}
{{ with .description }}<blockquote>{{ . }}</blockquote>{{ end }}
<code>
{{ with .element }}
{{ with $.name }}

View file

@ -75,6 +75,18 @@
.schema {
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 {
display: none;
}