diff options
author | WANG Chucheng <me@wangchucheng.com> | 2022-02-06 20:59:04 +0300 |
---|---|---|
committer | WANG Chucheng <me@wangchucheng.com> | 2022-02-06 20:59:04 +0300 |
commit | ddf263db42012fa1a9cdddaf658716503ea93929 (patch) | |
tree | 9f19c86e3699fe11e33b45fe6131039ab3fc12b4 | |
parent | 022f844c82995cd4b06f4454d3bec755a8fecbb8 (diff) |
style: improve typography
32 files changed, 783 insertions, 460 deletions
diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..0b9c1c9 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,10 @@ +{ + "overrides": [ + { + "files": ["*.html"], + "options": { + "parser": "go-template" + } + } + ] + }
\ No newline at end of file diff --git a/assets/css/eureka.css b/assets/css/eureka.css index 9531157..832f013 100644 --- a/assets/css/eureka.css +++ b/assets/css/eureka.css @@ -4,7 +4,7 @@ /* Tailwind component classes registered by plugins*/ @import "node_modules/tailwindcss/components"; /* Site Specific */ -@import "assets/css/markdown"; +@import "assets/css/prose"; @import "assets/css/site"; /* Tailwind's utility classes - generated based on config file */ -@import "node_modules/tailwindcss/utilities";
\ No newline at end of file +@import "node_modules/tailwindcss/utilities"; diff --git a/assets/css/markdown.css b/assets/css/markdown.css deleted file mode 100644 index 0bae72e..0000000 --- a/assets/css/markdown.css +++ /dev/null @@ -1,110 +0,0 @@ -.content { - @apply text-primary-text leading-normal break-words; -} - -.content > * { - @apply mb-4; -} - -.content li + li { - @apply mt-1; -} - -.content li > p + p { - @apply mt-6; -} - -.content strong { - @apply font-semibold; -} - -.content a { - @apply text-eureka; -} - -.content a:hover { - @apply text-eureka underline; -} - -.content strong a { - @apply font-bold; -} - -.content h1 { - @apply leading-tight border-b text-4xl font-semibold mb-4 mt-6 pb-2; -} - -.content h2 { - @apply leading-tight border-b text-2xl font-semibold mb-4 mt-6 pb-2; -} - -.content h3 { - @apply leading-snug text-lg font-semibold mb-4 mt-6; -} - -.content h4 { - @apply leading-none text-base font-semibold mb-4 mt-6; -} - -.content h5 { - @apply leading-tight text-sm font-semibold mb-4 mt-6; -} - -.content h6 { - @apply leading-tight text-sm font-semibold text-secondary-text mb-4 mt-6; -} - -.content blockquote { - @apply text-base border-s-4 border-tertiary-text ps-4 pe-4 text-secondary-text; -} - -.content code { - @apply font-mono text-sm text-tertiary-text inline bg-tertiary-bg rounded p-1; -} - -.content pre { - @apply bg-tertiary-bg rounded p-4; -} - -.content pre code { - @apply block bg-transparent p-0 overflow-auto rounded-none; -} - -.content ul { - @apply text-base ps-8 list-disc; -} - -.content ol { - @apply text-base ps-8 list-decimal; -} - -.content kbd { - @apply text-xs inline-block rounded border p-1 align-middle font-normal font-mono shadow; -} - -.content table { - @apply block text-base border-secondary-text overflow-auto; -} - -.content th { - @apply border py-1 px-3; -} - -.content td { - @apply border py-1 px-3; -} - -.content .katex { - @apply overflow-x-auto overflow-y-hidden; -} - -.content .katex * { - @apply border-primary-text; -} - -.content *:target { - padding-top: 4rem; - margin-top: -4rem; -} - - diff --git a/assets/css/prose.css b/assets/css/prose.css new file mode 100644 index 0000000..de351a2 --- /dev/null +++ b/assets/css/prose.css @@ -0,0 +1,16 @@ +.prose a:hover * { + @apply text-eureka transition duration-300 ease-in-out; +} + +.prose .katex { + @apply overflow-x-auto overflow-y-hidden; +} + +.prose .katex * { + @apply border-primary-text; +} + +.prose *:target { + padding-top: 4rem; + margin-top: -4rem; +} diff --git a/assets/css/site.css b/assets/css/site.css index d4732f5..44b3206 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -1,9 +1,9 @@ .sticky-toc { - @apply sticky top-32 z-0 ease-in-out duration-300; + @apply sticky top-32 z-0 duration-300 ease-in-out; } .sticky-toc a { - @apply text-primary-text ease-in-out duration-200; + @apply text-secondary-text duration-200 ease-in-out; } .sticky-toc a:hover { @@ -11,11 +11,11 @@ } .sticky-toc ul { - @apply text-base ps-8 list-disc; + @apply ps-8 text-tertiary-text list-disc text-base; } .sticky-toc ol { - @apply text-base ps-8 list-decimal; + @apply ps-8 text-tertiary-text list-decimal text-base; } .sticky-toc li + li { @@ -27,7 +27,7 @@ } .object-contain { - object-fit: contain !important; + object-fit: contain !important; } .pagination { @@ -38,8 +38,8 @@ @apply flex items-center; } -.pagination .page-item .page-link{ - @apply p-2 m-2; +.pagination .page-item .page-link { + @apply m-2 p-2; } .pagination .active { @@ -54,4 +54,4 @@ @apply text-eureka; border-top-color: var(--color-eureka); border-bottom-color: transparent; -}
\ No newline at end of file +} diff --git a/assets/css/syntax.css b/assets/css/syntax.css index 83a208e..6a07a9d 100644 --- a/assets/css/syntax.css +++ b/assets/css/syntax.css @@ -1,82 +1,321 @@ -/* Background */ .chroma { color: #e7e9db; background-color: #2f1e2e } -/* Other */ .chroma .x { } -/* Error */ .chroma .err { color: #ef6155 } -/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } -/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; } -/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc } -/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* Keyword */ .chroma .k { color: #815ba4 } -/* KeywordConstant */ .chroma .kc { color: #815ba4 } -/* KeywordDeclaration */ .chroma .kd { color: #815ba4 } -/* KeywordNamespace */ .chroma .kn { color: #5bc4bf } -/* KeywordPseudo */ .chroma .kp { color: #815ba4 } -/* KeywordReserved */ .chroma .kr { color: #815ba4 } -/* KeywordType */ .chroma .kt { color: #fec418 } -/* Name */ .chroma .n { } -/* NameAttribute */ .chroma .na { color: #06b6ef } -/* NameBuiltin */ .chroma .nb { } -/* NameBuiltinPseudo */ .chroma .bp { } -/* NameClass */ .chroma .nc { color: #fec418 } -/* NameConstant */ .chroma .no { color: #ef6155 } -/* NameDecorator */ .chroma .nd { color: #5bc4bf } -/* NameEntity */ .chroma .ni { } -/* NameException */ .chroma .ne { color: #ef6155 } -/* NameFunction */ .chroma .nf { color: #06b6ef } -/* NameFunctionMagic */ .chroma .fm { } -/* NameLabel */ .chroma .nl { } -/* NameNamespace */ .chroma .nn { color: #fec418 } -/* NameOther */ .chroma .nx { color: #06b6ef } -/* NameProperty */ .chroma .py { } -/* NameTag */ .chroma .nt { color: #5bc4bf } -/* NameVariable */ .chroma .nv { color: #ef6155 } -/* NameVariableClass */ .chroma .vc { } -/* NameVariableGlobal */ .chroma .vg { } -/* NameVariableInstance */ .chroma .vi { } -/* NameVariableMagic */ .chroma .vm { } -/* Literal */ .chroma .l { color: #f99b15 } -/* LiteralDate */ .chroma .ld { color: #48b685 } -/* LiteralString */ .chroma .s { color: #48b685 } -/* LiteralStringAffix */ .chroma .sa { color: #48b685 } -/* LiteralStringBacktick */ .chroma .sb { color: #48b685 } -/* LiteralStringChar */ .chroma .sc { } -/* LiteralStringDelimiter */ .chroma .dl { color: #48b685 } -/* LiteralStringDoc */ .chroma .sd { color: #776e71 } -/* LiteralStringDouble */ .chroma .s2 { color: #48b685 } -/* LiteralStringEscape */ .chroma .se { color: #f99b15 } -/* LiteralStringHeredoc */ .chroma .sh { color: #48b685 } -/* LiteralStringInterpol */ .chroma .si { color: #f99b15 } -/* LiteralStringOther */ .chroma .sx { color: #48b685 } -/* LiteralStringRegex */ .chroma .sr { color: #48b685 } -/* LiteralStringSingle */ .chroma .s1 { color: #48b685 } -/* LiteralStringSymbol */ .chroma .ss { color: #48b685 } -/* LiteralNumber */ .chroma .m { color: #f99b15 } -/* LiteralNumberBin */ .chroma .mb { color: #f99b15 } -/* LiteralNumberFloat */ .chroma .mf { color: #f99b15 } -/* LiteralNumberHex */ .chroma .mh { color: #f99b15 } -/* LiteralNumberInteger */ .chroma .mi { color: #f99b15 } -/* LiteralNumberIntegerLong */ .chroma .il { color: #f99b15 } -/* LiteralNumberOct */ .chroma .mo { color: #f99b15 } -/* Operator */ .chroma .o { color: #5bc4bf } -/* OperatorWord */ .chroma .ow { color: #5bc4bf } -/* Punctuation */ .chroma .p { } -/* Comment */ .chroma .c { color: #776e71 } -/* CommentHashbang */ .chroma .ch { color: #776e71 } -/* CommentMultiline */ .chroma .cm { color: #776e71 } -/* CommentSingle */ .chroma .c1 { color: #776e71 } -/* CommentSpecial */ .chroma .cs { color: #776e71 } -/* CommentPreproc */ .chroma .cp { color: #776e71 } -/* CommentPreprocFile */ .chroma .cpf { color: #776e71 } -/* Generic */ .chroma .g { } -/* GenericDeleted */ .chroma .gd { color: #ef6155 } -/* GenericEmph */ .chroma .ge { font-style: italic } -/* GenericError */ .chroma .gr { } -/* GenericHeading */ .chroma .gh { font-weight: bold } -/* GenericInserted */ .chroma .gi { color: #48b685 } -/* GenericOutput */ .chroma .go { } -/* GenericPrompt */ .chroma .gp { color: #776e71; font-weight: bold } -/* GenericStrong */ .chroma .gs { font-weight: bold } -/* GenericSubheading */ .chroma .gu { color: #5bc4bf; font-weight: bold } -/* GenericTraceback */ .chroma .gt { } -/* GenericUnderline */ .chroma .gl { } -/* TextWhitespace */ .chroma .w { } +/* Other */ +.chroma .x { +} +/* Error */ +.chroma .err { + color: #ef6155; +} +/* LineTableTD */ +.chroma .lntd { + vertical-align: top; + padding: 0; + margin: 0; + border: 0; +} +/* LineTable */ +.chroma .lntable { + border-spacing: 0; + padding: 0; + margin: 0; + border: 0; + width: auto; + overflow: auto; + display: block; +} +/* LineHighlight */ +.chroma .hl { + display: block; + width: 100%; + background-color: #ffffcc; +} +/* LineNumbersTable */ +.chroma .lnt { + margin-right: 0.4em; + padding: 0 0.4em 0 0.4em; + color: #7f7f7f; +} +/* LineNumbers */ +.chroma .ln { + margin-right: 0.4em; + padding: 0 0.4em 0 0.4em; + color: #7f7f7f; +} +/* Keyword */ +.chroma .k { + color: #815ba4; +} +/* KeywordConstant */ +.chroma .kc { + color: #815ba4; +} +/* KeywordDeclaration */ +.chroma .kd { + color: #815ba4; +} +/* KeywordNamespace */ +.chroma .kn { + color: #5bc4bf; +} +/* KeywordPseudo */ +.chroma .kp { + color: #815ba4; +} +/* KeywordReserved */ +.chroma .kr { + color: #815ba4; +} +/* KeywordType */ +.chroma .kt { + color: #fec418; +} +/* Name */ +.chroma .n { +} +/* NameAttribute */ +.chroma .na { + color: #06b6ef; +} +/* NameBuiltin */ +.chroma .nb { +} +/* NameBuiltinPseudo */ +.chroma .bp { +} +/* NameClass */ +.chroma .nc { + color: #fec418; +} +/* NameConstant */ +.chroma .no { + color: #ef6155; +} +/* NameDecorator */ +.chroma .nd { + color: #5bc4bf; +} +/* NameEntity */ +.chroma .ni { +} +/* NameException */ +.chroma .ne { + color: #ef6155; +} +/* NameFunction */ +.chroma .nf { + color: #06b6ef; +} +/* NameFunctionMagic */ +.chroma .fm { +} +/* NameLabel */ +.chroma .nl { +} +/* NameNamespace */ +.chroma .nn { + color: #fec418; +} +/* NameOther */ +.chroma .nx { + color: #06b6ef; +} +/* NameProperty */ +.chroma .py { +} +/* NameTag */ +.chroma .nt { + color: #5bc4bf; +} +/* NameVariable */ +.chroma .nv { + color: #ef6155; +} +/* NameVariableClass */ +.chroma .vc { +} +/* NameVariableGlobal */ +.chroma .vg { +} +/* NameVariableInstance */ +.chroma .vi { +} +/* NameVariableMagic */ +.chroma .vm { +} +/* Literal */ +.chroma .l { + color: #f99b15; +} +/* LiteralDate */ +.chroma .ld { + color: #48b685; +} +/* LiteralString */ +.chroma .s { + color: #48b685; +} +/* LiteralStringAffix */ +.chroma .sa { + color: #48b685; +} +/* LiteralStringBacktick */ +.chroma .sb { + color: #48b685; +} +/* LiteralStringChar */ +.chroma .sc { +} +/* LiteralStringDelimiter */ +.chroma .dl { + color: #48b685; +} +/* LiteralStringDoc */ +.chroma .sd { + color: #776e71; +} +/* LiteralStringDouble */ +.chroma .s2 { + color: #48b685; +} +/* LiteralStringEscape */ +.chroma .se { + color: #f99b15; +} +/* LiteralStringHeredoc */ +.chroma .sh { + color: #48b685; +} +/* LiteralStringInterpol */ +.chroma .si { + color: #f99b15; +} +/* LiteralStringOther */ +.chroma .sx { + color: #48b685; +} +/* LiteralStringRegex */ +.chroma .sr { + color: #48b685; +} +/* LiteralStringSingle */ +.chroma .s1 { + color: #48b685; +} +/* LiteralStringSymbol */ +.chroma .ss { + color: #48b685; +} +/* LiteralNumber */ +.chroma .m { + color: #f99b15; +} +/* LiteralNumberBin */ +.chroma .mb { + color: #f99b15; +} +/* LiteralNumberFloat */ +.chroma .mf { + color: #f99b15; +} +/* LiteralNumberHex */ +.chroma .mh { + color: #f99b15; +} +/* LiteralNumberInteger */ +.chroma .mi { + color: #f99b15; +} +/* LiteralNumberIntegerLong */ +.chroma .il { + color: #f99b15; +} +/* LiteralNumberOct */ +.chroma .mo { + color: #f99b15; +} +/* Operator */ +.chroma .o { + color: #5bc4bf; +} +/* OperatorWord */ +.chroma .ow { + color: #5bc4bf; +} +/* Punctuation */ +.chroma .p { +} +/* Comment */ +.chroma .c { + color: #776e71; +} +/* CommentHashbang */ +.chroma .ch { + color: #776e71; +} +/* CommentMultiline */ +.chroma .cm { + color: #776e71; +} +/* CommentSingle */ +.chroma .c1 { + color: #776e71; +} +/* CommentSpecial */ +.chroma .cs { + color: #776e71; +} +/* CommentPreproc */ +.chroma .cp { + color: #776e71; +} +/* CommentPreprocFile */ +.chroma .cpf { + color: #776e71; +} +/* Generic */ +.chroma .g { +} +/* GenericDeleted */ +.chroma .gd { + color: #ef6155; +} +/* GenericEmph */ +.chroma .ge { + font-style: italic; +} +/* GenericError */ +.chroma .gr { +} +/* GenericHeading */ +.chroma .gh { + font-weight: bold; +} +/* GenericInserted */ +.chroma .gi { + color: #48b685; +} +/* GenericOutput */ +.chroma .go { +} +/* GenericPrompt */ +.chroma .gp { + color: #776e71; + font-weight: bold; +} +/* GenericStrong */ +.chroma .gs { + font-weight: bold; +} +/* GenericSubheading */ +.chroma .gu { + color: #5bc4bf; + font-weight: bold; +} +/* GenericTraceback */ +.chroma .gt { +} +/* GenericUnderline */ +.chroma .gl { +} +/* TextWhitespace */ +.chroma .w { +} diff --git a/assets/css/tailwind.config.js b/assets/css/tailwind.config.js index 43fad44..194e310 100644 --- a/assets/css/tailwind.config.js +++ b/assets/css/tailwind.config.js @@ -1,55 +1,80 @@ -const themeDir = __dirname + '/../../'; +const themeDir = __dirname + "/../../"; module.exports = { important: true, content: [ - themeDir + 'layouts/**/*.html', - themeDir + 'exampleSite/content/**/*.html', - 'layouts/**/*.html', - 'content/**/*.html', + themeDir + "layouts/**/*.html", + themeDir + "exampleSite/content/**/*.html", + "layouts/**/*.html", + "content/**/*.html", ], theme: { fontFamily: { - 'serif': ['Lora', 'Noto Serif SC', 'serif'], - 'mono': ['SFMono-Regular', 'Menlo', 'monospace'], + serif: ["Lora", "Noto Serif SC", "serif"], + mono: ["SFMono-Regular", "Menlo", "monospace"], }, extend: { height: { - '(screen-16)': 'calc(100vh - 4rem)', - '(16-4px)': 'calc(4rem - 4px)', - '96': '24rem', - '128': '32rem', - '160': '40rem', + "(screen-16)": "calc(100vh - 4rem)", + "(16-4px)": "calc(4rem - 4px)", + 96: "24rem", + 128: "32rem", + 160: "40rem", }, minHeight: { - '16': '4rem', + 16: "4rem", }, maxHeight: { - 'doc-sidebar': 'calc(100vh - 4rem - var(--height-doc-title, 4rem))', + "doc-sidebar": "calc(100vh - 4rem - var(--height-doc-title, 4rem))", }, lineHeight: { - '(16-4px)': 'calc(4rem - 4px)', + "(16-4px)": "calc(4rem - 4px)", }, inset: { - '16': '4rem', - '32': '8rem', - '48': '12rem', + 16: "4rem", + 32: "8rem", + 48: "12rem", }, padding: { - 'scrollbar': 'calc(100vw - 100%)', + scrollbar: "calc(100vw - 100%)", }, colors: { - 'eureka': 'var(--color-eureka)', - 'primary-bg': 'var(--color-primary-bg)', - 'secondary-bg': 'var(--color-secondary-bg)', - 'tertiary-bg': 'var(--color-tertiary-bg)', - 'primary-text': 'var(--color-primary-text)', - 'secondary-text': 'var(--color-secondary-text)', - 'tertiary-text': 'var(--color-tertiary-text)', - } - } + eureka: "var(--color-eureka)", + "primary-bg": "var(--color-primary-bg)", + "secondary-bg": "var(--color-secondary-bg)", + "tertiary-bg": "var(--color-tertiary-bg)", + "primary-text": "var(--color-primary-text)", + "secondary-text": "var(--color-secondary-text)", + "tertiary-text": "var(--color-tertiary-text)", + }, + typography: ({ theme }) => ({ + DEFAULT: { + css: { + "--tw-prose-body": theme("colors.secondary-text"), + "--tw-prose-headings": theme("colors.primary-text"), + "--tw-prose-lead": theme("colors.secondary-text"), + "--tw-prose-links": theme("colors.primary-text"), + "--tw-prose-bold": theme("colors.primary-text"), + "--tw-prose-counters": theme("colors.tertiary-text"), + "--tw-prose-bullets": theme("colors.tertiary-text"), + "--tw-prose-hr": theme("colors.tertiary-bg"), + "--tw-prose-quotes": theme("colors.tertiary-text"), + "--tw-prose-quote-borders": theme("colors.tertiary-bg"), + "--tw-prose-captions": theme("colors.tertiary-text"), + "--tw-prose-code": theme("colors.primary-text"), + "--tw-prose-pre-code": theme("colors.tertiary-text"), + "--tw-prose-pre-bg": theme("colors.tertiary-bg"), + "--tw-prose-th-borders": theme("colors.tertiary-bg"), + "--tw-prose-td-borders": theme("colors.tertiary-bg"), + // a: { + // color: "var(--tw-prose-links)", + // textDecoration: "no-underline", + // fontWeight: "500", + // }, + }, + }, + }), + }, }, - plugins: [ - require('tailwindcss-rtl') - ] -} + plugins: [require("@tailwindcss/typography"), require("tailwindcss-rtl")], +}; diff --git a/assets/js/eureka.js b/assets/js/eureka.js index f2ea102..3c82f2a 100644 --- a/assets/js/eureka.js +++ b/assets/js/eureka.js @@ -53,22 +53,22 @@ function enableStickyToc() { } // Track all sections that have an `id` applied - document.querySelectorAll('.content h1[id]').forEach((section) => { + document.querySelectorAll('.prose h1[id]').forEach((section) => { observer.observe(section); }); - document.querySelectorAll('.content h2[id]').forEach((section) => { + document.querySelectorAll('.prose h2[id]').forEach((section) => { observer.observe(section); }); - document.querySelectorAll('.content h3[id]').forEach((section) => { + document.querySelectorAll('.prose h3[id]').forEach((section) => { observer.observe(section); }); - document.querySelectorAll('.content h4[id]').forEach((section) => { + document.querySelectorAll('.prose h4[id]').forEach((section) => { observer.observe(section); }); - document.querySelectorAll('.content h5[id]').forEach((section) => { + document.querySelectorAll('.prose h5[id]').forEach((section) => { observer.observe(section); }); - document.querySelectorAll('.content h6[id]').forEach((section) => { + document.querySelectorAll('.prose h6[id]').forEach((section) => { observer.observe(section); }); } diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 47725d5..4f4419f 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,14 +1,7 @@ {{ define "main" }} -<article class="mx-6 my-8"> - <h1 class="font-bold text-3xl text-primary-text">{{ .Title }}</h1> - {{ with .Content }} - <div class="content"> - {{ . }} - </div> - {{ end }} -</article> -<div class="bg-secondary-bg rounded px-6"> + {{ partial "components/list-article" . }} + <div class="bg-secondary-bg rounded px-6"> {{ partial "components/summary-list-plain" .Paginator.Pages }} -</div> -{{ template "_internal/pagination.html" . }} -{{ end }}
\ No newline at end of file + </div> + {{ template "_internal/pagination.html" . }} +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index bb5b178..04a81d9 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,66 +1,60 @@ {{ define "main" }} -{{ $hasToc := and (in .TableOfContents "<li>" ) (.Params.toc) }} -{{ $hasSidebar := or ($hasToc) (.Params.series) }} -<div class="grid grid-cols-2 lg:grid-cols-8 gap-4 lg:pt-12"> + {{ $hasToc := and (in .TableOfContents "<li>" ) (.Params.toc) }} + {{ $hasSidebar := or ($hasToc) (.Params.series) }} + <div class="grid grid-cols-2 gap-4 lg:grid-cols-8 lg:pt-12"> <div - class="col-span-2 {{ if not $hasSidebar }} {{- print "lg:col-start-2" -}} {{ end }} lg:col-span-6 bg-secondary-bg rounded px-6 py-8"> - <h1 class="font-bold text-3xl text-primary-text">{{ .Title }}</h1> - {{ partial "components/post-metadata" . }} - - {{ $featured := partial "utils/get-featured" . }} - {{ with $featured }} - <div class="my-4"> - {{ . }} - </div> - {{ end }} + class="{{ if not $hasSidebar }} + {{- print "lg:col-start-2" -}} + {{ end }} bg-secondary-bg col-span-2 rounded px-6 py-8 lg:col-span-6" + > + {{ partial "components/post-article" . }} - <div class="content"> - {{ .Content}} - </div> - {{ with .GetTerms "tags" }} + {{ with .GetTerms "tags" }} {{ partial "components/post-tags" . }} - {{ end }} - - {{ partial "components/post-edit" . }} - - {{ with .GetTerms "authors" }} + {{ end }} + + {{ partial "components/post-edit" . }} + + {{ with .GetTerms "authors" }} {{ partial "components/post-author" . }} - {{ end }} - - {{ partial "components/post-footer" . }} - {{ partial "comment.html" . }} + {{ end }} + + {{ partial "components/post-footer" . }} + {{ partial "comment.html" . }} </div> - {{ if $hasSidebar}} - <div class="col-span-2"> + {{ if $hasSidebar }} + <div class="col-span-2"> {{ if .GetTerms "series" }} - {{ partial "components/post-series" . }} + {{ partial "components/post-series" . }} {{ end }} {{ if $hasToc }} - {{ partial "components/post-toc" . }} + {{ partial "components/post-toc" . }} {{ end }} - </div> + </div> {{ end }} {{ $related := .Site.RegularPages.Related . | first 6 }} {{ with $related }} - <div - class="col-span-2 {{ if not $hasSidebar }} {{- print "lg:col-start-2" -}} {{ end }} lg:col-span-6 bg-secondary-bg rounded p-6"> - <h2 class="text-lg font-semibold mb-4">{{ i18n "seeAlso" }}</h2> - <div class="content"> - {{ range . }} - <a href="{{ .Permalink }}">{{ .LinkTitle }}</a> - <br /> - {{ end }} - </div> - </div> + <div + class="{{ if not $hasSidebar }} + {{- print "lg:col-start-2" -}} + {{ end }} bg-secondary-bg prose col-span-2 max-w-none rounded p-6 lg:col-span-6" + > + <h3>{{ i18n "seeAlso" }}</h3> + {{ range . }} + <a href="{{ .Permalink }}" class="no-underline">{{ .LinkTitle }}</a> + <br /> + {{ end }} + </div> {{ end }} -</div> -{{/* highlight */}} -{{- if eq .Site.Params.highlight.handler "highlightjs" }} -<script> - document.addEventListener('DOMContentLoaded', ()=>{ + </div> + + {{/* highlight */}} + {{- if eq .Site.Params.highlight.handler "highlightjs" }} + <script> + document.addEventListener("DOMContentLoaded", () => { hljs.initHighlightingOnLoad(); - }) -</script> -{{- end }} -{{ end }}
\ No newline at end of file + }); + </script> + {{- end }} +{{ end }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 678efdd..4e4a9b3 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -1,17 +1,12 @@ {{ define "main" }} -<article class="mx-6 my-8"> - <h1 class="font-bold text-3xl text-primary-text">{{ .Title }}</h1> - {{ with .Content }} - <div class="content"> - {{ . }} - </div> - {{ end }} -</article> -<div class="bg-secondary-bg rounded px-6 py-8"> + {{ partial "components/list-article" . }} + <div class="bg-secondary-bg rounded px-6 py-8"> {{ range .Pages }} - <h2 class="text-lg text-primary-text my-2"> - <a href="{{ .Permalink }}" class="text-eureka hover:underline">{{ .LinkTitle }}</a> - </h2> + <h2 class="text-primary-text my-2 text-lg"> + <a href="{{ .Permalink }}" class="text-eureka hover:underline" + >{{ .LinkTitle }}</a + > + </h2> {{ end }} -</div> -{{ end }}
\ No newline at end of file + </div> +{{ end }} diff --git a/layouts/authors/terms.html b/layouts/authors/terms.html index 678efdd..4e4a9b3 100644 --- a/layouts/authors/terms.html +++ b/layouts/authors/terms.html @@ -1,17 +1,12 @@ {{ define "main" }} -<article class="mx-6 my-8"> - <h1 class="font-bold text-3xl text-primary-text">{{ .Title }}</h1> - {{ with .Content }} - <div class="content"> - {{ . }} - </div> - {{ end }} -</article> -<div class="bg-secondary-bg rounded px-6 py-8"> + {{ partial "components/list-article" . }} + <div class="bg-secondary-bg rounded px-6 py-8"> {{ range .Pages }} - <h2 class="text-lg text-primary-text my-2"> - <a href="{{ .Permalink }}" class="text-eureka hover:underline">{{ .LinkTitle }}</a> - </h2> + <h2 class="text-primary-text my-2 text-lg"> + <a href="{{ .Permalink }}" class="text-eureka hover:underline" + >{{ .LinkTitle }}</a + > + </h2> {{ end }} -</div> -{{ end }}
\ No newline at end of file + </div> +{{ end }} diff --git a/layouts/partials/components/doc-layout.html b/layouts/partials/components/doc-layout.html index 3e12176..cf434b3 100644 --- a/layouts/partials/components/doc-layout.html +++ b/layouts/partials/components/doc-layout.html @@ -9,21 +9,10 @@ </div> <div class="w-full md:w-3/4 lg:w-4/5 pb-8 pt-2 md:pt-8"> - <div class="w-full lg:w-3/4 ps-6 ms-0 me-auto"> - <h1 class="font-bold text-3xl text-primary-text">{{ .Title }}</h1> - {{ partial "components/post-metadata" . }} - </div> <div class="flex"> <div class="w-full lg:w-3/4 px-6"> - {{ $featured := partial "utils/get-featured" . }} - {{ with $featured }} - <div class="my-4"> - {{ . }} - </div> - {{ end }} - <div class="content"> - {{ .Content}} - </div> + {{ partial "components/post-article" . }} + {{ with .GetTerms "tags" }} {{ partial "components/post-tags" . }} {{ end }} diff --git a/layouts/partials/components/doc-list.html b/layouts/partials/components/doc-list.html index 51e71b3..067fdea 100644 --- a/layouts/partials/components/doc-list.html +++ b/layouts/partials/components/doc-list.html @@ -1,12 +1,5 @@ -<article class="mx-6 my-8"> - <h1 class="font-bold text-3xl text-primary-text">{{ .Title }}</h1> - {{ with .Content }} - <div class="content"> - {{ . }} - </div> - {{ end }} -</article> +{{ partial "components/list-article" . }} <div class="bg-secondary-bg rounded px-6"> {{ partial "components/summary-list-plain" .Paginator.Pages }} </div> -{{ template "_internal/pagination.html" . }}
\ No newline at end of file +{{ template "_internal/pagination.html" . }} diff --git a/layouts/partials/components/list-article.html b/layouts/partials/components/list-article.html new file mode 100644 index 0000000..6f37b2d --- /dev/null +++ b/layouts/partials/components/list-article.html @@ -0,0 +1,6 @@ +<article class="prose mx-6 my-8 max-w-none"> + <h1 class="text-primary-text text-3xl font-bold">{{ .Title }}</h1> + {{ with .Content }} + {{ . }} + {{ end }} +</article> diff --git a/layouts/partials/components/post-article.html b/layouts/partials/components/post-article.html new file mode 100644 index 0000000..0cbadd8 --- /dev/null +++ b/layouts/partials/components/post-article.html @@ -0,0 +1,12 @@ +<article class="prose max-w-none"> + <h1 class="mb-4">{{ .Title }}</h1> + + {{ partial "components/post-metadata" . }} + + {{ $featured := partial "utils/get-featured" . }} + {{ with $featured }} + {{ . }} + {{ end }} + + {{ .Content }} +</article> diff --git a/layouts/partials/components/post-metadata.html b/layouts/partials/components/post-metadata.html index 2d108d5..f125cff 100644 --- a/layouts/partials/components/post-metadata.html +++ b/layouts/partials/components/post-metadata.html @@ -1,34 +1,42 @@ -<div class="flex flex-wrap flex-row items-center mt-2 text-tertiary-text"> - <div class="me-6 my-2"> - <i class="fas fa-calendar me-1"></i> - <span>{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02") }}</span> - </div> - <div class="me-6 my-2"> - <i class="fas fa-clock me-1"></i> - <span>{{ i18n "readingTime" .ReadingTime }}</span> - </div> - - {{ with .GetTerms "categories" }} +<div + class="text-tertiary-text not-proseme mt-2 flex flex-row flex-wrap items-center" +> + <div class="me-6 my-2"> + <i class="fas fa-calendar me-1"></i> + <span + >{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02") }}</span + > + </div> + <div class="me-6 my-2"> + <i class="fas fa-clock me-1"></i> + <span>{{ i18n "readingTime" .ReadingTime }}</span> + </div> + + {{ with .GetTerms "categories" }} <div class="me-6 my-2"> - <i class="fas fa-folder me-1"></i> - {{ range $index, $value := . }} + <i class="fas fa-folder me-1"></i> + {{ range $index, $value := . }} {{ if gt $index 0 }} - <span>, </span> + <span>, </span> {{ end -}} - <a href="{{ .Permalink }}" class="hover:text-eureka">{{ .LinkTitle }}</a> - {{ end }} + <a href="{{ .Permalink }}" class="hover:text-eureka" + >{{ .LinkTitle }}</a + > + {{ end }} </div> - {{ end }} + {{ end }} - {{ with .GetTerms "series" }} + {{ with .GetTerms "series" }} <div class="me-6 my-2"> - <i class="fas fa-th-list me-1"></i> - {{ range $index, $value := . }} + <i class="fas fa-th-list me-1"></i> + {{ range $index, $value := . }} {{ if gt $index 0 }} - <span>, </span> + <span>, </span> {{ end -}} - <a href="{{ .Permalink }}" class="hover:text-eureka">{{ .LinkTitle }}</a> - {{ end }} + <a href="{{ .Permalink }}" class="hover:text-eureka" + >{{ .LinkTitle }}</a + > + {{ end }} </div> - {{ end }} -</div>
\ No newline at end of file + {{ end }} +</div> diff --git a/layouts/partials/components/post-series.html b/layouts/partials/components/post-series.html index ebc3810..a407b81 100644 --- a/layouts/partials/components/post-series.html +++ b/layouts/partials/components/post-series.html @@ -1,12 +1,10 @@ -{{ $series := .Site.Taxonomies.series}} -<div class="bg-secondary-bg rounded p-6"> - <h3 class="text-lg font-semibold mb-4">{{ i18n "seriesOfPosts"}}</h3> - <div class="content"> - {{ range (.GetTerms "series") }} - {{ range .Pages }} - <a href="{{ .Page.Permalink }}">{{ .Page.LinkTitle }}</a> - <br /> - {{end}} - {{end}} - </div> -</div>
\ No newline at end of file +{{ $series := .Site.Taxonomies.series }} +<div class="bg-secondary-bg prose max-w-none rounded p-6"> + <h3>{{ i18n "seriesOfPosts" }}</h3> + {{ range (.GetTerms "series") }} + {{ range .Pages }} + <a href="{{ .Permalink }}" class="no-underline">{{ .LinkTitle }}</a> + <br /> + {{ end }} + {{ end }} +</div> diff --git a/layouts/partials/components/post-toc.html b/layouts/partials/components/post-toc.html index 337ecb6..46de312 100644 --- a/layouts/partials/components/post-toc.html +++ b/layouts/partials/components/post-toc.html @@ -1,11 +1,21 @@ -<div class="sticky top-16 z-10 hidden lg:block px-6 py-4 {{ if eq .Type "docs" }} bg-secondary-bg pt-16 -mt-16 {{ else }} bg-primary-bg {{ end }}"> - <span class="text-lg font-semibold">{{ i18n "onThisPage" }}</span> +<div + class="{{ if eq .Type "docs" }} + bg-secondary-bg + {{ else }} + bg-primary-bg + {{ end }} prose sticky top-16 z-10 hidden max-w-none px-6 py-4 lg:block" +> + <h3>{{ i18n "onThisPage" }}</h3> </div> -<div class="sticky-toc hidden lg:block px-6 pb-6 {{ if eq .Type "docs" }} pt-10 -mt-10 border-s {{ end }}"> - {{ .TableOfContents }} +<div + class="sticky-toc {{ if eq .Type "docs" }} + border-s + {{ end }} hidden px-6 pb-6 lg:block" +> + {{ .TableOfContents }} </div> <script> - window.addEventListener('DOMContentLoaded', () => { - enableStickyToc(); - }); -</script>
\ No newline at end of file + window.addEventListener("DOMContentLoaded", () => { + enableStickyToc(); + }); +</script> diff --git a/layouts/partials/components/summary-masonry.html b/layouts/partials/components/summary-masonry.html index 4027f7a..8984b04 100644 --- a/layouts/partials/components/summary-masonry.html +++ b/layouts/partials/components/summary-masonry.html @@ -1,13 +1,15 @@ -<div class="bg-secondary-bg rounded overflow-hidden border hover:shadow-lg transition ease-in-out duration-200"> +<div + class="bg-secondary-bg overflow-hidden rounded border transition duration-200 ease-in-out hover:shadow-lg" +> {{ $featured := partial "utils/get-featured" . }} {{ with $featured }} - {{ . }} + {{ . }} {{ end }} <div class="px-6 pt-6"> - <div class="font-bold text-xl text-primary-text mb-2"> + <div class="text-primary-text mb-2 text-xl font-bold"> <a href="{{ .Permalink }}" class="hover:text-eureka">{{ .LinkTitle }}</a> </div> - <div class=""> + <div class="prose max-w-none"> {{ if .Description }} {{ .Description | plainify | htmlUnescape }} {{ else if .Summary }} @@ -18,4 +20,4 @@ <div class="px-6 pb-2"> {{ partial "components/post-metadata" . }} </div> -</div>
\ No newline at end of file +</div> diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 80a4a22..e780290 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -54,12 +54,11 @@ <meta name="generator" content="Hugo Eureka {{ .Site.Data.eureka.version }}" /> -{{- $eurekaCSS := resources.Get "css/eureka.css" | postCSS (dict "config" "./assets/css/postcss.config.js") }} -{{- $eurekaCSS := $eurekaCSS | minify }} -<link rel="stylesheet" href="{{ $eurekaCSS.Permalink }}"> +{{- $eurekaCSS := resources.Get "css/eureka.css" | postCSS (dict "config" "./assets/css/postcss.config.js") | minify | fingerprint "sha384" }} +<link rel="stylesheet" href="{{ $eurekaCSS.Permalink }}" integrity="{{ $eurekaCSS.Data.Integrity }}"> -{{- $eurekaJS := resources.Get "js/eureka.js" | resources.ExecuteAsTemplate "js/eureka.js" . | minify }} -<script defer src="{{ $eurekaJS.Permalink }}"></script> +{{- $eurekaJS := resources.Get "js/eureka.js" | resources.ExecuteAsTemplate "js/eureka.js" . | minify | fingerprint "sha384" }} +<script defer src="{{ $eurekaJS.Permalink }}" integrity="{{ $eurekaJS.Data.Integrity }}"></script> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preload" diff --git a/layouts/partials/utils/get-summary.html b/layouts/partials/utils/get-summary.html index 49682bf..c6e972e 100644 --- a/layouts/partials/utils/get-summary.html +++ b/layouts/partials/utils/get-summary.html @@ -1,7 +1,7 @@ <div class="mb-4"> - <a href="{{ .Permalink }}" class="font-bold text-xl hover:text-eureka">{{ .LinkTitle }}</a> + <a href="{{ .Permalink }}" class="text-xl font-bold">{{ .LinkTitle }}</a> </div> -<div class="content"> +<div class="prose max-w-none"> {{ if .Description }} {{ .Description | plainify | htmlUnescape }} {{ else if .Summary }} @@ -9,29 +9,29 @@ {{ end }} </div> {{ if eq .Type "docs" }} -<div class="px-6 pt-4"> - {{ range $index, $value := first 3 .Pages }} - {{ if gt $index 0 }} - <div class="-mx-4 my-4 border-t"></div> - {{ end -}} - <div class=""> + <div class="px-6 pt-4"> + {{ range $index, $value := first 3 .Pages }} + {{ if gt $index 0 }} + <div class="-mx-4 my-4 border-t"></div> + {{ end -}} <div class="mb-2"> - <a href="{{ .Permalink }}" class="font-semibold hover:text-eureka">{{ .LinkTitle }}</a> + <a href="{{ .Permalink }}" class="font-semibold">{{ .LinkTitle }}</a> </div> - <div class=""> + <div class="prose max-w-none"> {{ if .Description }} {{ .Description | plainify | htmlUnescape }} {{ else if .Summary }} {{ .Summary | plainify | htmlUnescape }} {{ end }} </div> - </div> - {{ end }} - <div class="pt-6 hover:text-eureka"> + {{ end }} + <div class="hover:text-eureka pt-6"> <a href="{{ .Permalink }}" class="font-semibold">{{ i18n "readMore" }}</a> - <i class='fas {{ cond (eq .Site.Language.LanguageDirection "rtl") "fa-caret-left" "fa-caret-right" }} ms-1'></i> + <i + class="fas {{ cond (eq .Site.Language.LanguageDirection "rtl") "fa-caret-left" "fa-caret-right" }} ms-1" + ></i> + </div> </div> -</div> {{ else }} -{{ partial "components/post-metadata" . }} -{{ end }}
\ No newline at end of file + {{ partial "components/post-metadata" . }} +{{ end }} diff --git a/layouts/partials/widgets/about.html b/layouts/partials/widgets/about.html index fc364ff..4f4bb6d 100644 --- a/layouts/partials/widgets/about.html +++ b/layouts/partials/widgets/about.html @@ -1,16 +1,16 @@ -<div class="flex flex-col md:flex-row items-center justify-center mb-12"> - {{ $img := partial "utils/get-image" (dict "context" . "url" .Params.avatar "keyword" "*avatar*")}} +<div class="mb-12 flex flex-col items-center justify-center md:flex-row"> + {{ $img := partial "utils/get-image" (dict "context" . "url" .Params.avatar "keyword" "*avatar*") }} {{ with $img }} - <div class="flex-none w-48 mx-auto md:ms-0 md:me-8 md:pe-8 md:border-e"> - <img src="{{ . }}" class="rounded-full" alt="Avatar"> + <div class="md:ms-0 md:me-8 md:pe-8 md:border-e mx-auto w-48 flex-none"> + <img src="{{ . }}" class="rounded-full" alt="Avatar" /> </div> {{ end }} - <div class="grow mt-4 md:mt-0"> - <div class="text-3xl py-4">{{ .Title }}</div> - <div class="w-3/12 xl:w-2/12 border-b"></div> + <div class="mt-4 grow md:mt-0"> + <div class="py-4 text-3xl">{{ .Title }}</div> + <div class="w-3/12 border-b xl:w-2/12"></div> <div class="flex items-center pt-4"> - {{ with or (.Params.role) (.Params.organizations)}} + {{ with or (.Params.role) (.Params.organizations) }} <i class="fas fa-user"></i> {{ end }} <div class="flex flex-wrap"> @@ -22,7 +22,6 @@ <a href="{{ .url }}" class="ps-4">{{ .name | markdownify }}</a> {{ end }} </div> - </div> {{ with .Params.bio }} @@ -31,8 +30,8 @@ </div> {{ end }} </div> - <div class="flex md:flex-col justify-center items-end ms-8"> - {{ $brand := $.Param "social"}} + <div class="ms-8 flex items-end justify-center md:flex-col"> + {{ $brand := $.Param "social" }} {{ range $brand }} {{/* Deprecation warning(v1.0.0) starts */}} {{ if .icon_pack }} @@ -41,12 +40,12 @@ {{ $iconPack := .iconPack | default .icon_pack }} {{/* Deprecation warning(v1.0.0) ends */}} {{ $src := print $iconPack " fa-" .icon }} - <div class="pb-2 pe-4 md:pe-0 pt-4 md:pt-0"> + <div class="pe-4 md:pe-0 pb-2 pt-4 md:pt-0"> <a href="{{ .url }}"><i class="{{ print $src }}"></i></a> </div> {{ end }} </div> </div> -<div class="content"> +<div class="prose max-w-none"> {{ .Content }} </div> diff --git a/layouts/partials/widgets/experience.html b/layouts/partials/widgets/experience.html index cbbe34c..c380b68 100644 --- a/layouts/partials/widgets/experience.html +++ b/layouts/partials/widgets/experience.html @@ -1,29 +1,34 @@ {{ range .Params.experiences }} -<div class="mb-6"> - <div class="bg-secondary-bg rounded border hover:shadow-lg transition ease-in-out duration-200 px-6 pt-6 pb-4"> - <div class="mb-4"> - <div class="font-bold text-xl">{{ .title }}</div> - <div class="flex flex-col md:flex-row md:justify-between"> - <div> - {{ if .organization.url }} - <a href="{{ .organization.url }}">{{ .organization.name | markdownify }}</a> - {{ else }} - <span>{{ .organization.name | markdownify }}</span> - {{ end }} + <div class="mb-6"> + <div + class="bg-secondary-bg rounded border px-6 pt-6 pb-4 transition duration-200 ease-in-out hover:shadow-lg" + > + <div class="mb-4"> + <div class="text-xl font-bold">{{ .title }}</div> + <div class="flex flex-col md:flex-row md:justify-between"> + <div> + {{ if .organization.url }} + <a href="{{ .organization.url }}" + >{{ .organization.name | markdownify }}</a + > + {{ else }} + <span>{{ .organization.name | markdownify }}</span> + {{ end }} - {{ if and .organization.name .location }} - <span class="ms-2 me-2">·</span> - {{ end }} + {{ if and .organization.name .location }} + <span class="ms-2 me-2">·</span> + {{ end }} - <span>{{ .location | markdownify }} </span> + + <span>{{ .location | markdownify }} </span> + </div> + <div class="shrink-0">{{ .dates | markdownify }}</div> </div> - <div class="shrink-0"> {{ .dates | markdownify }}</div> </div> - </div> - <div class="content"> - {{ .writeup | markdownify }} + <div class="prose max-w-none"> + {{ .writeup | markdownify }} + </div> </div> </div> -</div> -{{ end }}
\ No newline at end of file +{{ end }} diff --git a/package-lock.json b/package-lock.json index ce51f62..2416a2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,11 +9,15 @@ "version": "0.9.0", "devDependencies": { "@fullhuman/postcss-purgecss": "^4.1.3", + "@tailwindcss/typography": "^0.5.1", "autoprefixer": "^10.4.2", "cssnano": "^5.0.16", "postcss": "^8.4.5", "postcss-cli": "^9.1.0", "postcss-import": "^14.0.2", + "prettier": "^2.5.1", + "prettier-plugin-go-template": "^0.0.11", + "prettier-plugin-tailwindcss": "^0.1.5", "tailwindcss": "^3.0.17", "tailwindcss-rtl": "^0.8.0" } @@ -153,6 +157,20 @@ "node": ">= 8" } }, + "node_modules/@tailwindcss/typography": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.1.tgz", + "integrity": "sha512-AmSzZSgLhHKlILKduU+PKBTHL6c+al82syZlRid1xgmlWwXagLigO+O++B4C0scpMfzW//f/3YCRcwwEHWoU3w==", + "dev": true, + "dependencies": { + "lodash.castarray": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.merge": "^4.6.2" + }, + "peerDependencies": { + "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1 || insiders" + } + }, "node_modules/@trysound/sax": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz", @@ -1157,6 +1175,12 @@ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", "dev": true }, + "node_modules/lodash.castarray": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz", + "integrity": "sha1-wCUTUV4wna3dTCTGDP3c9ZdtkRU=", + "dev": true + }, "node_modules/lodash.difference": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", @@ -1181,12 +1205,24 @@ "integrity": "sha1-Cwih3PaDl8OXhVwyOXg4Mt90A9E=", "dev": true }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", + "dev": true + }, "node_modules/lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", "dev": true }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, "node_modules/lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", @@ -1978,6 +2014,45 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "dev": true }, + "node_modules/prettier": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.1.tgz", + "integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/prettier-plugin-go-template": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/prettier-plugin-go-template/-/prettier-plugin-go-template-0.0.11.tgz", + "integrity": "sha512-qtgoEjvbgmcDp9TOqYNgrPrA41s6S1UMyzMqjcxdxQahTX0webWfbamyA/x3XeBFEEJmgXrRAirzJrIVzImsMg==", + "dev": true, + "dependencies": { + "ulid": "^2.3.0" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "prettier": "^2.0.0" + } + }, + "node_modules/prettier-plugin-tailwindcss": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.5.tgz", + "integrity": "sha512-e+jTxwiHL4I3Ot8OjV1LAiiaAx0Zgy71xTL7xNmJtNmhpja7GKzFSAoulqBDS1D57B7lbZDCvDEKIWIQSBUmBQ==", + "dev": true, + "engines": { + "node": ">=12.17.0" + }, + "peerDependencies": { + "prettier": ">=2.2.0" + } + }, "node_modules/pretty-hrtime": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", @@ -2330,6 +2405,15 @@ "node": ">=8.0" } }, + "node_modules/ulid": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/ulid/-/ulid-2.3.0.tgz", + "integrity": "sha512-keqHubrlpvT6G2wH0OEfSW4mquYRcbe/J8NMmveoQOjUqmo+hXtO+ORCpWhdbZ7k72UtY61BL7haGxW6enBnjw==", + "dev": true, + "bin": { + "ulid": "bin/cli.js" + } + }, "node_modules/universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", @@ -2537,6 +2621,17 @@ "fastq": "^1.6.0" } }, + "@tailwindcss/typography": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.1.tgz", + "integrity": "sha512-AmSzZSgLhHKlILKduU+PKBTHL6c+al82syZlRid1xgmlWwXagLigO+O++B4C0scpMfzW//f/3YCRcwwEHWoU3w==", + "dev": true, + "requires": { + "lodash.castarray": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.merge": "^4.6.2" + } + }, "@trysound/sax": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz", @@ -3274,6 +3369,12 @@ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", "dev": true }, + "lodash.castarray": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz", + "integrity": "sha1-wCUTUV4wna3dTCTGDP3c9ZdtkRU=", + "dev": true + }, "lodash.difference": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", @@ -3298,12 +3399,24 @@ "integrity": "sha1-Cwih3PaDl8OXhVwyOXg4Mt90A9E=", "dev": true }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", + "dev": true + }, "lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", "dev": true }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, "lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", @@ -3814,6 +3927,28 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "dev": true }, + "prettier": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.1.tgz", + "integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==", + "dev": true + }, + "prettier-plugin-go-template": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/prettier-plugin-go-template/-/prettier-plugin-go-template-0.0.11.tgz", + "integrity": "sha512-qtgoEjvbgmcDp9TOqYNgrPrA41s6S1UMyzMqjcxdxQahTX0webWfbamyA/x3XeBFEEJmgXrRAirzJrIVzImsMg==", + "dev": true, + "requires": { + "ulid": "^2.3.0" + } + }, + "prettier-plugin-tailwindcss": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.5.tgz", + "integrity": "sha512-e+jTxwiHL4I3Ot8OjV1LAiiaAx0Zgy71xTL7xNmJtNmhpja7GKzFSAoulqBDS1D57B7lbZDCvDEKIWIQSBUmBQ==", + "dev": true, + "requires": {} + }, "pretty-hrtime": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", @@ -4052,6 +4187,12 @@ "is-number": "^7.0.0" } }, + "ulid": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/ulid/-/ulid-2.3.0.tgz", + "integrity": "sha512-keqHubrlpvT6G2wH0OEfSW4mquYRcbe/J8NMmveoQOjUqmo+hXtO+ORCpWhdbZ7k72UtY61BL7haGxW6enBnjw==", + "dev": true + }, "universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", diff --git a/package.json b/package.json index 552e4fd..e38c4ff 100644 --- a/package.json +++ b/package.json @@ -6,11 +6,15 @@ "author": "WANG Chucheng <me@wangchucheng.com>", "devDependencies": { "@fullhuman/postcss-purgecss": "^4.1.3", + "@tailwindcss/typography": "^0.5.1", "autoprefixer": "^10.4.2", "cssnano": "^5.0.16", "postcss": "^8.4.5", "postcss-cli": "^9.1.0", "postcss-import": "^14.0.2", + "prettier": "^2.5.1", + "prettier-plugin-go-template": "^0.0.11", + "prettier-plugin-tailwindcss": "^0.1.5", "tailwindcss": "^3.0.17", "tailwindcss-rtl": "^0.8.0" }, diff --git a/resources/_gen/assets/css/css/eureka.css_5423b02c25971c3328ec4f49ccfb7444.content b/resources/_gen/assets/css/css/eureka.css_5423b02c25971c3328ec4f49ccfb7444.content new file mode 100644 index 0000000..57558a1 --- /dev/null +++ b/resources/_gen/assets/css/css/eureka.css_5423b02c25971c3328ec4f49ccfb7444.content @@ -0,0 +1 @@ +/*!tailwindcss v3.0.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }:root{--color-eureka:#38b2ac;--color-primary-bg:#f2f2f7;--color-secondary-bg:#fff;--color-tertiary-bg:#f2f2f7;--color-primary-text:rgba(0,0,0,.85);--color-secondary-text:rgba(0,0,0,.7);--color-tertiary-text:rgba(0,0,0,.55);background-color:var(--color-primary-bg);color:var(--color-primary-text);font-family:Lora,Noto Serif SC,serif}.dark{--color-eureka:#38b2ac;--color-primary-bg:#000;--color-secondary-bg:#1c1c1e;--color-tertiary-bg:#2c2c2e;--color-primary-text:hsla(0,0%,100%,.85);--color-secondary-text:hsla(0,0%,100%,.7);--color-tertiary-text:hsla(0,0%,100%,.55)}a:hover{color:var(--color-eureka);transition-duration:.3s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}code{direction:ltr}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where([class~=lead]):not(:where([class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-bottom:1.2em;margin-top:1.2em}.prose :where(a):not(:where([class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(ol):not(:where([class~=not-prose] *)){list-style-type:decimal;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=As]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=as]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type= I]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type= i]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type= Is]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type= is]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose] *)){list-style-type:disc;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(hr):not(:where([class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-bottom:3em;margin-top:3em}.prose :where(blockquote):not(:where([class~=not-prose] *)){border-left-color:var(--tw-prose-quote-borders);border-left-width:.25rem;color:var(--tw-prose-quotes);font-style:italic;font-weight:500;margin-bottom:1.6em;margin-top:1.6em;padding-left:1em;quotes:"\201C""\201D""\2018""\2019"}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:2.25em;font-weight:800;line-height:1.1111111;margin-bottom:.8888889em;margin-top:0}.prose :where(h1 strong):not(:where([class~=not-prose] *)){font-weight:900}.prose :where(h2):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.5em;font-weight:700;line-height:1.3333333;margin-bottom:1em;margin-top:2em}.prose :where(h2 strong):not(:where([class~=not-prose] *)){font-weight:800}.prose :where(h3):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.25em;font-weight:600;line-height:1.6;margin-bottom:.6em;margin-top:1.6em}.prose :where(h3 strong):not(:where([class~=not-prose] *)){font-weight:700}.prose :where(h4):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;line-height:1.5;margin-bottom:.5em;margin-top:1.5em}.prose :where(h4 strong):not(:where([class~=not-prose] *)){font-weight:700}.prose :where(figure>*):not(:where([class~=not-prose] *)){margin-bottom:0;margin-top:0}.prose :where(figcaption):not(:where([class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose :where(code):not(:where([class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose] *)){color:var(--tw-prose-links)}.prose :where(pre):not(:where([class~=not-prose] *)){background-color:var(--tw-prose-pre-bg);border-radius:.375rem;color:var(--tw-prose-pre-code);font-size:.875em;font-weight:400;line-height:1.7142857;margin-bottom:1.7142857em;margin-top:1.7142857em;overflow-x:auto;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose] *)){background-color:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;padding:0}.prose :where(pre code):not(:where([class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose] *)){font-size:.875em;line-height:1.7142857;margin-bottom:2em;margin-top:2em;table-layout:auto;text-align:left;width:100%}.prose :where(thead):not(:where([class~=not-prose] *)){border-bottom-color:var(--tw-prose-th-borders);border-bottom-width:1px}.prose :where(thead th):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;padding-bottom:.5714286em;padding-left:.5714286em;padding-right:.5714286em;vertical-align:bottom}.prose :where(tbody tr):not(:where([class~=not-prose] *)){border-bottom-color:var(--tw-prose-td-borders);border-bottom-width:1px}.prose :where(tbody tr:last-child):not(:where([class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose] *)){padding:.5714286em;vertical-align:baseline}.prose{--tw-prose-body:var(--color-secondary-text);--tw-prose-headings:var(--color-primary-text);--tw-prose-lead:var(--color-secondary-text);--tw-prose-links:var(--color-primary-text);--tw-prose-bold:var(--color-primary-text);--tw-prose-counters:var(--color-tertiary-text);--tw-prose-bullets:var(--color-tertiary-text);--tw-prose-hr:var(--color-tertiary-bg);--tw-prose-quotes:var(--color-tertiary-text);--tw-prose-quote-borders:var(--color-tertiary-bg);--tw-prose-captions:var(--color-tertiary-text);--tw-prose-code:var(--color-primary-text);--tw-prose-pre-code:var(--color-tertiary-text);--tw-prose-pre-bg:var(--color-tertiary-bg);--tw-prose-th-borders:var(--color-tertiary-bg);--tw-prose-td-borders:var(--color-tertiary-bg);--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(p):not(:where([class~=not-prose] *)){margin-bottom:1.25em;margin-top:1.25em}.prose :where(img):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(video):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(figure):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(h2 code):not(:where([class~=not-prose] *)){font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose] *)){font-size:.9em}.prose :where(li):not(:where([class~=not-prose] *)){margin-bottom:.5em;margin-top:.5em}.prose :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose>:where(ul>li p):not(:where([class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}.prose>:where(ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose>:where(ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose>:where(ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose>:where(ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}.prose :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(tbody td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose>:where(:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose>:where(:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose a:hover *{color:var(--color-eureka);transition-duration:.3s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.prose .katex{overflow-x:auto;overflow-y:hidden}.prose .katex *{border-color:var(--color-primary-text)}.prose :target{margin-top:-4rem;padding-top:4rem}.sticky-toc{position:-webkit-sticky;position:sticky;top:8rem;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);z-index:0}.sticky-toc a{color:var(--color-secondary-text);transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.sticky-toc a:hover{color:var(--color-eureka)}.sticky-toc ul{list-style-type:disc}.sticky-toc ol,.sticky-toc ul{-webkit-padding-start:2rem;color:var(--color-tertiary-text);font-size:1rem;line-height:1.5rem;padding-inline-start:2rem}.sticky-toc ol{list-style-type:decimal}.sticky-toc li+li{margin-top:.25rem}.sticky-toc li>p+p{margin-top:1.5rem}.object-contain{-o-object-fit:contain!important;object-fit:contain!important}.pagination{display:flex;justify-content:center}.pagination .page-item{align-items:center;display:flex}.pagination .page-item .page-link{margin:.5rem;padding:.5rem}.pagination .active{color:var(--color-eureka)}.pagination .page-item:not(.disabled):hover{color:var(--color-eureka)}.selected-menu-item{border-bottom-color:transparent;border-top-color:var(--color-eureka);color:var(--color-eureka)}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:-webkit-sticky!important;position:sticky!important}.inset-0{bottom:0!important;left:0!important;right:0!important;top:0!important}.top-16{top:4rem!important}.z-10{z-index:10!important}.z-20{z-index:20!important}.z-50{z-index:50!important}.z-30{z-index:30!important}.z-40{z-index:40!important}.z-0{z-index:0!important}.col-span-4{grid-column:span 4/span 4!important}.col-span-5{grid-column:span 5/span 5!important}.col-span-2{grid-column:span 2/span 2!important}.col-start-2{grid-column-start:2!important}.col-start-3{grid-column-start:3!important}.col-start-5{grid-column-start:5!important}.row-span-2{grid-row:span 2/span 2!important}.row-span-3{grid-row:span 3/span 3!important}.row-start-3{grid-row-start:3!important}.row-start-2{grid-row-start:2!important}.-m-12{margin:-3rem!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-4{margin-bottom:1rem!important;margin-top:1rem!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.mx-4{margin-left:1rem!important;margin-right:1rem!important}.mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}.my-1{margin-bottom:.25rem!important;margin-top:.25rem!important}.my-8{margin-bottom:2rem!important;margin-top:2rem!important}.-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}.mt-12{margin-top:3rem!important}.mt-4{margin-top:1rem!important}.mb-4{margin-bottom:1rem!important}.mb-2{margin-bottom:.5rem!important}.mt-2{margin-top:.5rem!important}.mb-6{margin-bottom:1.5rem!important}.mb-12{margin-bottom:3rem!important}.box-border{box-sizing:border-box!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.grid{display:grid!important}.hidden{display:none!important}.h-\(screen-16\){height:calc(100vh - 4rem)!important}.h-64{height:16rem!important}.h-96{height:24rem!important}.h-128{height:32rem!important}.h-160{height:40rem!important}.h-full{height:100%!important}.h-4{height:1rem!important}.h-24{height:6rem!important}.min-h-full{min-height:100%!important}.min-h-screen{min-height:100vh!important}.min-h-16{min-height:4rem!important}.w-full{width:100%!important}.w-48{width:12rem!important}.w-4{width:1rem!important}.w-24{width:6rem!important}.w-3\/12{width:25%!important}.max-w-screen-xl{max-width:1280px!important}.max-w-none{max-width:none!important}.flex-none{flex:none!important}.shrink-0{flex-shrink:0!important}.grow{flex-grow:1!important}.cursor-pointer{cursor:pointer!important}.cursor-default{cursor:default!important}.grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))!important}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))!important}.flex-row{flex-direction:row!important}.flex-col{flex-direction:column!important}.flex-col-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-4{gap:1rem!important}.gap-8{gap:2rem!important}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}.overflow-hidden{overflow:hidden!important}.overflow-y-auto{overflow-y:auto!important}.rounded{border-radius:.25rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-t{border-top-width:1px!important}.border-transparent{border-color:transparent!important}.border-tertiary-bg{border-color:var(--color-tertiary-bg)!important}.bg-secondary-bg{background-color:var(--color-secondary-bg)!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-primary-bg{background-color:var(--color-primary-bg)!important}.bg-tertiary-bg{background-color:var(--color-tertiary-bg)!important}.bg-opacity-75{--tw-bg-opacity:0.75!important}.bg-cover{background-size:cover!important}.bg-auto{background-size:auto!important}.bg-contain{background-size:contain!important}.bg-fixed{background-attachment:fixed!important}.bg-local{background-attachment:local!important}.bg-scroll{background-attachment:scroll!important}.bg-center{background-position:50%!important}.bg-top{background-position:top!important}.bg-right{background-position:100%!important}.bg-bottom{background-position:bottom!important}.bg-left{background-position:0!important}.p-12{padding:3rem!important}.p-6{padding:1.5rem!important}.p-2{padding:.5rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.py-32{padding-bottom:8rem!important;padding-top:8rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.py-12{padding-bottom:3rem!important;padding-top:3rem!important}.py-8{padding-bottom:2rem!important;padding-top:2rem!important}.py-4{padding-bottom:1rem!important;padding-top:1rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.pt-12{padding-top:3rem!important}.pt-16{padding-top:4rem!important}.pb-4{padding-bottom:1rem!important}.pt-4{padding-top:1rem!important}.pt-6{padding-top:1.5rem!important}.pb-8{padding-bottom:2rem!important}.pt-2{padding-top:.5rem!important}.pb-2{padding-bottom:.5rem!important}.pb-1{padding-bottom:.25rem!important}.pb-6{padding-bottom:1.5rem!important}.text-center{text-align:center!important}.text-right{text-align:right!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-bold{font-weight:700!important}.font-semibold{font-weight:600!important}.leading-normal{line-height:1.5!important}.text-black{--tw-text-opacity:1!important;color:rgb(0 0 0/var(--tw-text-opacity))!important}.text-primary-text{color:var(--color-primary-text)!important}.text-eureka{color:var(--color-eureka)!important}.text-tertiary-text{color:var(--color-tertiary-text)!important}.text-opacity-75{--tw-text-opacity:0.75!important}.no-underline{-webkit-text-decoration-line:none!important;text-decoration-line:none!important}.opacity-0{opacity:0!important}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important;--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)!important}.shadow-2xl,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-200{transition-duration:.2s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.ps-1{-webkit-padding-start:.25rem!important;padding-inline-start:.25rem!important}.ps-4{-webkit-padding-start:1rem!important;padding-inline-start:1rem!important}.pe-4{-webkit-padding-end:1rem!important;padding-inline-end:1rem!important}.ps-6{-webkit-padding-start:1.5rem!important;padding-inline-start:1.5rem!important}.pe-6{-webkit-padding-end:1.5rem!important;padding-inline-end:1.5rem!important}.ps-scrollbar{-webkit-padding-start:calc(100vw - 100%)!important;padding-inline-start:calc(100vw - 100%)!important}.ms-1{-webkit-margin-start:.25rem!important;margin-inline-start:.25rem!important}.me-1{-webkit-margin-end:.25rem!important;margin-inline-end:.25rem!important}.ms-2{-webkit-margin-start:.5rem!important;margin-inline-start:.5rem!important}.me-2{-webkit-margin-end:.5rem!important;margin-inline-end:.5rem!important}.ms-4{-webkit-margin-start:1rem!important;margin-inline-start:1rem!important}.me-4{-webkit-margin-end:1rem!important;margin-inline-end:1rem!important}.me-6{-webkit-margin-end:1.5rem!important;margin-inline-end:1.5rem!important}.ms-8{-webkit-margin-start:2rem!important;margin-inline-start:2rem!important}.me-8{-webkit-margin-end:2rem!important;margin-inline-end:2rem!important}[dir=rtl] .start-0{right:0!important}:not([dir=rtl]) .start-0{left:0!important}[dir=rtl] .end-auto{left:auto!important}:not([dir=rtl]) .end-auto{right:auto!important}.border-e{border-inline-end-width:1px!important}.border-s{border-inline-start-width:1px!important}.hover\:text-eureka:hover{color:var(--color-eureka)!important}.hover\:underline:hover{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)!important;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}@media(min-width:768px){.md\:mx-0{margin-left:0!important;margin-right:0!important}.md\:mt-0{margin-top:0!important}.md\:block{display:block!important}.md\:inline-block{display:inline-block!important}.md\:flex{display:flex!important}.md\:hidden{display:none!important}.md\:h-16{height:4rem!important}.md\:h-\(16-4px\){height:calc(4rem - 4px)!important}.md\:max-h-doc-sidebar{max-height:calc(100vh - 4rem - var(--height-doc-title,4rem))!important}.md\:w-auto{width:auto!important}.md\:w-1\/4{width:25%!important}.md\:w-3\/4{width:75%!important}.md\:grow{flex-grow:1!important}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:flex-row{flex-direction:row!important}.md\:flex-col{flex-direction:column!important}.md\:items-center{align-items:center!important}.md\:justify-end{justify-content:flex-end!important}.md\:justify-between{justify-content:space-between!important}.md\:border-b-0{border-bottom-width:0!important}.md\:border-t-2{border-top-width:2px!important}.md\:border-b-2{border-bottom-width:2px!important}.md\:border-b{border-bottom-width:1px!important}.md\:bg-transparent{background-color:transparent!important}.md\:bg-primary-bg{background-color:var(--color-primary-bg)!important}.md\:bg-secondary-bg{background-color:var(--color-secondary-bg)!important}.md\:px-4{padding-left:1rem!important;padding-right:1rem!important}.md\:px-8{padding-left:2rem!important;padding-right:2rem!important}.md\:py-0{padding-top:0!important}.md\:pb-0,.md\:py-0{padding-bottom:0!important}.md\:pt-0{padding-top:0!important}.md\:pt-8{padding-top:2rem!important}.md\:text-right{text-align:right!important}.md\:text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.md\:leading-\(16-4px\){line-height:calc(4rem - 4px)!important}.md\:text-primary-text{color:var(--color-primary-text)!important}.md\:pe-0{-webkit-padding-end:0!important;padding-inline-end:0!important}.md\:pe-8{-webkit-padding-end:2rem!important;padding-inline-end:2rem!important}.md\:ms-0{-webkit-margin-start:0!important;margin-inline-start:0!important}.md\:me-4{-webkit-margin-end:1rem!important;margin-inline-end:1rem!important}.md\:me-8{-webkit-margin-end:2rem!important;margin-inline-end:2rem!important}[dir=rtl] .md\:end-0{left:0!important}:not([dir=rtl]) .md\:end-0{right:0!important}[dir=rtl] .md\:start-auto{right:auto!important}:not([dir=rtl]) .md\:start-auto{left:auto!important}.md\:border-e{border-inline-end-width:1px!important}}@media(min-width:1024px){.lg\:col-span-6{grid-column:span 6/span 6!important}.lg\:col-start-2{grid-column-start:2!important}.lg\:mb-0{margin-bottom:0!important}.lg\:block{display:block!important}.lg\:w-2\/3{width:66.666667%!important}.lg\:w-3\/4{width:75%!important}.lg\:w-4\/5{width:80%!important}.lg\:w-1\/5{width:20%!important}.lg\:w-1\/4{width:25%!important}.lg\:w-1\/3{width:33.333333%!important}.lg\:w-1\/2{width:50%!important}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))!important}.lg\:flex-row{flex-direction:row!important}.lg\:flex-row-reverse{flex-direction:row-reverse!important}.lg\:px-4{padding-left:1rem!important;padding-right:1rem!important}.lg\:pt-12{padding-top:3rem!important}.lg\:ms-4{-webkit-margin-start:1rem!important;margin-inline-start:1rem!important}.lg\:me-4{-webkit-margin-end:1rem!important;margin-inline-end:1rem!important}.lg\:ms-8{-webkit-margin-start:2rem!important;margin-inline-start:2rem!important}}@media(min-width:1280px){.xl\:mx-16{margin-left:4rem!important;margin-right:4rem!important}.xl\:w-2\/12{width:16.666667%!important}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.xl\:px-8{padding-left:2rem!important;padding-right:2rem!important}.xl\:px-12{padding-left:3rem!important;padding-right:3rem!important}}
\ No newline at end of file diff --git a/resources/_gen/assets/css/css/eureka.css_5423b02c25971c3328ec4f49ccfb7444.json b/resources/_gen/assets/css/css/eureka.css_5423b02c25971c3328ec4f49ccfb7444.json new file mode 100644 index 0000000..f46a031 --- /dev/null +++ b/resources/_gen/assets/css/css/eureka.css_5423b02c25971c3328ec4f49ccfb7444.json @@ -0,0 +1 @@ +{"Target":"css/eureka.min.2525c0bd06eb2382a196fa3ae3b87f76d13e1ae54cce802ed7937f431fc21904b6a034aca478d324d154ee1b4414b6c8.css","MediaType":"text/css","Data":{"Integrity":"sha384-JSXAvQbrI4Khlvo647h/dtE+GuVMzoAu15N/Qx/CGQS2oDSspHjTJNFU7htEFLbI"}}
\ No newline at end of file diff --git a/resources/_gen/assets/css/css/eureka.css_fc3f76d7bee2760c3a903059afc3d9b2.content b/resources/_gen/assets/css/css/eureka.css_fc3f76d7bee2760c3a903059afc3d9b2.content deleted file mode 100644 index c684202..0000000 --- a/resources/_gen/assets/css/css/eureka.css_fc3f76d7bee2760c3a903059afc3d9b2.content +++ /dev/null @@ -1 +0,0 @@ -/*!tailwindcss v3.0.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }:root{--color-eureka:#38b2ac;--color-primary-bg:#f2f2f7;--color-secondary-bg:#fff;--color-tertiary-bg:#f2f2f7;--color-primary-text:rgba(0,0,0,.85);--color-secondary-text:rgba(0,0,0,.7);--color-tertiary-text:rgba(0,0,0,.55);background-color:var(--color-primary-bg);color:var(--color-primary-text);font-family:Lora,Noto Serif SC,serif}.dark{--color-eureka:#38b2ac;--color-primary-bg:#000;--color-secondary-bg:#1c1c1e;--color-tertiary-bg:#2c2c2e;--color-primary-text:hsla(0,0%,100%,.85);--color-secondary-text:hsla(0,0%,100%,.7);--color-tertiary-text:hsla(0,0%,100%,.55)}a:hover{color:var(--color-eureka);transition-duration:.3s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}code{direction:ltr}.content{color:var(--color-primary-text);line-height:1.5;overflow-wrap:break-word}.content>*{margin-bottom:1rem}.content li+li{margin-top:.25rem}.content li>p+p{margin-top:1.5rem}.content strong{font-weight:600}.content a{color:var(--color-eureka)}.content a:hover{color:var(--color-eureka);-webkit-text-decoration-line:underline;text-decoration-line:underline}.content strong a{font-weight:700}.content h1{font-size:2.25rem;line-height:2.5rem;line-height:1.25}.content h1,.content h2{border-bottom-width:1px;font-weight:600;margin-bottom:1rem;margin-top:1.5rem;padding-bottom:.5rem}.content h2{font-size:1.5rem;line-height:2rem;line-height:1.25}.content h3{font-size:1.125rem;line-height:1.75rem;line-height:1.375}.content h3,.content h4{font-weight:600;margin-bottom:1rem;margin-top:1.5rem}.content h4{font-size:1rem;line-height:1.5rem;line-height:1}.content h5,.content h6{font-size:.875rem;font-weight:600;line-height:1.25rem;line-height:1.25;margin-bottom:1rem;margin-top:1.5rem}.content blockquote,.content h6{color:var(--color-secondary-text)}.content blockquote{-webkit-padding-start:1rem;-webkit-padding-end:1rem;border-color:var(--color-tertiary-text);border-inline-start-width:4px;font-size:1rem;line-height:1.5rem;padding-inline-end:1rem;padding-inline-start:1rem}.content code{color:var(--color-tertiary-text);display:inline;font-family:SFMono-Regular,Menlo,monospace;font-size:.875rem;line-height:1.25rem;padding:.25rem}.content code,.content pre{background-color:var(--color-tertiary-bg);border-radius:.25rem}.content pre{padding:1rem}.content pre code{background-color:transparent;border-radius:0;display:block;overflow:auto;padding:0}.content ul{list-style-type:disc}.content ol,.content ul{-webkit-padding-start:2rem;font-size:1rem;line-height:1.5rem;padding-inline-start:2rem}.content ol{list-style-type:decimal}.content kbd{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);border-radius:.25rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:inline-block;font-family:SFMono-Regular,Menlo,monospace;font-size:.75rem;font-weight:400;line-height:1rem;padding:.25rem;vertical-align:middle}.content table{border-color:var(--color-secondary-text);display:block;font-size:1rem;line-height:1.5rem;overflow:auto}.content td,.content th{border-width:1px;padding:.25rem .75rem}.content .katex{overflow-x:auto;overflow-y:hidden}.content .katex *{border-color:var(--color-primary-text)}.content :target{margin-top:-4rem;padding-top:4rem}.sticky-toc{position:-webkit-sticky;position:sticky;top:8rem;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);z-index:0}.sticky-toc a{color:var(--color-primary-text);transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.sticky-toc a:hover{color:var(--color-eureka)}.sticky-toc ul{list-style-type:disc}.sticky-toc ol,.sticky-toc ul{-webkit-padding-start:2rem;font-size:1rem;line-height:1.5rem;padding-inline-start:2rem}.sticky-toc ol{list-style-type:decimal}.sticky-toc li+li{margin-top:.25rem}.sticky-toc li>p+p{margin-top:1.5rem}.object-contain{-o-object-fit:contain!important;object-fit:contain!important}.pagination{display:flex;justify-content:center}.pagination .page-item{align-items:center;display:flex}.pagination .page-item .page-link{margin:.5rem;padding:.5rem}.pagination .active{color:var(--color-eureka)}.pagination .page-item:not(.disabled):hover{color:var(--color-eureka)}.selected-menu-item{border-bottom-color:transparent;border-top-color:var(--color-eureka);color:var(--color-eureka)}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:-webkit-sticky!important;position:sticky!important}.inset-0{bottom:0!important;left:0!important;right:0!important;top:0!important}.top-16{top:4rem!important}.z-10{z-index:10!important}.z-20{z-index:20!important}.z-50{z-index:50!important}.z-30{z-index:30!important}.z-40{z-index:40!important}.z-0{z-index:0!important}.col-span-4{grid-column:span 4/span 4!important}.col-span-5{grid-column:span 5/span 5!important}.col-span-2{grid-column:span 2/span 2!important}.col-start-2{grid-column-start:2!important}.col-start-3{grid-column-start:3!important}.col-start-5{grid-column-start:5!important}.row-span-2{grid-row:span 2/span 2!important}.row-span-3{grid-row:span 3/span 3!important}.row-start-3{grid-row-start:3!important}.row-start-2{grid-row-start:2!important}.-m-12{margin:-3rem!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-4{margin-bottom:1rem!important;margin-top:1rem!important}.mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}.my-8{margin-bottom:2rem!important;margin-top:2rem!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.mx-4{margin-left:1rem!important;margin-right:1rem!important}.my-1{margin-bottom:.25rem!important;margin-top:.25rem!important}.-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}.mt-12{margin-top:3rem!important}.mb-4{margin-bottom:1rem!important}.mt-4{margin-top:1rem!important}.mb-2{margin-bottom:.5rem!important}.mt-2{margin-top:.5rem!important}.-mt-16{margin-top:-4rem!important}.-mt-10{margin-top:-2.5rem!important}.mb-6{margin-bottom:1.5rem!important}.mb-12{margin-bottom:3rem!important}.box-border{box-sizing:border-box!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.grid{display:grid!important}.hidden{display:none!important}.h-\(screen-16\){height:calc(100vh - 4rem)!important}.h-64{height:16rem!important}.h-96{height:24rem!important}.h-128{height:32rem!important}.h-160{height:40rem!important}.h-full{height:100%!important}.h-4{height:1rem!important}.h-24{height:6rem!important}.min-h-full{min-height:100%!important}.min-h-screen{min-height:100vh!important}.min-h-16{min-height:4rem!important}.w-full{width:100%!important}.w-48{width:12rem!important}.w-4{width:1rem!important}.w-24{width:6rem!important}.w-3\/12{width:25%!important}.max-w-screen-xl{max-width:1280px!important}.flex-none{flex:none!important}.shrink-0{flex-shrink:0!important}.grow{flex-grow:1!important}.cursor-pointer{cursor:pointer!important}.cursor-default{cursor:default!important}.grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))!important}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))!important}.flex-row{flex-direction:row!important}.flex-col{flex-direction:column!important}.flex-col-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-4{gap:1rem!important}.gap-8{gap:2rem!important}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}.overflow-hidden{overflow:hidden!important}.overflow-y-auto{overflow-y:auto!important}.rounded{border-radius:.25rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-t{border-top-width:1px!important}.border-transparent{border-color:transparent!important}.border-tertiary-bg{border-color:var(--color-tertiary-bg)!important}.bg-secondary-bg{background-color:var(--color-secondary-bg)!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-primary-bg{background-color:var(--color-primary-bg)!important}.bg-tertiary-bg{background-color:var(--color-tertiary-bg)!important}.bg-opacity-75{--tw-bg-opacity:0.75!important}.bg-cover{background-size:cover!important}.bg-auto{background-size:auto!important}.bg-contain{background-size:contain!important}.bg-fixed{background-attachment:fixed!important}.bg-local{background-attachment:local!important}.bg-scroll{background-attachment:scroll!important}.bg-center{background-position:50%!important}.bg-top{background-position:top!important}.bg-right{background-position:100%!important}.bg-bottom{background-position:bottom!important}.bg-left{background-position:0!important}.p-12{padding:3rem!important}.p-6{padding:1.5rem!important}.p-2{padding:.5rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.py-32{padding-bottom:8rem!important;padding-top:8rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.py-12{padding-bottom:3rem!important;padding-top:3rem!important}.py-8{padding-bottom:2rem!important;padding-top:2rem!important}.py-4{padding-bottom:1rem!important;padding-top:1rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.pt-12{padding-top:3rem!important}.pt-16{padding-top:4rem!important}.pb-4{padding-bottom:1rem!important}.pt-4{padding-top:1rem!important}.pt-6{padding-top:1.5rem!important}.pb-8{padding-bottom:2rem!important}.pt-2{padding-top:.5rem!important}.pb-2{padding-bottom:.5rem!important}.pb-1{padding-bottom:.25rem!important}.pb-6{padding-bottom:1.5rem!important}.pt-10{padding-top:2.5rem!important}.text-center{text-align:center!important}.text-right{text-align:right!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-bold{font-weight:700!important}.font-semibold{font-weight:600!important}.leading-normal{line-height:1.5!important}.text-black{--tw-text-opacity:1!important;color:rgb(0 0 0/var(--tw-text-opacity))!important}.text-primary-text{color:var(--color-primary-text)!important}.text-eureka{color:var(--color-eureka)!important}.text-tertiary-text{color:var(--color-tertiary-text)!important}.text-opacity-75{--tw-text-opacity:0.75!important}.opacity-0{opacity:0!important}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important;--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)!important}.shadow-2xl,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-200{transition-duration:.2s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.ps-1{-webkit-padding-start:.25rem!important;padding-inline-start:.25rem!important}.ps-4{-webkit-padding-start:1rem!important;padding-inline-start:1rem!important}.pe-4{-webkit-padding-end:1rem!important;padding-inline-end:1rem!important}.ps-6{-webkit-padding-start:1.5rem!important;padding-inline-start:1.5rem!important}.pe-6{-webkit-padding-end:1.5rem!important;padding-inline-end:1.5rem!important}.ps-scrollbar{-webkit-padding-start:calc(100vw - 100%)!important;padding-inline-start:calc(100vw - 100%)!important}.ms-0{-webkit-margin-start:0!important;margin-inline-start:0!important}.ms-1{-webkit-margin-start:.25rem!important;margin-inline-start:.25rem!important}.me-1{-webkit-margin-end:.25rem!important;margin-inline-end:.25rem!important}.ms-2{-webkit-margin-start:.5rem!important;margin-inline-start:.5rem!important}.me-2{-webkit-margin-end:.5rem!important;margin-inline-end:.5rem!important}.ms-4{-webkit-margin-start:1rem!important;margin-inline-start:1rem!important}.me-4{-webkit-margin-end:1rem!important;margin-inline-end:1rem!important}.me-6{-webkit-margin-end:1.5rem!important;margin-inline-end:1.5rem!important}.ms-8{-webkit-margin-start:2rem!important;margin-inline-start:2rem!important}.me-8{-webkit-margin-end:2rem!important;margin-inline-end:2rem!important}.me-auto{-webkit-margin-end:auto!important;margin-inline-end:auto!important}[dir=rtl] .start-0{right:0!important}:not([dir=rtl]) .start-0{left:0!important}[dir=rtl] .end-auto{left:auto!important}:not([dir=rtl]) .end-auto{right:auto!important}.border-e{border-inline-end-width:1px!important}.border-s{border-inline-start-width:1px!important}.hover\:text-eureka:hover{color:var(--color-eureka)!important}.hover\:underline:hover{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)!important;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}@media(min-width:768px){.md\:mx-0{margin-left:0!important;margin-right:0!important}.md\:mt-0{margin-top:0!important}.md\:block{display:block!important}.md\:inline-block{display:inline-block!important}.md\:flex{display:flex!important}.md\:hidden{display:none!important}.md\:h-16{height:4rem!important}.md\:h-\(16-4px\){height:calc(4rem - 4px)!important}.md\:max-h-doc-sidebar{max-height:calc(100vh - 4rem - var(--height-doc-title,4rem))!important}.md\:w-auto{width:auto!important}.md\:w-1\/4{width:25%!important}.md\:w-3\/4{width:75%!important}.md\:grow{flex-grow:1!important}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:flex-row{flex-direction:row!important}.md\:flex-col{flex-direction:column!important}.md\:items-center{align-items:center!important}.md\:justify-end{justify-content:flex-end!important}.md\:justify-between{justify-content:space-between!important}.md\:border-b-0{border-bottom-width:0!important}.md\:border-t-2{border-top-width:2px!important}.md\:border-b-2{border-bottom-width:2px!important}.md\:border-b{border-bottom-width:1px!important}.md\:bg-transparent{background-color:transparent!important}.md\:bg-primary-bg{background-color:var(--color-primary-bg)!important}.md\:bg-secondary-bg{background-color:var(--color-secondary-bg)!important}.md\:px-4{padding-left:1rem!important;padding-right:1rem!important}.md\:px-8{padding-left:2rem!important;padding-right:2rem!important}.md\:py-0{padding-top:0!important}.md\:pb-0,.md\:py-0{padding-bottom:0!important}.md\:pt-0{padding-top:0!important}.md\:pt-8{padding-top:2rem!important}.md\:text-right{text-align:right!important}.md\:text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.md\:leading-\(16-4px\){line-height:calc(4rem - 4px)!important}.md\:text-primary-text{color:var(--color-primary-text)!important}.md\:pe-0{-webkit-padding-end:0!important;padding-inline-end:0!important}.md\:pe-8{-webkit-padding-end:2rem!important;padding-inline-end:2rem!important}.md\:ms-0{-webkit-margin-start:0!important;margin-inline-start:0!important}.md\:me-4{-webkit-margin-end:1rem!important;margin-inline-end:1rem!important}.md\:me-8{-webkit-margin-end:2rem!important;margin-inline-end:2rem!important}[dir=rtl] .md\:end-0{left:0!important}:not([dir=rtl]) .md\:end-0{right:0!important}[dir=rtl] .md\:start-auto{right:auto!important}:not([dir=rtl]) .md\:start-auto{left:auto!important}.md\:border-e{border-inline-end-width:1px!important}}@media(min-width:1024px){.lg\:col-span-6{grid-column:span 6/span 6!important}.lg\:col-start-2{grid-column-start:2!important}.lg\:mb-0{margin-bottom:0!important}.lg\:block{display:block!important}.lg\:w-2\/3{width:66.666667%!important}.lg\:w-3\/4{width:75%!important}.lg\:w-4\/5{width:80%!important}.lg\:w-1\/5{width:20%!important}.lg\:w-1\/4{width:25%!important}.lg\:w-1\/3{width:33.333333%!important}.lg\:w-1\/2{width:50%!important}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))!important}.lg\:flex-row{flex-direction:row!important}.lg\:flex-row-reverse{flex-direction:row-reverse!important}.lg\:px-4{padding-left:1rem!important;padding-right:1rem!important}.lg\:pt-12{padding-top:3rem!important}.lg\:ms-4{-webkit-margin-start:1rem!important;margin-inline-start:1rem!important}.lg\:me-4{-webkit-margin-end:1rem!important;margin-inline-end:1rem!important}.lg\:ms-8{-webkit-margin-start:2rem!important;margin-inline-start:2rem!important}}@media(min-width:1280px){.xl\:mx-16{margin-left:4rem!important;margin-right:4rem!important}.xl\:w-2\/12{width:16.666667%!important}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.xl\:px-8{padding-left:2rem!important;padding-right:2rem!important}.xl\:px-12{padding-left:3rem!important;padding-right:3rem!important}}
\ No newline at end of file diff --git a/resources/_gen/assets/css/css/eureka.css_fc3f76d7bee2760c3a903059afc3d9b2.json b/resources/_gen/assets/css/css/eureka.css_fc3f76d7bee2760c3a903059afc3d9b2.json deleted file mode 100644 index 6d81123..0000000 --- a/resources/_gen/assets/css/css/eureka.css_fc3f76d7bee2760c3a903059afc3d9b2.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"css/eureka.min.css","MediaType":"text/css","Data":{}}
\ No newline at end of file diff --git a/resources/_gen/images/images/icon_hu64421c6c7700f606f0ad45d807017b09_5843_180x180_fill_box_center_2.png b/resources/_gen/images/images/icon_hu64421c6c7700f606f0ad45d807017b09_5843_180x180_fill_box_center_2.png Binary files differdeleted file mode 100644 index 323de7e..0000000 --- a/resources/_gen/images/images/icon_hu64421c6c7700f606f0ad45d807017b09_5843_180x180_fill_box_center_2.png +++ /dev/null diff --git a/resources/_gen/images/images/icon_hu64421c6c7700f606f0ad45d807017b09_5843_32x32_fill_box_center_2.png b/resources/_gen/images/images/icon_hu64421c6c7700f606f0ad45d807017b09_5843_32x32_fill_box_center_2.png Binary files differdeleted file mode 100644 index cbe3333..0000000 --- a/resources/_gen/images/images/icon_hu64421c6c7700f606f0ad45d807017b09_5843_32x32_fill_box_center_2.png +++ /dev/null |