mirror of
https://git.sr.ht/~ashkeel/strimertul-website
synced 2024-11-19 21:12:20 +00:00
add descriptions
This commit is contained in:
parent
0adfa206c8
commit
ba848208be
2 changed files with 13 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
{{ define "schema" }}
|
||||
{{ with .description }}<blockquote>{{ . }}</blockquote>{{ end }}
|
||||
<code>
|
||||
{{ with .element }}
|
||||
{{ with $.name }}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue