styles: update bg colors and fix code padding
This commit is contained in:
parent
5638e440c1
commit
3ecaf6bbc1
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
|
||||
<body class="bg:fade-90@dark font:fade-16@dark">
|
||||
<body class="bg:fade-84@dark font:fade-16@dark">
|
||||
{{ partial "header.html" . -}}
|
||||
<div class="d:flex flex:column@<=sm pt:90 px:32 jc:center gap:44">
|
||||
{{- block "side" . }}{{- end }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<nav class="w:full h:90 fixed bg:fade-90/.95@dark bg:white z:1000">
|
||||
<nav class="w:full h:90 fixed bg:fade-84/.95@dark bg:white z:1000">
|
||||
<div class="
|
||||
h:full
|
||||
w:full
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
_: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_*)){p:2;4;_r:4}
|
||||
_:where(code:not(.highlight_*,pre_*)){p:2;6;_r:4}
|
||||
_:where(del){text-decoration:1;line-through;fade-68;_text-decoration-color:red-64@dark}
|
||||
_:where(figcaption){text:14;_p:10;20;0;_width:fit;_mx:auto;_font:fade-56;_font:fade-57@dark}
|
||||
_:where(h1){font:40;_font:extrabold}
|
||||
|
@ -21,7 +21,7 @@
|
|||
_:where(p,pre,blockquote,figure,ul,ol,table){my:1.125em}
|
||||
>:first-child{mt:0!}
|
||||
_:where(pre){p:20;_r:8;_overflow:auto}
|
||||
_:where(pre,code:not(.highlight_*)){bg:fade-2;_bg:fade-94@dark}
|
||||
_:where(pre,code:not(.highlight_*)){bg:fade-2;_bg:fade-92@dark}
|
||||
_: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}
|
||||
|
|
Loading…
Reference in New Issue