mirror of
https://github.com/Crocmagnon/blog.git
synced 2024-12-22 05:41:55 +01:00
fix pre-commit
This commit is contained in:
parent
9995ad3a4d
commit
cf7e2d9a05
24 changed files with 73 additions and 79 deletions
1
.github/workflows/hugo.yaml
vendored
1
.github/workflows/hugo.yaml
vendored
|
@ -77,4 +77,3 @@ jobs:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v2
|
uses: actions/deploy-pages@v2
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,3 @@ git clone git@github.com:Crocmagnon/blog.git
|
||||||
cd blog
|
cd blog
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,3 @@ title: "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
draft: true
|
draft: true
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -18,4 +18,3 @@ cover:
|
||||||
# showToc: true
|
# showToc: true
|
||||||
# TocOpen: false
|
# TocOpen: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,65 +1,65 @@
|
||||||
:root {
|
:root {
|
||||||
--info-background: #d1ecf1;
|
--info-background: #d1ecf1;
|
||||||
--info-text: #0c5460;
|
--info-text: #0c5460;
|
||||||
--success-background: #d4edda;
|
--success-background: #d4edda;
|
||||||
--success-text: #155724;
|
--success-text: #155724;
|
||||||
--danger-background: #f8d7da;
|
--danger-background: #f8d7da;
|
||||||
--danger-text: #721c24;
|
--danger-text: #721c24;
|
||||||
--warning-background: #fff3cd;
|
--warning-background: #fff3cd;
|
||||||
--warning-text: #856404;
|
--warning-text: #856404;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
--info-background: #0c5460;
|
--info-background: #0c5460;
|
||||||
--info-text: #d1ecf1;
|
--info-text: #d1ecf1;
|
||||||
--success-background: #155724;
|
--success-background: #155724;
|
||||||
--success-text: #d4edda;
|
--success-text: #d4edda;
|
||||||
--danger-background: #721c24;
|
--danger-background: #721c24;
|
||||||
--danger-text: #f8d7da;
|
--danger-text: #f8d7da;
|
||||||
--warning-background: #856404;
|
--warning-background: #856404;
|
||||||
--warning-text: #fff3cd;
|
--warning-text: #fff3cd;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.admonition .title {
|
.admonition .title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admonition {
|
.admonition {
|
||||||
background-color: var(--nc-bg-2);
|
background-color: var(--nc-bg-2);
|
||||||
box-shadow: 0 0 8px -1px var(--nc-bg-3);
|
box-shadow: 0 0 8px -1px var(--nc-bg-3);
|
||||||
border: 1px solid var(--nc-bg-3);
|
border: 1px solid var(--nc-bg-3);
|
||||||
padding: 1ex;
|
padding: 1ex;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admonition > :last-child {
|
.admonition > :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admonition.info {
|
.admonition.info {
|
||||||
--nc-bg-2: var(--info-background);
|
--nc-bg-2: var(--info-background);
|
||||||
--nc-bg-3: var(--info-text);
|
--nc-bg-3: var(--info-text);
|
||||||
color: var(--info-text);
|
color: var(--info-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.admonition.success {
|
.admonition.success {
|
||||||
--nc-bg-2: var(--success-background);
|
--nc-bg-2: var(--success-background);
|
||||||
--nc-bg-3: var(--success-text);
|
--nc-bg-3: var(--success-text);
|
||||||
color: var(--success-text);
|
color: var(--success-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.admonition.warning {
|
.admonition.warning {
|
||||||
--nc-bg-2: var(--warning-background);
|
--nc-bg-2: var(--warning-background);
|
||||||
--nc-bg-3: var(--warning-text);
|
--nc-bg-3: var(--warning-text);
|
||||||
color: var(--warning-text);
|
color: var(--warning-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.admonition.danger {
|
.admonition.danger {
|
||||||
--nc-bg-2: var(--danger-background);
|
--nc-bg-2: var(--danger-background);
|
||||||
--nc-bg-3: var(--danger-text);
|
--nc-bg-3: var(--danger-text);
|
||||||
color: var(--danger-text);
|
color: var(--danger-text);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
#reply {
|
#reply {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
}
|
}
|
||||||
#reply a button {
|
#reply a button {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
}
|
}
|
||||||
a button {
|
a button {
|
||||||
background: #0069e5;
|
background: #0069e5;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
BIN
content/posts/bitwarden-and-password-managers/3.svg
(Stored with Git LFS)
BIN
content/posts/bitwarden-and-password-managers/3.svg
(Stored with Git LFS)
Binary file not shown.
BIN
content/posts/i-needed-a-budget-with-four-rules/20.svg
(Stored with Git LFS)
BIN
content/posts/i-needed-a-budget-with-four-rules/20.svg
(Stored with Git LFS)
Binary file not shown.
BIN
content/posts/pi-hole/11.svg
(Stored with Git LFS)
BIN
content/posts/pi-hole/11.svg
(Stored with Git LFS)
Binary file not shown.
BIN
content/posts/poetry-python-dependencies-management/35.svg
(Stored with Git LFS)
BIN
content/posts/poetry-python-dependencies-management/35.svg
(Stored with Git LFS)
Binary file not shown.
BIN
content/posts/replacing-my-synology-nas-with-a-self-built-server/26.svg
(Stored with Git LFS)
BIN
content/posts/replacing-my-synology-nas-with-a-self-built-server/26.svg
(Stored with Git LFS)
Binary file not shown.
|
@ -36,4 +36,3 @@ Here are some links (in alphabetical order) so you can check their work:
|
||||||
* [Smartfire](https://www.smartfire.pro/) - small tech agency
|
* [Smartfire](https://www.smartfire.pro/) - small tech agency
|
||||||
|
|
||||||
Anyway, I'm really excited to start my new job! Wish me luck 😊
|
Anyway, I'm really excited to start my new job! Wish me luck 😊
|
||||||
|
|
||||||
|
|
|
@ -6,4 +6,3 @@ layout: "search" # is necessary
|
||||||
summary: "search"
|
summary: "search"
|
||||||
placeholder: "placeholder text in search input box"
|
placeholder: "placeholder text in search input box"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue