From 6433f442bb7fb7d496f9438a5165043fd848a790 Mon Sep 17 00:00:00 2001 From: Thies Lennart Alff Date: Tue, 13 Sep 2022 20:13:12 +0200 Subject: [PATCH] simplifications --- .gitmodules | 3 - config.toml | 62 ------- config.yaml | 30 +++ .../{bike-maintenance.md => _index.md} | 16 +- content/recipes/drinks/lemonade.md | 4 +- layouts/404.html | 5 + layouts/_default/list.html | 20 ++ layouts/_default/single.html | 12 ++ layouts/_default/terms.html | 13 ++ layouts/partials/foot_custom.html | 0 layouts/partials/footer.html | 9 + layouts/partials/{head.html => head.html.old} | 0 layouts/partials/head_custom.html | 0 layouts/partials/header.html | 20 ++ layouts/recipes/li.html | 4 - layouts/recipes/list.html | 20 -- layouts/recipes/single.html | 52 ------ static/css/custom.css | 1 - static/css/fonts.css | 7 + static/css/style.css | 58 ++++++ static/css/syntax-dark.css | 85 --------- static/css/syntax-light.css | 85 --------- static/css/syntax.css | 174 ------------------ themes/hugo-coder | 1 - 24 files changed, 185 insertions(+), 496 deletions(-) delete mode 100644 config.toml create mode 100644 config.yaml rename content/cycling/{bike-maintenance.md => _index.md} (87%) create mode 100644 layouts/404.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/_default/terms.html create mode 100644 layouts/partials/foot_custom.html create mode 100644 layouts/partials/footer.html rename layouts/partials/{head.html => head.html.old} (100%) create mode 100644 layouts/partials/head_custom.html create mode 100644 layouts/partials/header.html delete mode 100644 layouts/recipes/li.html delete mode 100644 layouts/recipes/list.html delete mode 100644 layouts/recipes/single.html delete mode 100644 static/css/custom.css create mode 100644 static/css/fonts.css create mode 100644 static/css/style.css delete mode 100644 static/css/syntax-dark.css delete mode 100644 static/css/syntax-light.css delete mode 100644 static/css/syntax.css delete mode 160000 themes/hugo-coder diff --git a/.gitmodules b/.gitmodules index ce3490a..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "themes/hugo-coder"] - path = themes/hugo-coder - url = https://github.com/luizdepra/hugo-coder.git diff --git a/config.toml b/config.toml deleted file mode 100644 index c216b9a..0000000 --- a/config.toml +++ /dev/null @@ -1,62 +0,0 @@ -baseURL = 'https://lennartalff.net' -languageCode = 'en-us' -title = 'Thies Lennart Alff' -theme = 'hugo-coder' -defaultContentLanguage = 'en' -pygmentsStyle = 'bw' -pygmentsUseClasses = true -pygmentsCodefences = true -pygmentsCodeFencesGuessSyntax = true -enableEmoji = true -enableGitInfo = true -enableRobotsTXT = true - -[frontmatter] -date = ['date', 'publishDate', 'lastmod'] -lastmod = ['lastmod', ':git', 'date', 'publishDate'] -publishDate = ['publishDate', 'date'] - -[params] -author = 'Thies Lennart Alff' -colorScheme = 'auto' -hideColorSchemeToggle = false -dateFormat = '02.01. 2006' -avatarURL = 'images/avatar.jpg' - -[taxonomies] -category = 'categories' -series = 'series' -tag = 'tags' -author = 'authors' - -[[params.social]] -name = 'GitHub' -icon = 'fa fa-2x fa-github' -weight = 1 -url = 'https://github.com/lennartalff/' - -[[params.social]] -name = 'GitLab' -icon = 'fa fa-2x fa-gitlab' -weight = 1 -url = 'https://gitlab.com/lennartalff/' - -[[menu.main]] -name = 'Recipes' -weight = 3 -url = 'recipes/' - -[[menu.main]] -name = 'Cycling' -weight = 2 -url = 'cycling/' - -[[menu.main]] -name = 'Posts' -weight = 1 -url = 'posts/' - -[markup] - [markup.goldmark] - [markup.goldmark.renderer] - unsafe = true diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..e8ea48e --- /dev/null +++ b/config.yaml @@ -0,0 +1,30 @@ +baseURL: '/' +languageCode: 'en-us' +title: 'Thies Lennart Alff' +googleAnalytics: '' + +menu: + main: + - name: Home + url: '' + weight: 1 + - name: Posts + url: 'posts/' + weight: 1 + - name: 'Cycling' + url: 'cycling/' + weight: 2 + - name: 'Recipes' + weight: 3 + url: 'recipes/' + +params: + dateFormatList: '2006-01-02' + dateFormatSingle: '02. Jan 2006' + description: 'My personal website.' + footer: '© [Thies Lennart Alff](https://lennartalff.net) 2021 -- {Year} | [GitHub](https://github.com/lennartalff) | [GitLab](https://gitlab.com/lennartalff)' + +markup: + goldmark: + renderer: + unsafe: true \ No newline at end of file diff --git a/content/cycling/bike-maintenance.md b/content/cycling/_index.md similarity index 87% rename from content/cycling/bike-maintenance.md rename to content/cycling/_index.md index 18f54c4..5e9f123 100644 --- a/content/cycling/bike-maintenance.md +++ b/content/cycling/_index.md @@ -1,11 +1,13 @@ --- -title: Bike Maintenance +title: Cycling date: 2022-08-25 categories: ['Cycling'] tags: ['cycling'] --- -## Vector 3 +## Maintenance + +### Vector 3 Battery {{% table %}} | Date | Distance (km) | Time (h)| Lifetime (h) | | ---- | ------------- | ------- | ------------ | @@ -14,22 +16,22 @@ tags: ['cycling'] | 25.08.22 | 7306.6 | 284.2 | 120.8 | {{% /table %}} - -## Chain 1 +### Chain Waxing +#### Chain 1 {{< table >}} | Start Date | End Date | Start Distance | End Distance | Diff | Total | | ---------- | -------- | -------------- | ------------ | ---- | ----- | | 30.08.22 | | 7335.6 | | | | {{< /table >}} -## Chain 2 +#### Chain 2 {{% table %}} | Start Date | End Date | Start Distance | End Distance | Diff | Total | | ---------- | -------- | -------------- | ------------ | ---- | ----- | {{% /table %}} -## Chain 3 +#### Chain 3 {{% table %}} | Start Date | End Date | Start Distance | End Distance | Diff | Total | | ---------- | -------- | -------------- | ------------ | ---- | ----- | -{{% /table %}} \ No newline at end of file +{{% /table %}} diff --git a/content/recipes/drinks/lemonade.md b/content/recipes/drinks/lemonade.md index 38f524c..b473f7f 100644 --- a/content/recipes/drinks/lemonade.md +++ b/content/recipes/drinks/lemonade.md @@ -6,8 +6,8 @@ date: '2022-08-07' ## Ingredients * 750ml soda -* 100ml lemon juice -* 60ml sugar cane syrup +* 40-60ml lemon juice +* 0-40ml sugar cane syrup * "some" mint * ice cubes diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..c2e4e40 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,5 @@ +{{ partial "header.html" . }} + +404 NOT FOUND + +{{ partial "footer.html" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..cb5b8d2 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,20 @@ +{{ partial "header.html" . }} + +{{if not .IsHome }} +

