mirror of
https://github.com/Crocmagnon/blog.git
synced 2024-12-21 21:31:59 +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
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
|
||||
|
|
|
@ -8,4 +8,3 @@ git clone git@github.com:Crocmagnon/blog.git
|
|||
cd blog
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@ title: "{{ replace .Name "-" " " | title }}"
|
|||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
||||
|
|
|
@ -18,4 +18,3 @@ cover:
|
|||
# showToc: true
|
||||
# TocOpen: false
|
||||
---
|
||||
|
||||
|
|
|
@ -1,65 +1,65 @@
|
|||
:root {
|
||||
--info-background: #d1ecf1;
|
||||
--info-text: #0c5460;
|
||||
--success-background: #d4edda;
|
||||
--success-text: #155724;
|
||||
--danger-background: #f8d7da;
|
||||
--danger-text: #721c24;
|
||||
--warning-background: #fff3cd;
|
||||
--warning-text: #856404;
|
||||
--info-background: #d1ecf1;
|
||||
--info-text: #0c5460;
|
||||
--success-background: #d4edda;
|
||||
--success-text: #155724;
|
||||
--danger-background: #f8d7da;
|
||||
--danger-text: #721c24;
|
||||
--warning-background: #fff3cd;
|
||||
--warning-text: #856404;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--info-background: #0c5460;
|
||||
--info-text: #d1ecf1;
|
||||
--success-background: #155724;
|
||||
--success-text: #d4edda;
|
||||
--danger-background: #721c24;
|
||||
--danger-text: #f8d7da;
|
||||
--warning-background: #856404;
|
||||
--warning-text: #fff3cd;
|
||||
}
|
||||
:root {
|
||||
--info-background: #0c5460;
|
||||
--info-text: #d1ecf1;
|
||||
--success-background: #155724;
|
||||
--success-text: #d4edda;
|
||||
--danger-background: #721c24;
|
||||
--danger-text: #f8d7da;
|
||||
--warning-background: #856404;
|
||||
--warning-text: #fff3cd;
|
||||
}
|
||||
}
|
||||
|
||||
.admonition .title {
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.admonition {
|
||||
background-color: var(--nc-bg-2);
|
||||
box-shadow: 0 0 8px -1px var(--nc-bg-3);
|
||||
border: 1px solid var(--nc-bg-3);
|
||||
padding: 1ex;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 1rem;
|
||||
background-color: var(--nc-bg-2);
|
||||
box-shadow: 0 0 8px -1px var(--nc-bg-3);
|
||||
border: 1px solid var(--nc-bg-3);
|
||||
padding: 1ex;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.admonition > :last-child {
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.admonition.info {
|
||||
--nc-bg-2: var(--info-background);
|
||||
--nc-bg-3: var(--info-text);
|
||||
color: var(--info-text);
|
||||
--nc-bg-2: var(--info-background);
|
||||
--nc-bg-3: var(--info-text);
|
||||
color: var(--info-text);
|
||||
}
|
||||
|
||||
.admonition.success {
|
||||
--nc-bg-2: var(--success-background);
|
||||
--nc-bg-3: var(--success-text);
|
||||
color: var(--success-text);
|
||||
--nc-bg-2: var(--success-background);
|
||||
--nc-bg-3: var(--success-text);
|
||||
color: var(--success-text);
|
||||
}
|
||||
|
||||
.admonition.warning {
|
||||
--nc-bg-2: var(--warning-background);
|
||||
--nc-bg-3: var(--warning-text);
|
||||
color: var(--warning-text);
|
||||
--nc-bg-2: var(--warning-background);
|
||||
--nc-bg-3: var(--warning-text);
|
||||
color: var(--warning-text);
|
||||
}
|
||||
|
||||
.admonition.danger {
|
||||
--nc-bg-2: var(--danger-background);
|
||||
--nc-bg-3: var(--danger-text);
|
||||
color: var(--danger-text);
|
||||
--nc-bg-2: var(--danger-background);
|
||||
--nc-bg-3: var(--danger-text);
|
||||
color: var(--danger-text);
|
||||
}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#reply {
|
||||
text-align: center;
|
||||
margin-top: 2em;
|
||||
text-align: center;
|
||||
margin-top: 2em;
|
||||
}
|
||||
#reply a button {
|
||||
font-size: 1.2rem;
|
||||
padding: 8px 16px;
|
||||
font-size: 1.2rem;
|
||||
padding: 8px 16px;
|
||||
}
|
||||
a button {
|
||||
background: #0069e5;
|
||||
color: #fff;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
background: #0069e5;
|
||||
color: #fff;
|
||||
border-radius: 4px;
|
||||
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
|
||||
|
||||
Anyway, I'm really excited to start my new job! Wish me luck 😊
|
||||
|
||||
|
|
|
@ -6,4 +6,3 @@ layout: "search" # is necessary
|
|||
summary: "search"
|
||||
placeholder: "placeholder text in search input box"
|
||||
---
|
||||
|
||||
|
|
Loading…
Reference in a new issue