diff --git a/src/html/templates/breadcrumbs.hbs b/src/html/templates/breadcrumbs.hbs index 5f00ee5a..cd064a98 100644 --- a/src/html/templates/breadcrumbs.hbs +++ b/src/html/templates/breadcrumbs.hbs @@ -18,7 +18,7 @@ {{~#if this.is_symbol~}} . {{~else~}} - {{~> icons/arrow ~}} + {{~> icons/arrow ~}} {{~/if~}} {{/unless}} diff --git a/src/html/templates/comrak.css b/src/html/templates/comrak.css index 517c1524..aa1c8b2d 100644 --- a/src/html/templates/comrak.css +++ b/src/html/templates/comrak.css @@ -1,9 +1,9 @@ .link { - @apply text-blue-600 transition duration-75; + @apply text-blue-600 transition duration-75 dark:text-blue-400; } .link:hover { - @apply text-blue-400; + @apply text-blue-400 dark:text-blue-500; } .markdown_summary, .markdown { @@ -13,14 +13,34 @@ } .markdown_summary { - @apply inline text-stone-600; + @apply inline text-stone-600 dark:text-stone-400; p { @apply inline-block line-clamp-4; } :not(pre) > code { - @apply font-mono text-sm py-0.5 px-1.5 rounded bg-stone-200; + @apply font-mono text-sm py-0.5 px-1.5 rounded bg-stone-200 + dark:bg-stone-800; + } +} + +.context_button { + @apply absolute top-3 right-4 opacity-60 hover:opacity-100 active:opacity-100 + transition duration-75; + + svg.check { + @apply hidden; + } + + &.copied { + svg.copy { + @apply hidden; + } + + svg.check { + @apply block; + } } } @@ -29,11 +49,13 @@ md:max-w-screen-md lg:max-w-[75ch]; h1 { - @apply text-xl md:text-2xl lg:text-3xl border-b border-stone-300 pb-1; + @apply text-xl md:text-2xl lg:text-3xl border-b border-stone-300 pb-1 + dark:border-stone-700; } h2 { - @apply text-lg md:text-xl lg:text-2xl border-b border-stone-300 pb-1; + @apply text-lg md:text-xl lg:text-2xl border-b border-stone-300 pb-1 + dark:border-stone-700; } h3 { @@ -53,7 +75,7 @@ } hr { - @apply m-2 border-stone-500; + @apply m-2 border-stone-500 dark:border-stone-400; } ol, ul { @@ -70,7 +92,8 @@ /* Inline code */ :not(pre) > code { - @apply font-mono text-sm py-0.5 px-1.5 rounded-md bg-stone-200; + @apply font-mono text-sm py-0.5 px-1.5 rounded-md bg-stone-200 + dark:bg-stone-800; } h1, h2, h3, h4, h5, h6 { @@ -81,7 +104,8 @@ pre { @apply font-mono text-sm text-black bg-slate-50 border-t-1.5 border-b-1.5 - border-slate-300 -mx-4 rounded-none md:rounded-md md:border-1.5 md:mx-0; + border-slate-300 -mx-4 rounded-none md:rounded-md md:border-1.5 md:mx-0 + dark:bg-stone-800 dark:border-gray-600; & > code:first-child { @apply overflow-x-auto px-6 py-4 block; @@ -105,11 +129,11 @@ } th, td { - @apply border-1.5 border-slate-300; + @apply border-1.5 border-slate-300 dark:border-stone-700; } tr:nth-child(2n) { - @apply bg-slate-50; + @apply bg-slate-50 dark:bg-stone-800; } img { @@ -129,68 +153,55 @@ } .alert-note { - @apply border-blue-600 bg-blue-600/5; + @apply border-blue-600 bg-blue-600/5 dark:bg-blue-600/5; div:first-child { - @apply text-blue-600 stroke-blue-600; + @apply text-blue-600 stroke-blue-600 dark:text-blue-600 + dark:stroke-blue-600; } } .alert-tip { - @apply border-green-600 bg-green-600/5; + @apply border-green-600 bg-green-600/5 dark:bg-green-600/5; div:first-child { - @apply text-green-600 stroke-green-600; + @apply text-green-600 stroke-green-600 dark:text-green-600 + dark:stroke-green-600; } } .alert-important { - @apply border-purple-600 bg-purple-600/5; + @apply border-purple-600 bg-purple-600/5 dark:bg-purple-600/5; div:first-child { - @apply text-purple-600 stroke-purple-600; + @apply text-purple-600 stroke-purple-600 dark:text-purple-600 + dark:stroke-purple-600; } } .alert-warning { - @apply border-yellow-600 bg-yellow-600/5; + @apply border-yellow-600 bg-yellow-600/5 dark:bg-yellow-600/5; div:first-child { - @apply text-yellow-600 stroke-yellow-600; + @apply text-yellow-600 stroke-yellow-600 dark:text-yellow-600 + dark:stroke-yellow-600; } } .alert-caution { - @apply border-red-600 bg-red-600/5; + @apply border-red-600 bg-red-600/5 dark:bg-red-600/5; div:first-child { - @apply text-red-600 stroke-red-600; + @apply text-red-600 stroke-red-600 dark:text-red-600 dark:stroke-red-600; } } } .markdown .highlight { - @apply relative; + @apply relative text-black bg-gray-50 dark:bg-gray-800 dark:text-white; .lineNumbers { - @apply border-r-2 border-stone-300 pr-1 text-right flex-none; - } - - .context_button { - @apply absolute top-3 right-4 opacity-60 hover:opacity-100; - - svg.check { - @apply hidden; - } - - &.copied { - svg.copy { - @apply hidden; - } - - svg.check { - @apply block; - } - } + @apply border-r-2 border-gray-300 pr-1 text-right flex-none + dark:border-gray-600; } } diff --git a/src/html/templates/comrak.gen.css b/src/html/templates/comrak.gen.css index 5b6e6dcf..ac29047b 100644 --- a/src/html/templates/comrak.gen.css +++ b/src/html/templates/comrak.gen.css @@ -1 +1 @@ -.link{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:75ms;transition-timing-function:cubic-bezier(.4,0,.2,1)}.link:hover{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}:is(.markdown_summary,.markdown) a:not(.no_color){--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:75ms;transition-timing-function:cubic-bezier(.4,0,.2,1)}:is(.markdown_summary,.markdown) a:not(.no_color):hover{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.markdown_summary{--tw-text-opacity:1;color:rgb(87 83 78/var(--tw-text-opacity));display:inline}.markdown_summary p{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:inline-block;overflow:hidden}.markdown_summary :not(pre)>code{--tw-bg-opacity:1;background-color:rgb(231 229 228/var(--tw-bg-opacity));border-radius:.25rem;padding:.125rem .375rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;line-height:1.25rem}.markdown{flex-shrink:1;min-width:0;max-width:40ch}.markdown>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}@media (min-width:640px){.markdown{max-width:640px}}@media (min-width:768px){.markdown{max-width:768px}}@media (min-width:1024px){.markdown{max-width:75ch}}.markdown h1{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(214 211 209/var(--tw-border-opacity));padding-bottom:.25rem;font-size:1.25rem;line-height:1.75rem}@media (min-width:768px){.markdown h1{font-size:1.5rem;line-height:2rem}}@media (min-width:1024px){.markdown h1{font-size:1.875rem;line-height:2.25rem}}.markdown h2{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(214 211 209/var(--tw-border-opacity));padding-bottom:.25rem;font-size:1.125rem;line-height:1.75rem}@media (min-width:768px){.markdown h2{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.markdown h2{font-size:1.5rem;line-height:2rem}}.markdown h3{font-weight:700}@media (min-width:768px){.markdown h3{font-size:1.125rem;font-weight:400;line-height:1.75rem}}@media (min-width:1024px){.markdown h3{font-size:1.25rem;font-weight:400;line-height:1.75rem}}.markdown h4{font-weight:600}@media (min-width:768px){.markdown h4{font-weight:700}}@media (min-width:1024px){.markdown h4{font-size:1.125rem;font-weight:400;line-height:1.75rem}}.markdown h5{font-style:italic}@media (min-width:768px){.markdown h5{font-weight:600}}@media (min-width:1024px){.markdown h5{font-weight:700}}@media (min-width:768px){.markdown h6{font-style:italic}}@media (min-width:1024px){.markdown h6{font-weight:600}}.markdown hr{--tw-border-opacity:1;border-color:rgb(120 113 108/var(--tw-border-opacity));margin:.5rem}.markdown ol,.markdown ul{margin-left:1rem;list-style-position:outside}.markdown ol{list-style-type:decimal}.markdown ul{list-style-type:disc}.markdown :not(pre)>code{--tw-bg-opacity:1;background-color:rgb(231 229 228/var(--tw-bg-opacity));border-radius:.375rem;padding:.125rem .375rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;line-height:1.25rem}:is(.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6)>code{font-size:inherit!important}.markdown pre{--tw-border-opacity:1;border-top-width:1.5px;border-bottom-width:1.5px;border-color:rgb(203 213 225/var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity));border-radius:0;margin-left:-1rem;margin-right:-1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;line-height:1.25rem}@media (min-width:768px){.markdown pre{border-width:1.5px;border-radius:.375rem;margin-left:0;margin-right:0}}.markdown pre>code:first-child{padding:1rem 1.5rem;display:block;overflow-x:auto}.markdown p{margin:.25rem 0}.markdown table{table-layout:auto;width:max-content;max-width:100%;display:block;overflow:auto}.markdown td{padding:.5rem}.markdown th{text-align:center;padding-top:.375rem;padding-bottom:.375rem;font-weight:700}.markdown th,.markdown td{--tw-border-opacity:1;border-width:1.5px;border-color:rgb(203 213 225/var(--tw-border-opacity))}.markdown tr:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}.markdown img{display:inline-block}.markdown .alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.markdown .alert{border-width:2px;border-radius:.5rem;padding:1rem 1.5rem}.markdown .alert div:first-child{align-items:center;gap:.375rem;font-weight:500;display:flex}.markdown .alert div:first-child svg{width:1.25rem;height:1.25rem}.markdown .alert-note{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity));background-color:#2563eb0d}.markdown .alert-note div:first-child{stroke:#2563eb;--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.markdown .alert-tip{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity));background-color:#16a34a0d}.markdown .alert-tip div:first-child{stroke:#16a34a;--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.markdown .alert-important{--tw-border-opacity:1;border-color:rgb(147 51 234/var(--tw-border-opacity));background-color:#9333ea0d}.markdown .alert-important div:first-child{stroke:#9333ea;--tw-text-opacity:1;color:rgb(147 51 234/var(--tw-text-opacity))}.markdown .alert-warning{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity));background-color:#ca8a040d}.markdown .alert-warning div:first-child{stroke:#ca8a04;--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.markdown .alert-caution{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity));background-color:#dc26260d}.markdown .alert-caution div:first-child{stroke:#dc2626;--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.markdown .highlight{position:relative}.markdown .highlight .lineNumbers{--tw-border-opacity:1;border-right-width:2px;border-color:rgb(214 211 209/var(--tw-border-opacity));text-align:right;flex:none;padding-right:.25rem}.markdown .highlight .context_button{opacity:.6;position:absolute;top:.75rem;right:1rem}.markdown .highlight .context_button:hover{opacity:1}.markdown .highlight .context_button svg.check{display:none}.markdown .highlight .context_button.copied svg.copy{display:none}.markdown .highlight .context_button.copied svg.check{display:block} \ No newline at end of file +.link{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:75ms;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (prefers-color-scheme:dark){.link{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}}.link:hover{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}@media (prefers-color-scheme:dark){.link:hover{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}}:is(.markdown_summary,.markdown) a:not(.no_color){--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:75ms;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (prefers-color-scheme:dark){:is(.markdown_summary,.markdown) a:not(.no_color){--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}}:is(.markdown_summary,.markdown) a:not(.no_color):hover{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}@media (prefers-color-scheme:dark){:is(.markdown_summary,.markdown) a:not(.no_color):hover{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}}.markdown_summary{--tw-text-opacity:1;color:rgb(87 83 78/var(--tw-text-opacity));display:inline}@media (prefers-color-scheme:dark){.markdown_summary{--tw-text-opacity:1;color:rgb(168 162 158/var(--tw-text-opacity))}}.markdown_summary p{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:inline-block;overflow:hidden}.markdown_summary :not(pre)>code{--tw-bg-opacity:1;background-color:rgb(231 229 228/var(--tw-bg-opacity));border-radius:.25rem;padding:.125rem .375rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;line-height:1.25rem}@media (prefers-color-scheme:dark){.markdown_summary :not(pre)>code{--tw-bg-opacity:1;background-color:rgb(41 37 36/var(--tw-bg-opacity))}}.context_button{opacity:.6;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:75ms;transition-timing-function:cubic-bezier(.4,0,.2,1);position:absolute;top:.75rem;right:1rem}.context_button:hover,.context_button:active{opacity:1}.context_button svg.check{display:none}.context_button.copied svg.copy{display:none}.context_button.copied svg.check{display:block}.markdown{flex-shrink:1;min-width:0;max-width:40ch}.markdown>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}@media (min-width:640px){.markdown{max-width:640px}}@media (min-width:768px){.markdown{max-width:768px}}@media (min-width:1024px){.markdown{max-width:75ch}}.markdown h1{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(214 211 209/var(--tw-border-opacity));padding-bottom:.25rem;font-size:1.25rem;line-height:1.75rem}@media (min-width:768px){.markdown h1{font-size:1.5rem;line-height:2rem}}@media (min-width:1024px){.markdown h1{font-size:1.875rem;line-height:2.25rem}}@media (prefers-color-scheme:dark){.markdown h1{--tw-border-opacity:1;border-color:rgb(68 64 60/var(--tw-border-opacity))}}.markdown h2{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(214 211 209/var(--tw-border-opacity));padding-bottom:.25rem;font-size:1.125rem;line-height:1.75rem}@media (min-width:768px){.markdown h2{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.markdown h2{font-size:1.5rem;line-height:2rem}}@media (prefers-color-scheme:dark){.markdown h2{--tw-border-opacity:1;border-color:rgb(68 64 60/var(--tw-border-opacity))}}.markdown h3{font-weight:700}@media (min-width:768px){.markdown h3{font-size:1.125rem;font-weight:400;line-height:1.75rem}}@media (min-width:1024px){.markdown h3{font-size:1.25rem;font-weight:400;line-height:1.75rem}}.markdown h4{font-weight:600}@media (min-width:768px){.markdown h4{font-weight:700}}@media (min-width:1024px){.markdown h4{font-size:1.125rem;font-weight:400;line-height:1.75rem}}.markdown h5{font-style:italic}@media (min-width:768px){.markdown h5{font-weight:600}}@media (min-width:1024px){.markdown h5{font-weight:700}}@media (min-width:768px){.markdown h6{font-style:italic}}@media (min-width:1024px){.markdown h6{font-weight:600}}.markdown hr{--tw-border-opacity:1;border-color:rgb(120 113 108/var(--tw-border-opacity));margin:.5rem}@media (prefers-color-scheme:dark){.markdown hr{--tw-border-opacity:1;border-color:rgb(168 162 158/var(--tw-border-opacity))}}.markdown ol,.markdown ul{margin-left:1rem;list-style-position:outside}.markdown ol{list-style-type:decimal}.markdown ul{list-style-type:disc}.markdown :not(pre)>code{--tw-bg-opacity:1;background-color:rgb(231 229 228/var(--tw-bg-opacity));border-radius:.375rem;padding:.125rem .375rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;line-height:1.25rem}@media (prefers-color-scheme:dark){.markdown :not(pre)>code{--tw-bg-opacity:1;background-color:rgb(41 37 36/var(--tw-bg-opacity))}}:is(.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6)>code{font-size:inherit!important}.markdown pre{--tw-border-opacity:1;border-top-width:1.5px;border-bottom-width:1.5px;border-color:rgb(203 213 225/var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity));border-radius:0;margin-left:-1rem;margin-right:-1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;line-height:1.25rem}@media (min-width:768px){.markdown pre{border-width:1.5px;border-radius:.375rem;margin-left:0;margin-right:0}}@media (prefers-color-scheme:dark){.markdown pre{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgb(41 37 36/var(--tw-bg-opacity))}}.markdown pre>code:first-child{padding:1rem 1.5rem;display:block;overflow-x:auto}.markdown p{margin:.25rem 0}.markdown table{table-layout:auto;width:max-content;max-width:100%;display:block;overflow:auto}.markdown td{padding:.5rem}.markdown th{text-align:center;padding-top:.375rem;padding-bottom:.375rem;font-weight:700}.markdown th,.markdown td{--tw-border-opacity:1;border-width:1.5px;border-color:rgb(203 213 225/var(--tw-border-opacity))}@media (prefers-color-scheme:dark){.markdown th,.markdown td{--tw-border-opacity:1;border-color:rgb(68 64 60/var(--tw-border-opacity))}}.markdown tr:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}@media (prefers-color-scheme:dark){.markdown tr:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(41 37 36/var(--tw-bg-opacity))}}.markdown img{display:inline-block}.markdown .alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.markdown .alert{border-width:2px;border-radius:.5rem;padding:1rem 1.5rem}.markdown .alert div:first-child{align-items:center;gap:.375rem;font-weight:500;display:flex}.markdown .alert div:first-child svg{width:1.25rem;height:1.25rem}.markdown .alert-note{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity));background-color:#2563eb0d}@media (prefers-color-scheme:dark){.markdown .alert-note{background-color:#2563eb0d}}.markdown .alert-note div:first-child{stroke:#2563eb;--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}@media (prefers-color-scheme:dark){.markdown .alert-note div:first-child{stroke:#2563eb;--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}}.markdown .alert-tip{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity));background-color:#16a34a0d}@media (prefers-color-scheme:dark){.markdown .alert-tip{background-color:#16a34a0d}}.markdown .alert-tip div:first-child{stroke:#16a34a;--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}@media (prefers-color-scheme:dark){.markdown .alert-tip div:first-child{stroke:#16a34a;--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}}.markdown .alert-important{--tw-border-opacity:1;border-color:rgb(147 51 234/var(--tw-border-opacity));background-color:#9333ea0d}@media (prefers-color-scheme:dark){.markdown .alert-important{background-color:#9333ea0d}}.markdown .alert-important div:first-child{stroke:#9333ea;--tw-text-opacity:1;color:rgb(147 51 234/var(--tw-text-opacity))}@media (prefers-color-scheme:dark){.markdown .alert-important div:first-child{stroke:#9333ea;--tw-text-opacity:1;color:rgb(147 51 234/var(--tw-text-opacity))}}.markdown .alert-warning{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity));background-color:#ca8a040d}@media (prefers-color-scheme:dark){.markdown .alert-warning{background-color:#ca8a040d}}.markdown .alert-warning div:first-child{stroke:#ca8a04;--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}@media (prefers-color-scheme:dark){.markdown .alert-warning div:first-child{stroke:#ca8a04;--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}}.markdown .alert-caution{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity));background-color:#dc26260d}@media (prefers-color-scheme:dark){.markdown .alert-caution{background-color:#dc26260d}}.markdown .alert-caution div:first-child{stroke:#dc2626;--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}@media (prefers-color-scheme:dark){.markdown .alert-caution div:first-child{stroke:#dc2626;--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}}.markdown .highlight{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity));position:relative}@media (prefers-color-scheme:dark){.markdown .highlight{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}}.markdown .highlight .lineNumbers{--tw-border-opacity:1;border-right-width:2px;border-color:rgb(209 213 219/var(--tw-border-opacity));text-align:right;flex:none;padding-right:.25rem}@media (prefers-color-scheme:dark){.markdown .highlight .lineNumbers{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity))}} \ No newline at end of file diff --git a/src/html/templates/doc_entry.hbs b/src/html/templates/doc_entry.hbs index 209ad61d..c736c6fa 100644 --- a/src/html/templates/doc_entry.hbs +++ b/src/html/templates/doc_entry.hbs @@ -22,7 +22,7 @@ {{{name}}} {{~/if~}} {{~/if~}} - {{{content}}} + {{{content}}} diff --git a/src/html/templates/doc_node_kind_icon.hbs b/src/html/templates/doc_node_kind_icon.hbs index b70a1d48..4f3a1049 100644 --- a/src/html/templates/doc_node_kind_icon.hbs +++ b/src/html/templates/doc_node_kind_icon.hbs @@ -1,6 +1,6 @@