{{ .Title | markdownify }}

+{{ end }} + +{{ .Content }} + + + +{{ partial "footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e807d92 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,12 @@ +{{ partial "header.html" . }} +
+

{{ .Title | markdownify }}

+{{ with .Params.author }}

{{ . }}

{{ end }} +{{ if (gt .Params.date 0) }}

{{ .Date.Format .Site.Params.dateFormatSingle }}

{{ end }} +
+ +
+{{ .Content }} +
+ +{{ partial "footer.html" . }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html new file mode 100644 index 0000000..71f47e7 --- /dev/null +++ b/layouts/_default/terms.html @@ -0,0 +1,13 @@ +{{ partial "header.html" . }} + +

{{ .Title }}

+ + + +{{ partial "footer.html" . }} diff --git a/layouts/partials/foot_custom.html b/layouts/partials/foot_custom.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..f603e17 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,9 @@ + + + diff --git a/layouts/partials/head.html b/layouts/partials/head.html.old similarity index 100% rename from layouts/partials/head.html rename to layouts/partials/head.html.old diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..a88314b --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,20 @@ + + + + + + {{ .Title }} | {{ .Site.Title }} + + + {{ partial "head_custom.html" . }} + + + + diff --git a/layouts/recipes/li.html b/layouts/recipes/li.html deleted file mode 100644 index 9d8a659..0000000 --- a/layouts/recipes/li.html +++ /dev/null @@ -1,4 +0,0 @@ -
  • - {{ .Date | time.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }} - {{ .Title }} -
  • diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html deleted file mode 100644 index 231b182..0000000 --- a/layouts/recipes/list.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ define "title" }} - {{ title (i18n (lower .Title)) | default .Title }} · {{ .Site.Title }} -{{ end }} -{{ define "content" }} -
    -

    - - {{ title (i18n (lower .Title)) | default .Title }} - -

    - {{ .Content }} - - - {{ partial "pagination.html" . }} -
    -{{ end }} diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html deleted file mode 100644 index 6c7509e..0000000 --- a/layouts/recipes/single.html +++ /dev/null @@ -1,52 +0,0 @@ -{{ define "title" }} - {{ .Title }} · {{ .Site.Title }} -{{ end }} -{{ define "content" }} -
    -
    -
    -
    -

    - - {{ .Title }} - -

    -
    - -
    - -
    - {{ if .Params.featuredImage }} - Featured image - {{ end }} - {{ .Content }} -
    - - - -
    - - {{ partial "posts/math.html" . }} -
    -{{ end }} diff --git a/static/css/custom.css b/static/css/custom.css deleted file mode 100644 index 59c01e9..0000000 --- a/static/css/custom.css +++ /dev/null @@ -1 +0,0 @@ -body.colorscheme-dark .highlight pre{ color: inherit } \ No newline at end of file diff --git a/static/css/fonts.css b/static/css/fonts.css new file mode 100644 index 0000000..b39a9c1 --- /dev/null +++ b/static/css/fonts.css @@ -0,0 +1,7 @@ +body { + font-family: "Liberation Sans", "Noto Sans", Arial, sans-serif; +} +code { + font-family: "DejaVu Sans Mono", monospace; + /* font-size: 85%; */ +} diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..59596ae --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,58 @@ +body { + max-width: 800px; + margin: auto; + padding: 1em; + line-height: 1.5; +} + +/* header and footer areas */ +.menu { padding: 0; } +.menu li { display: inline-block; } +.article-meta, .menu a { + text-decoration: none; + background: #eee; + padding: 5px; + border-radius: 5px; +} +.menu, .article-meta, footer { text-align: center; } +.title { font-size: 1.1em; } +footer a { text-decoration: none; } +hr { + border-style: dashed; + color: #ddd; +} + +/* code */ +pre { + border: 1px solid #ddd; + box-shadow: 5px 5px 5px #eee; + padding: 1em; + overflow-x: auto; +} +code { + background: #afb8c133; + padding-left: 5px; + padding-right: 5px; + padding-top: 3px; + padding-bottom: 3px; + border-radius: 6px +} +pre code { background: none; } + +/* misc elements */ +img, iframe, video { max-width: 100%; } +main { hyphens: auto; } +blockquote { + background: #f9f9f9; + border-left: 5px solid #ccc; + padding: 3px 1em 3px; +} + +table { + margin: auto; + border-top: 1px solid #666; + border-bottom: 1px solid #666; +} +table thead th { border-bottom: 1px solid #ddd; } +th, td { padding: 5px; } +thead, tfoot, tr:nth-child(even) { background: #eee; } diff --git a/static/css/syntax-dark.css b/static/css/syntax-dark.css deleted file mode 100644 index 411fbcd..0000000 --- a/static/css/syntax-dark.css +++ /dev/null @@ -1,85 +0,0 @@ -/* Background */ .colorscheme-dark .bg { color: #f8f8f2; background-color: #282a36; } -/* PreWrapper */ .colorscheme-dark .chroma { color: #f8f8f2; background-color: #282a36; } -/* Other */ .colorscheme-dark .chroma .x { } -/* Error */ .colorscheme-dark .chroma .err { } -/* CodeLine */ .colorscheme-dark .chroma .cl { } -/* LineTableTD */ .colorscheme-dark .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } -/* LineTable */ .colorscheme-dark .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } -/* LineHighlight */ .colorscheme-dark .chroma .hl { background-color: #ffffcc } -/* LineNumbersTable */ .colorscheme-dark .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* LineNumbers */ .colorscheme-dark .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* Line */ .colorscheme-dark .chroma .line { display: flex; } -/* Keyword */ .colorscheme-dark .chroma .k { color: #ff79c6 } -/* KeywordConstant */ .colorscheme-dark .chroma .kc { color: #ff79c6 } -/* KeywordDeclaration */ .colorscheme-dark .chroma .kd { color: #8be9fd; font-style: italic } -/* KeywordNamespace */ .colorscheme-dark .chroma .kn { color: #ff79c6 } -/* KeywordPseudo */ .colorscheme-dark .chroma .kp { color: #ff79c6 } -/* KeywordReserved */ .colorscheme-dark .chroma .kr { color: #ff79c6 } -/* KeywordType */ .colorscheme-dark .chroma .kt { color: #8be9fd } -/* Name */ .colorscheme-dark .chroma .n { } -/* NameAttribute */ .colorscheme-dark .chroma .na { color: #50fa7b } -/* NameBuiltin */ .colorscheme-dark .chroma .nb { color: #8be9fd; font-style: italic } -/* NameBuiltinPseudo */ .colorscheme-dark .chroma .bp { } -/* NameClass */ .colorscheme-dark .chroma .nc { color: #50fa7b } -/* NameConstant */ .colorscheme-dark .chroma .no { } -/* NameDecorator */ .colorscheme-dark .chroma .nd { } -/* NameEntity */ .colorscheme-dark .chroma .ni { } -/* NameException */ .colorscheme-dark .chroma .ne { } -/* NameFunction */ .colorscheme-dark .chroma .nf { color: #50fa7b } -/* NameFunctionMagic */ .colorscheme-dark .chroma .fm { } -/* NameLabel */ .colorscheme-dark .chroma .nl { color: #8be9fd; font-style: italic } -/* NameNamespace */ .colorscheme-dark .chroma .nn { } -/* NameOther */ .colorscheme-dark .chroma .nx { } -/* NameProperty */ .colorscheme-dark .chroma .py { } -/* NameTag */ .colorscheme-dark .chroma .nt { color: #ff79c6 } -/* NameVariable */ .colorscheme-dark .chroma .nv { color: #8be9fd; font-style: italic } -/* NameVariableClass */ .colorscheme-dark .chroma .vc { color: #8be9fd; font-style: italic } -/* NameVariableGlobal */ .colorscheme-dark .chroma .vg { color: #8be9fd; font-style: italic } -/* NameVariableInstance */ .colorscheme-dark .chroma .vi { color: #8be9fd; font-style: italic } -/* NameVariableMagic */ .colorscheme-dark .chroma .vm { } -/* Literal */ .colorscheme-dark .chroma .l { } -/* LiteralDate */ .colorscheme-dark .chroma .ld { } -/* LiteralString */ .colorscheme-dark .chroma .s { color: #f1fa8c } -/* LiteralStringAffix */ .colorscheme-dark .chroma .sa { color: #f1fa8c } -/* LiteralStringBacktick */ .colorscheme-dark .chroma .sb { color: #f1fa8c } -/* LiteralStringChar */ .colorscheme-dark .chroma .sc { color: #f1fa8c } -/* LiteralStringDelimiter */ .colorscheme-dark .chroma .dl { color: #f1fa8c } -/* LiteralStringDoc */ .colorscheme-dark .chroma .sd { color: #f1fa8c } -/* LiteralStringDouble */ .colorscheme-dark .chroma .s2 { color: #f1fa8c } -/* LiteralStringEscape */ .colorscheme-dark .chroma .se { color: #f1fa8c } -/* LiteralStringHeredoc */ .colorscheme-dark .chroma .sh { color: #f1fa8c } -/* LiteralStringInterpol */ .colorscheme-dark .chroma .si { color: #f1fa8c } -/* LiteralStringOther */ .colorscheme-dark .chroma .sx { color: #f1fa8c } -/* LiteralStringRegex */ .colorscheme-dark .chroma .sr { color: #f1fa8c } -/* LiteralStringSingle */ .colorscheme-dark .chroma .s1 { color: #f1fa8c } -/* LiteralStringSymbol */ .colorscheme-dark .chroma .ss { color: #f1fa8c } -/* LiteralNumber */ .colorscheme-dark .chroma .m { color: #bd93f9 } -/* LiteralNumberBin */ .colorscheme-dark .chroma .mb { color: #bd93f9 } -/* LiteralNumberFloat */ .colorscheme-dark .chroma .mf { color: #bd93f9 } -/* LiteralNumberHex */ .colorscheme-dark .chroma .mh { color: #bd93f9 } -/* LiteralNumberInteger */ .colorscheme-dark .chroma .mi { color: #bd93f9 } -/* LiteralNumberIntegerLong */ .colorscheme-dark .chroma .il { color: #bd93f9 } -/* LiteralNumberOct */ .colorscheme-dark .chroma .mo { color: #bd93f9 } -/* Operator */ .colorscheme-dark .chroma .o { color: #ff79c6 } -/* OperatorWord */ .colorscheme-dark .chroma .ow { color: #ff79c6 } -/* Punctuation */ .colorscheme-dark .chroma .p { } -/* Comment */ .colorscheme-dark .chroma .c { color: #6272a4 } -/* CommentHashbang */ .colorscheme-dark .chroma .ch { color: #6272a4 } -/* CommentMultiline */ .colorscheme-dark .chroma .cm { color: #6272a4 } -/* CommentSingle */ .colorscheme-dark .chroma .c1 { color: #6272a4 } -/* CommentSpecial */ .colorscheme-dark .chroma .cs { color: #6272a4 } -/* CommentPreproc */ .colorscheme-dark .chroma .cp { color: #ff79c6 } -/* CommentPreprocFile */ .colorscheme-dark .chroma .cpf { color: #ff79c6 } -/* Generic */ .colorscheme-dark .chroma .g { } -/* GenericDeleted */ .colorscheme-dark .chroma .gd { color: #ff5555 } -/* GenericEmph */ .colorscheme-dark .chroma .ge { text-decoration: underline } -/* GenericError */ .colorscheme-dark .chroma .gr { } -/* GenericHeading */ .colorscheme-dark .chroma .gh { font-weight: bold } -/* GenericInserted */ .colorscheme-dark .chroma .gi { color: #50fa7b; font-weight: bold } -/* GenericOutput */ .colorscheme-dark .chroma .go { color: #44475a } -/* GenericPrompt */ .colorscheme-dark .chroma .gp { } -/* GenericStrong */ .colorscheme-dark .chroma .gs { } -/* GenericSubheading */ .colorscheme-dark .chroma .gu { font-weight: bold } -/* GenericTraceback */ .colorscheme-dark .chroma .gt { } -/* GenericUnderline */ .colorscheme-dark .chroma .gl { text-decoration: underline } -/* TextWhitespace */ .colorscheme-dark .chroma .w { } diff --git a/static/css/syntax-light.css b/static/css/syntax-light.css deleted file mode 100644 index 99ed7a0..0000000 --- a/static/css/syntax-light.css +++ /dev/null @@ -1,85 +0,0 @@ -/* Background */ .bg { background-color: #f8f8f8; } -/* PreWrapper */ .chroma { background-color: #f8f8f8; } -/* Other */ .chroma .x { } -/* Error */ .chroma .err { } -/* CodeLine */ .chroma .cl { } -/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } -/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } -/* LineHighlight */ .chroma .hl { background-color: #ffffcc } -/* LineNumbersTable */ .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* LineNumbers */ .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* Line */ .chroma .line { display: flex; } -/* Keyword */ .chroma .k { color: #aa22ff; font-weight: bold } -/* KeywordConstant */ .chroma .kc { color: #aa22ff; font-weight: bold } -/* KeywordDeclaration */ .chroma .kd { color: #aa22ff; font-weight: bold } -/* KeywordNamespace */ .chroma .kn { color: #aa22ff; font-weight: bold } -/* KeywordPseudo */ .chroma .kp { color: #aa22ff } -/* KeywordReserved */ .chroma .kr { color: #aa22ff; font-weight: bold } -/* KeywordType */ .chroma .kt { color: #00bb00; font-weight: bold } -/* Name */ .chroma .n { } -/* NameAttribute */ .chroma .na { color: #bb4444 } -/* NameBuiltin */ .chroma .nb { color: #aa22ff } -/* NameBuiltinPseudo */ .chroma .bp { } -/* NameClass */ .chroma .nc { color: #0000ff } -/* NameConstant */ .chroma .no { color: #880000 } -/* NameDecorator */ .chroma .nd { color: #aa22ff } -/* NameEntity */ .chroma .ni { color: #999999; font-weight: bold } -/* NameException */ .chroma .ne { color: #d2413a; font-weight: bold } -/* NameFunction */ .chroma .nf { color: #00a000 } -/* NameFunctionMagic */ .chroma .fm { } -/* NameLabel */ .chroma .nl { color: #a0a000 } -/* NameNamespace */ .chroma .nn { color: #0000ff; font-weight: bold } -/* NameOther */ .chroma .nx { } -/* NameProperty */ .chroma .py { } -/* NameTag */ .chroma .nt { color: #008000; font-weight: bold } -/* NameVariable */ .chroma .nv { color: #b8860b } -/* NameVariableClass */ .chroma .vc { } -/* NameVariableGlobal */ .chroma .vg { } -/* NameVariableInstance */ .chroma .vi { } -/* NameVariableMagic */ .chroma .vm { } -/* Literal */ .chroma .l { } -/* LiteralDate */ .chroma .ld { } -/* LiteralString */ .chroma .s { color: #bb4444 } -/* LiteralStringAffix */ .chroma .sa { color: #bb4444 } -/* LiteralStringBacktick */ .chroma .sb { color: #bb4444 } -/* LiteralStringChar */ .chroma .sc { color: #bb4444 } -/* LiteralStringDelimiter */ .chroma .dl { color: #bb4444 } -/* LiteralStringDoc */ .chroma .sd { color: #bb4444; font-style: italic } -/* LiteralStringDouble */ .chroma .s2 { color: #bb4444 } -/* LiteralStringEscape */ .chroma .se { color: #bb6622; font-weight: bold } -/* LiteralStringHeredoc */ .chroma .sh { color: #bb4444 } -/* LiteralStringInterpol */ .chroma .si { color: #bb6688; font-weight: bold } -/* LiteralStringOther */ .chroma .sx { color: #008000 } -/* LiteralStringRegex */ .chroma .sr { color: #bb6688 } -/* LiteralStringSingle */ .chroma .s1 { color: #bb4444 } -/* LiteralStringSymbol */ .chroma .ss { color: #b8860b } -/* LiteralNumber */ .chroma .m { color: #666666 } -/* LiteralNumberBin */ .chroma .mb { color: #666666 } -/* LiteralNumberFloat */ .chroma .mf { color: #666666 } -/* LiteralNumberHex */ .chroma .mh { color: #666666 } -/* LiteralNumberInteger */ .chroma .mi { color: #666666 } -/* LiteralNumberIntegerLong */ .chroma .il { color: #666666 } -/* LiteralNumberOct */ .chroma .mo { color: #666666 } -/* Operator */ .chroma .o { color: #666666 } -/* OperatorWord */ .chroma .ow { color: #aa22ff; font-weight: bold } -/* Punctuation */ .chroma .p { } -/* Comment */ .chroma .c { color: #008800; font-style: italic } -/* CommentHashbang */ .chroma .ch { color: #008800; font-style: italic } -/* CommentMultiline */ .chroma .cm { color: #008800; font-style: italic } -/* CommentSingle */ .chroma .c1 { color: #008800; font-style: italic } -/* CommentSpecial */ .chroma .cs { color: #008800; font-weight: bold } -/* CommentPreproc */ .chroma .cp { color: #008800 } -/* CommentPreprocFile */ .chroma .cpf { color: #008800 } -/* Generic */ .chroma .g { } -/* GenericDeleted */ .chroma .gd { color: #a00000 } -/* GenericEmph */ .chroma .ge { font-style: italic } -/* GenericError */ .chroma .gr { color: #ff0000 } -/* GenericHeading */ .chroma .gh { color: #000080; font-weight: bold } -/* GenericInserted */ .chroma .gi { color: #00a000 } -/* GenericOutput */ .chroma .go { color: #888888 } -/* GenericPrompt */ .chroma .gp { color: #000080; font-weight: bold } -/* GenericStrong */ .chroma .gs { font-weight: bold } -/* GenericSubheading */ .chroma .gu { color: #800080; font-weight: bold } -/* GenericTraceback */ .chroma .gt { color: #0044dd } -/* GenericUnderline */ .chroma .gl { text-decoration: underline } -/* TextWhitespace */ .chroma .w { color: #bbbbbb } diff --git a/static/css/syntax.css b/static/css/syntax.css deleted file mode 100644 index 580b864..0000000 --- a/static/css/syntax.css +++ /dev/null @@ -1,174 +0,0 @@ - -/* Background */ .bg { background-color: #f0f0f0; } -/* PreWrapper */ .chroma { background-color: #f0f0f0; } -/* Other */ .chroma .x { } -/* Error */ .chroma .err { } -/* CodeLine */ .chroma .cl { } -/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } -/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } -/* LineHighlight */ .chroma .hl { background-color: #ffffcc } -/* LineNumbersTable */ .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* LineNumbers */ .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* Line */ .chroma .line { display: flex; } -/* Keyword */ .chroma .k { color: #007020; font-weight: bold } -/* KeywordConstant */ .chroma .kc { color: #007020; font-weight: bold } -/* KeywordDeclaration */ .chroma .kd { color: #007020; font-weight: bold } -/* KeywordNamespace */ .chroma .kn { color: #007020; font-weight: bold } -/* KeywordPseudo */ .chroma .kp { color: #007020 } -/* KeywordReserved */ .chroma .kr { color: #007020; font-weight: bold } -/* KeywordType */ .chroma .kt { color: #902000 } -/* Name */ .chroma .n { } -/* NameAttribute */ .chroma .na { color: #4070a0 } -/* NameBuiltin */ .chroma .nb { color: #007020 } -/* NameBuiltinPseudo */ .chroma .bp { } -/* NameClass */ .chroma .nc { color: #0e84b5; font-weight: bold } -/* NameConstant */ .chroma .no { color: #60add5 } -/* NameDecorator */ .chroma .nd { color: #555555; font-weight: bold } -/* NameEntity */ .chroma .ni { color: #d55537; font-weight: bold } -/* NameException */ .chroma .ne { color: #007020 } -/* NameFunction */ .chroma .nf { color: #06287e } -/* NameFunctionMagic */ .chroma .fm { } -/* NameLabel */ .chroma .nl { color: #002070; font-weight: bold } -/* NameNamespace */ .chroma .nn { color: #0e84b5; font-weight: bold } -/* NameOther */ .chroma .nx { } -/* NameProperty */ .chroma .py { } -/* NameTag */ .chroma .nt { color: #062873; font-weight: bold } -/* NameVariable */ .chroma .nv { color: #bb60d5 } -/* NameVariableClass */ .chroma .vc { } -/* NameVariableGlobal */ .chroma .vg { } -/* NameVariableInstance */ .chroma .vi { } -/* NameVariableMagic */ .chroma .vm { } -/* Literal */ .chroma .l { } -/* LiteralDate */ .chroma .ld { } -/* LiteralString */ .chroma .s { color: #4070a0 } -/* LiteralStringAffix */ .chroma .sa { color: #4070a0 } -/* LiteralStringBacktick */ .chroma .sb { color: #4070a0 } -/* LiteralStringChar */ .chroma .sc { color: #4070a0 } -/* LiteralStringDelimiter */ .chroma .dl { color: #4070a0 } -/* LiteralStringDoc */ .chroma .sd { color: #4070a0; font-style: italic } -/* LiteralStringDouble */ .colorscheme-light .chroma .s2 { color: #4070a0 } -/* LiteralStringEscape */ .chroma .se { color: #4070a0; font-weight: bold } -/* LiteralStringHeredoc */ .chroma .sh { color: #4070a0 } -/* LiteralStringInterpol */ .chroma .si { color: #70a0d0 } -/* LiteralStringOther */ .chroma .sx { color: #c65d09 } -/* LiteralStringRegex */ .chroma .sr { color: #235388 } -/* LiteralStringSingle */ .chroma .s1 { color: #4070a0 } -/* LiteralStringSymbol */ .chroma .ss { color: #517918 } -/* LiteralNumber */ .chroma .m { color: #40a070 } -/* LiteralNumberBin */ .chroma .mb { color: #40a070 } -/* LiteralNumberFloat */ .chroma .mf { color: #40a070 } -/* LiteralNumberHex */ .chroma .mh { color: #40a070 } -/* LiteralNumberInteger */ .chroma .mi { color: #40a070 } -/* LiteralNumberIntegerLong */ .chroma .il { color: #40a070 } -/* LiteralNumberOct */ .chroma .mo { color: #40a070 } -/* Operator */ .chroma .o { color: #666666 } -/* OperatorWord */ .chroma .ow { color: #007020; font-weight: bold } -/* Punctuation */ .chroma .p { } -/* Comment */ .chroma .c { color: #60a0b0; font-style: italic } -/* CommentHashbang */ .chroma .ch { color: #60a0b0; font-style: italic } -/* CommentMultiline */ .chroma .cm { color: #60a0b0; font-style: italic } -/* CommentSingle */ .chroma .c1 { color: #60a0b0; font-style: italic } -/* CommentSpecial */ .chroma .cs { color: #60a0b0; background-color: #fff0f0 } -/* CommentPreproc */ .chroma .cp { color: #007020 } -/* CommentPreprocFile */ .chroma .cpf { color: #007020 } -/* Generic */ .chroma .g { } -/* GenericDeleted */ .chroma .gd { color: #a00000 } -/* GenericEmph */ .chroma .ge { font-style: italic } -/* GenericError */ .chroma .gr { color: #ff0000 } -/* GenericHeading */ .chroma .gh { color: #000080; font-weight: bold } -/* GenericInserted */ .chroma .gi { color: #00a000 } -/* GenericOutput */ .chroma .go { color: #888888 } -/* GenericPrompt */ .chroma .gp { color: #c65d09; font-weight: bold } -/* GenericStrong */ .chroma .gs { font-weight: bold } -/* GenericSubheading */ .chroma .gu { color: #800080; font-weight: bold } -/* GenericTraceback */ .chroma .gt { color: #0044dd } -/* GenericUnderline */ .chroma .gl { text-decoration: underline } -/* TextWhitespace */ .chroma .w { color: #bbbbbb } - - -/* Background */ .colorscheme-dark.bg { color: #f8f8f2; background-color: #272822; } -/* PreWrapper */ .colorscheme-dark .chroma { color: #f8f8f2; background-color: #272822; } -/* Other */ .colorscheme-dark .chroma .x { } -/* Error */ .colorscheme-dark .chroma .err { color: #960050; background-color: #1e0010 } -/* CodeLine */ .colorscheme-dark .chroma .cl { } -/* LineTableTD */ .colorscheme-dark .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } -/* LineTable */ .colorscheme-dark .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } -/* LineHighlight */ .colorscheme-dark .chroma .hl { background-color: #ffffcc } -/* LineNumbersTable */ .colorscheme-dark .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #f8f8f2 } -/* LineNumbers */ .colorscheme-dark .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #f8f8f2 } -/* Line */ .colorscheme-dark .chroma .line { display: flex; } -/* Keyword */ .colorscheme-dark .chroma .k { color: #66d9ef } -/* KeywordConstant */ .colorscheme-dark .chroma .kc { color: #66d9ef } -/* KeywordDeclaration */ .colorscheme-dark .chroma .kd { color: #66d9ef } -/* KeywordNamespace */ .colorscheme-dark .chroma .kn { color: #f92672 } -/* KeywordPseudo */ .colorscheme-dark .chroma .kp { color: #66d9ef } -/* KeywordReserved */ .colorscheme-dark .chroma .kr { color: #66d9ef } -/* KeywordType */ .colorscheme-dark .chroma .kt { color: #66d9ef } -/* Name */ .colorscheme-dark .chroma .n { } -/* NameAttribute */ .colorscheme-dark .chroma .na { color: #a6e22e } -/* NameBuiltin */ .colorscheme-dark .chroma .nb { } -/* NameBuiltinPseudo */ .colorscheme-dark .chroma .bp { } -/* NameClass */ .colorscheme-dark .chroma .nc { color: #a6e22e } -/* NameConstant */ .colorscheme-dark .chroma .no { color: #66d9ef } -/* NameDecorator */ .colorscheme-dark .chroma .nd { color: #a6e22e } -/* NameEntity */ .colorscheme-dark .chroma .ni { } -/* NameException */ .colorscheme-dark .chroma .ne { color: #a6e22e } -/* NameFunction */ .colorscheme-dark .chroma .nf { color: #a6e22e } -/* NameFunctionMagic */ .colorscheme-dark .chroma .fm { } -/* NameLabel */ .colorscheme-dark .chroma .nl { } -/* NameNamespace */ .colorscheme-dark .chroma .nn { } -/* NameOther */ .colorscheme-dark .chroma .nx { color: #a6e22e } -/* NameProperty */ .colorscheme-dark .chroma .py { } -/* NameTag */ .colorscheme-dark .chroma .nt { color: #f92672 } -/* NameVariable */ .colorscheme-dark .chroma .nv { } -/* NameVariableClass */ .colorscheme-dark .chroma .vc { } -/* NameVariableGlobal */ .colorscheme-dark .chroma .vg { } -/* NameVariableInstance */ .colorscheme-dark .chroma .vi { } -/* NameVariableMagic */ .colorscheme-dark .chroma .vm { } -/* Literal */ .colorscheme-dark .chroma .l { color: #ae81ff } -/* LiteralDate */ .colorscheme-dark .chroma .ld { color: #e6db74 } -/* LiteralString */ .colorscheme-dark .chroma .s { color: #e6db74 } -/* LiteralStringAffix */ .colorscheme-dark .chroma .sa { color: #e6db74 } -/* LiteralStringBacktick */ .colorscheme-dark .chroma .sb { color: #e6db74 } -/* LiteralStringChar */ .colorscheme-dark .chroma .sc { color: #e6db74 } -/* LiteralStringDelimiter */ .colorscheme-dark .chroma .dl { color: #e6db74 } -/* LiteralStringDoc */ .colorscheme-dark .chroma .sd { color: #e6db74 } -/* LiteralStringDouble */ .colorscheme-dark .chroma .s2 { color: #e6db74 } -/* LiteralStringEscape */ .colorscheme-dark .chroma .se { color: #ae81ff } -/* LiteralStringHeredoc */ .colorscheme-dark .chroma .sh { color: #e6db74 } -/* LiteralStringInterpol */ .colorscheme-dark .chroma .si { color: #e6db74 } -/* LiteralStringOther */ .colorscheme-dark .chroma .sx { color: #e6db74 } -/* LiteralStringRegex */ .colorscheme-dark .chroma .sr { color: #e6db74 } -/* LiteralStringSingle */ .colorscheme-dark .chroma .s1 { color: #e6db74 } -/* LiteralStringSymbol */ .colorscheme-dark .chroma .ss { color: #e6db74 } -/* LiteralNumber */ .colorscheme-dark .chroma .m { color: #ae81ff } -/* LiteralNumberBin */ .colorscheme-dark .chroma .mb { color: #ae81ff } -/* LiteralNumberFloat */ .colorscheme-dark .chroma .mf { color: #ae81ff } -/* LiteralNumberHex */ .colorscheme-dark .chroma .mh { color: #ae81ff } -/* LiteralNumberInteger */ .colorscheme-dark .chroma .mi { color: #ae81ff } -/* LiteralNumberIntegerLong */ .colorscheme-dark .chroma .il { color: #ae81ff } -/* LiteralNumberOct */ .colorscheme-dark .chroma .mo { color: #ae81ff } -/* Operator */ .colorscheme-dark .chroma .o { color: #f92672 } -/* OperatorWord */ .colorscheme-dark .chroma .ow { color: #f92672 } -/* Punctuation */ .colorscheme-dark .chroma .p { color: #f8f8f2 } -/* Comment */ .colorscheme-dark .chroma .c { color: #f8f8f2 } -/* CommentHashbang */ .colorscheme-dark .chroma .ch { color: #f8f8f2 } -/* CommentMultiline */ .colorscheme-dark .chroma .cm { color: #f8f8f2 } -/* CommentSingle */ .colorscheme-dark .chroma .c1 { color: #f8f8f2 } -/* CommentSpecial */ .colorscheme-dark .chroma .cs { color: #f8f8f2 } -/* CommentPreproc */ .colorscheme-dark .chroma .cp { color: #f8f8f2 } -/* CommentPreprocFile */ .colorscheme-dark .chroma .cpf { color: #f8f8f2 } -/* Generic */ .colorscheme-dark .chroma .g { } -/* GenericDeleted */ .colorscheme-dark .chroma .gd { color: #f92672 } -/* GenericEmph */ .colorscheme-dark .chroma .ge { font-style: italic } -/* GenericError */ .colorscheme-dark .chroma .gr { } -/* GenericHeading */ .colorscheme-dark .chroma .gh { } -/* GenericInserted */ .colorscheme-dark .chroma .gi { color: #a6e22e } -/* GenericOutput */ .colorscheme-dark .chroma .go { } -/* GenericPrompt */ .colorscheme-dark .chroma .gp { } -/* GenericStrong */ .colorscheme-dark .chroma .gs { font-weight: bold } -/* GenericSubheading */ .colorscheme-dark .chroma .gu { color: #f8f8f2 } -/* GenericTraceback */ .colorscheme-dark .chroma .gt { } -/* GenericUnderline */ .colorscheme-dark .chroma .gl { } -/* TextWhitespace */ .colorscheme-dark .chroma .w { } - diff --git a/themes/hugo-coder b/themes/hugo-coder deleted file mode 160000 index cb5fb60..0000000 --- a/themes/hugo-coder +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cb5fb606277a329483fb923a32ab6fddec34220a