holy/layouts/partials/prose.html

41 lines
1.9 KiB
HTML
Raw Normal View History

2022-04-12 19:01:56 +00:00
<div class="
2022-04-26 16:15:41 +00:00
_:where(a):hover{text-decoration-color:fade}
2022-04-12 19:01:56 +00:00
_: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(code){font:90%;_v:middle}
_:where(code:not(.highlight_*,pre_*)){p:2;6;_r:4}
2022-04-12 19:01:56 +00:00
_:where(del){text-decoration:1;line-through;fade-68;_text-decoration-color:red-64@dark}
2022-05-05 16:33:02 +00:00
_:where(figcaption){text:14;_p:10;20;0;_width:fit;_mx:auto;_font:fade-56;_font:fade-57@dark}
2022-04-12 19:01:56 +00:00
_:where(h1){font:40;_font:extrabold}
_:where(h1,h2,h3)+:where(h1,h2,h3){mt:.5em}
2024-04-14 06:03:54 +00:00
_:where(h1,h2,h3,h4,h5,h6){mt:0em}
2022-04-12 19:01:56 +00:00
_:where(h2){mb:1em;_font:32}
_:where(h3){font:24}
_:where(h4){font:20}
_:where(h5){font:16}
_:where(h6){font:14}
2022-05-05 16:33:02 +00:00
_:where(li)::marker{font:fade-44;_font:fade-68@dark}
2022-04-12 19:01:56 +00:00
_:where(li){pl:.375em}
_:where(mark){text-decoration:1;underline;#fce016;_bg:transparent;_text-decoration-color:rgb(252;224;22/.5)@dark}
2022-05-05 16:33:02 +00:00
_:where(p,li){font:fade-76;_font:16;_line-height:1.65;_font:fade-34@dark}
2022-04-12 19:01:56 +00:00
_:where(p,pre,blockquote,figure,ul,ol,table){my:1.125em}
2022-04-13 18:02:09 +00:00
>:first-child{mt:0!}
2022-04-12 19:01:56 +00:00
_:where(pre){p:20;_r:8;_overflow:auto}
_:where(pre,code:not(.highlight_*)){bg:fade-2;_bg:fade-92!@dark}
2022-04-12 19:01:56 +00:00
_:where(strong,b,a,code:not(.highlight_*),mark,del){font:fade-92;_font:fade-12@dark}
_:where(table){width:full;_border-spacing:0}
_:where(td){v:baseline}
_:where(td,th):first-child{pl:0}
_:where(td,th):last-child{pr:0}
2022-05-05 16:33:02 +00:00
_:where(td,th){bb:1;solid;fade-92/.06;_p:6;_b:fade-4/.04@dark}
_:where(th){font:fade-78;_font:14;_text:left;_font:fade-12@dark}
2022-04-12 19:01:56 +00:00
_:where(th,p_code,li_code,a,mark){font:semibold;_font:medium@dark}
_:where(ul){list-style-type:disc}
_:where(ul,ol,blockquote){pl:1.5em}
_:where(video,img){max-width:full}
_:where(a,mark){text-underline-offset:3}
2023-05-11 21:35:23 +00:00
_:where(hr){h:2;_bg:fade-10;_bg:fade-70@dark;_my:3em}
2022-04-12 19:01:56 +00:00
">
{{- .Content -}}
2024-04-13 10:31:46 +00:00
</div>