feat: add li components
This commit is contained in:
parent
31fa7446bd
commit
f8b9088902
|
@ -0,0 +1,7 @@
|
||||||
|
<div class="mb:12 py:8">
|
||||||
|
<a class="f:18! font:semibold! f:fade-30! text-decoration:none f:fade-10!:hover transition:150ms;ease-in" href="{{ .url }}">
|
||||||
|
{{ .title }}
|
||||||
|
</a>
|
||||||
|
<div class="mt:12 f:14 f:fade-70"><time>{{ .subTitle }}</time></div>
|
||||||
|
{{ .hi }}
|
||||||
|
</div>
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="
|
<div class="
|
||||||
_:where(a):hover{text-decoration-color:fade!}
|
_:where(a):hover{text-decoration-color:fade}
|
||||||
_:where(a){text-decoration:2;underline;fade-10;_text-decoration-color:fade-70@dark}
|
_:where(a){text-decoration:2;underline;fade-10;_text-decoration-color:fade-70@dark}
|
||||||
_:where(blockquote){bl:5;solid;fade-76/.1;_bl:5;solid;fade-34/.1@dark}
|
_:where(blockquote){bl:5;solid;fade-76/.1;_bl:5;solid;fade-34/.1@dark}
|
||||||
_:where(code){font:90%;_v:middle}
|
_:where(code){font:90%;_v:middle}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
{{- partial "li.html" ( dict
|
||||||
|
"url" (.Get "href")
|
||||||
|
"title" (.Get "title")
|
||||||
|
"subTitle" (.Get "alt")
|
||||||
|
) -}}
|
Loading…
Reference in New Issue