mirror of
https://git.sr.ht/~ashkeel/strimertul-website
synced 2024-11-21 21:22:21 +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" }}
|
{{ define "schema" }}
|
||||||
|
{{ with .description }}<blockquote>{{ . }}</blockquote>{{ end }}
|
||||||
<code>
|
<code>
|
||||||
{{ with .element }}
|
{{ with .element }}
|
||||||
{{ with $.name }}
|
{{ with $.name }}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue