Fix
This commit is contained in:
parent
a30184e0aa
commit
f9d7d66bbe
18
config.yml
18
config.yml
|
@ -1,6 +1,6 @@
|
||||||
baseURL: "http://blog.morgan.kr"
|
baseURL: "http://blog.morgan.kr"
|
||||||
title: "Someone's Blog"
|
title: "Someone's Blog"
|
||||||
theme: "mytheme"
|
theme: "plain"
|
||||||
|
|
||||||
buildDrafts: false
|
buildDrafts: false
|
||||||
buildFuture: false
|
buildFuture: false
|
||||||
|
@ -93,3 +93,19 @@ markup:
|
||||||
|
|
||||||
permalinks:
|
permalinks:
|
||||||
posts: /:year/:month/:title/
|
posts: /:year/:month/:title/
|
||||||
|
|
||||||
|
markup:
|
||||||
|
highlight:
|
||||||
|
anchorLineNos: false
|
||||||
|
codeFences: true
|
||||||
|
guessSyntax: false
|
||||||
|
hl_Lines: ""
|
||||||
|
hl_inline: false
|
||||||
|
lineAnchors: ""
|
||||||
|
lineNoStart: 1
|
||||||
|
lineNos: false
|
||||||
|
lineNumbersInTable: true
|
||||||
|
noClasses: true
|
||||||
|
noHl: false
|
||||||
|
style: monokai
|
||||||
|
tabWidth: 4
|
||||||
|
|
|
@ -51,7 +51,7 @@ This is of course very very inefficient and very limited way, but it worked well
|
||||||
|
|
||||||
More simply we can just bypass `b std::terminate` to `ret`. It doesnt return anything, so just returning should be fine.
|
More simply we can just bypass `b std::terminate` to `ret`. It doesnt return anything, so just returning should be fine.
|
||||||
|
|
||||||
```asm
|
```armasm
|
||||||
0000830c 43801fb8 stur w3, [x2, #-0x8]
|
0000830c 43801fb8 stur w3, [x2, #-0x8]
|
||||||
00008310 f8ffff17 b 0x82f0
|
00008310 f8ffff17 b 0x82f0
|
||||||
00008314 04030094 bl std::terminate --> ret
|
00008314 04030094 bl std::terminate --> ret
|
||||||
|
@ -95,7 +95,7 @@ So important things were all in this JNI. App sends request as `{header: encrype
|
||||||
|
|
||||||
First, it calculates some kind of index from current time. I didnt know what was going on here exactly, but I learned that multipling `0x2aaaaaab` thing is to divide number by 3. Well, the calculation wasnt 'understandable' for me, so I just moved this into C code and observed the output. Surprisingly, it outputted only fixed value.
|
First, it calculates some kind of index from current time. I didnt know what was going on here exactly, but I learned that multipling `0x2aaaaaab` thing is to divide number by 3. Well, the calculation wasnt 'understandable' for me, so I just moved this into C code and observed the output. Surprisingly, it outputted only fixed value.
|
||||||
|
|
||||||
```asm
|
```armasm
|
||||||
00007180 1f040071 cmp w0, #0x1
|
00007180 1f040071 cmp w0, #0x1
|
||||||
00007184 60100054 b.eq 0x7390
|
00007184 60100054 b.eq 0x7390
|
||||||
00007188 1f080071 cmp w0, #0x2
|
00007188 1f080071 cmp w0, #0x2
|
||||||
|
|
|
@ -0,0 +1,86 @@
|
||||||
|
/* Background */ .bg { background-color: #f0f0f0; }
|
||||||
|
/* PreWrapper */ .chroma { background-color: #f0f0f0; }
|
||||||
|
/* Other */ .chroma .x { }
|
||||||
|
/* Error */ .chroma .err { }
|
||||||
|
/* CodeLine */ .chroma .cl { }
|
||||||
|
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
|
||||||
|
/* 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: #d8d8d8 }
|
||||||
|
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; 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 */ .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 }
|
|
@ -0,0 +1,14 @@
|
||||||
|
# see https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
# Maintain dependencies for GitHub Actions
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
|
||||||
|
# Maintain dependencies for npm
|
||||||
|
- package-ecosystem: "npm"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Number of days of inactivity before an issue becomes stale
|
||||||
|
daysUntilStale: 60
|
||||||
|
# Number of days of inactivity before a stale issue is closed
|
||||||
|
daysUntilClose: 7
|
||||||
|
# Issues with these labels will never be considered stale
|
||||||
|
exemptLabels:
|
||||||
|
- pinned
|
||||||
|
- security
|
||||||
|
# Label to use when marking an issue as stale
|
||||||
|
staleLabel: wontfix
|
||||||
|
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||||
|
markComment: >
|
||||||
|
This issue has been automatically marked as stale because it has not had
|
||||||
|
recent activity. It will be closed if no further activity occurs. Thank you
|
||||||
|
for your contributions.
|
||||||
|
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||||
|
closeComment: false
|
|
@ -0,0 +1,41 @@
|
||||||
|
# see https://gist.github.com/xt0rted/46475099dc0a70ba63e16e3177407872
|
||||||
|
|
||||||
|
name: Dependabot auto-merge
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
auto-merge:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
if: github.actor == 'dependabot[bot]'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Create token
|
||||||
|
id: create_token
|
||||||
|
uses: tibdex/github-app-token@v2
|
||||||
|
with:
|
||||||
|
app_id: ${{ secrets.BIG_MERGER_APP_ID }}
|
||||||
|
private_key: ${{ secrets.BIG_MERGER_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
- name: Dependabot metadata
|
||||||
|
id: dependabot-metadata
|
||||||
|
uses: dependabot/fetch-metadata@v2
|
||||||
|
with:
|
||||||
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
||||||
|
- name: Authenticate cli
|
||||||
|
run: echo "${{ steps.create_token.outputs.token }}" | gh auth login --with-token
|
||||||
|
|
||||||
|
- name: Enable auto-merge for Dependabot PRs
|
||||||
|
if: contains(fromJSON('["version-update:semver-patch", "version-update:semver-minor"]'), steps.dependabot-metadata.outputs.update-type)
|
||||||
|
run: gh pr merge --auto --squash "$PR_URL"
|
||||||
|
env:
|
||||||
|
PR_URL: ${{github.event.pull_request.html_url}}
|
|
@ -0,0 +1,48 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Hugo
|
||||||
|
uses: peaceiris/actions-hugo@v2.6.0
|
||||||
|
with:
|
||||||
|
hugo-version: latest
|
||||||
|
|
||||||
|
- name: Build local ./exampleSite
|
||||||
|
run: hugo --minify --gc --destination ../public --source ./exampleSite --themesDir ../.. --baseURL https://janraasch.github.io/hugo-bearblog/
|
||||||
|
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: build
|
||||||
|
path: ./public
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
needs: build
|
||||||
|
name: Deploy to GitHub Pages
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: build
|
||||||
|
path: ./public
|
||||||
|
- uses: peaceiris/actions-gh-pages@v3.9.2
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: ./public
|
|
@ -0,0 +1 @@
|
||||||
|
node_modules
|
|
@ -0,0 +1,13 @@
|
||||||
|
+++
|
||||||
|
title = "{{ replace .Name "-" " " | title }}"
|
||||||
|
date = "{{ .Date }}"
|
||||||
|
|
||||||
|
#
|
||||||
|
# description is optional
|
||||||
|
#
|
||||||
|
# description = "An optional description for SEO. If not provided, an automatically created summary will be used."
|
||||||
|
|
||||||
|
tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}]
|
||||||
|
+++
|
||||||
|
|
||||||
|
This is a page about »{{ replace .Name "-" " " | title }}«.
|
|
@ -0,0 +1,22 @@
|
||||||
|
+++
|
||||||
|
title = "{{ replace .Name "-" " " | title }}"
|
||||||
|
date = "{{ .Date }}"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Set menu to "main" to add this page to
|
||||||
|
# the main menu on top of the page
|
||||||
|
#
|
||||||
|
menu = "main"
|
||||||
|
|
||||||
|
#
|
||||||
|
# description is optional
|
||||||
|
#
|
||||||
|
# description = "An optional description for SEO. If not provided, an automatically created summary will be used."
|
||||||
|
|
||||||
|
#
|
||||||
|
# tags are optional
|
||||||
|
#
|
||||||
|
# tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}]
|
||||||
|
+++
|
||||||
|
|
||||||
|
This is a page about »{{ replace .Name "-" " " | title }}«.
|
|
@ -0,0 +1,39 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<link rel="shortcut icon" href="/favicon.ico" />
|
||||||
|
<title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title>
|
||||||
|
|
||||||
|
<!-- Primary Meta Tags -->
|
||||||
|
<meta name="title" content="{{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }}" />
|
||||||
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
|
||||||
|
<meta name="keywords" content="{{ if .IsPage}}{{ range $index, $tag := .Params.tags }}{{ $tag }},{{ end }}{{ else }}{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}{{ end }}" />
|
||||||
|
|
||||||
|
{{- partial "style.html" . -}}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
{{ if .IsHome }}
|
||||||
|
<a href="{{ "" | relURL }}" class="title">
|
||||||
|
<h2>{{ .Site.Title }}</h2>
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
<!-- <nav>
|
||||||
|
<a href="{{ "" | relURL }}">Home</a>
|
||||||
|
{{ range .Site.Menus.main }}
|
||||||
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||||
|
{{ end }}
|
||||||
|
{{ with .Site.GetPage "/blog" }}
|
||||||
|
<a href="{{ "blog" | relURL }}">Blog</a>
|
||||||
|
{{ end }}
|
||||||
|
</nav> -->
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
{{- block "main" . }}{{- end }}
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,23 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
<content>
|
||||||
|
{{- $pages := union .RegularPages .Sections }}
|
||||||
|
|
||||||
|
{{- if .IsHome }}
|
||||||
|
{{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||||
|
{{- $pages = where $pages "Params.hiddenInHomeList" "!=" "true" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
<ul class="blog-posts">
|
||||||
|
{{ range $pages }}
|
||||||
|
<li>
|
||||||
|
<span>
|
||||||
|
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
||||||
|
{{ .Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }}
|
||||||
|
</time>
|
||||||
|
</span>
|
||||||
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</content>
|
||||||
|
{{ end }}
|
|
@ -0,0 +1,18 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
<p>
|
||||||
|
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
||||||
|
{{ .Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }}
|
||||||
|
</time>
|
||||||
|
</p>
|
||||||
|
<content>
|
||||||
|
{{ .Content }}
|
||||||
|
</content>
|
||||||
|
<p>
|
||||||
|
{{ range (.GetTerms "tags") }}
|
||||||
|
<a href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
|
||||||
|
{{ end }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{{ end }}
|
|
@ -0,0 +1,199 @@
|
||||||
|
<link rel="stylesheet" href="/css/syntax.css">
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 18px;
|
||||||
|
margin: auto;
|
||||||
|
padding: 20px;
|
||||||
|
max-width: 720px;
|
||||||
|
text-align: left;
|
||||||
|
background-color: #fff;
|
||||||
|
word-wrap: break-word;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
line-height: 1.5;
|
||||||
|
/* color: #444;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6,
|
||||||
|
strong,
|
||||||
|
b {
|
||||||
|
color: #222;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 26px ;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
font-size: 24px ;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
font-size: 22px ;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
h4 {
|
||||||
|
font-size: 20px ;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
h5 {
|
||||||
|
font-size: 18px ;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #3273dc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
text-decoration: none;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title span {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav a {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
width: 100%;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
content {
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
padding: 2px 5px;
|
||||||
|
background-color: #EEE;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre code {
|
||||||
|
color: #222;
|
||||||
|
display: block;
|
||||||
|
padding: 20px;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
font-size: 14px;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.highlight pre {
|
||||||
|
background-color: initial;
|
||||||
|
color: initial;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.highlight code {
|
||||||
|
border-radius: 10px;
|
||||||
|
color: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
border-left: 1px solid #999;
|
||||||
|
color: #222;
|
||||||
|
padding-left: 20px;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
padding: 25px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.helptext {
|
||||||
|
color: #777;
|
||||||
|
font-size: small;
|
||||||
|
}
|
||||||
|
|
||||||
|
.errorlist {
|
||||||
|
color: #eba613;
|
||||||
|
font-size: small;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* blog posts */
|
||||||
|
ul.blog-posts {
|
||||||
|
font-size: 18px;
|
||||||
|
color: #0;
|
||||||
|
list-style-type: none;
|
||||||
|
padding: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.blog-posts li {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.blog-posts li span {
|
||||||
|
flex: 0 0 130px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.blog-posts li a:visited {
|
||||||
|
color: #8b6fcb;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
background-color: #333;
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6,
|
||||||
|
strong,
|
||||||
|
b {
|
||||||
|
color: #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #8cc2dd;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
background-color: #777;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre code {
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea,
|
||||||
|
input {
|
||||||
|
background-color: #252525;
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.helptext {
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
name = "plain"
|
Loading…
Reference in New Issue