Compare commits

...

2 commits

Author SHA1 Message Date
310b659aea [STYLE] Add colored classes 2020-05-06 11:27:04 +02:00
f0f70eb5cd Fix wrong comment 2020-05-06 11:06:29 +02:00
2 changed files with 20 additions and 5 deletions

View file

@ -1,4 +1,3 @@
<details><summary>{{ .Get "title" }}</summary> <details><summary>{{ .Get "title" }}</summary>
{{ .Inner }} {{ .Inner }}
</details> </details>

View file

@ -6,8 +6,10 @@
--background-color-light: #252525; --background-color-light: #252525;
--background-color-dark: #121212; --background-color-dark: #121212;
--avatar-background: #B6B6B6; --avatar-background: #B6B6B6;
--gray-colored01: #799479; --color01: #799479;
--gray-colored02: #8f8071; --color01_bright: #58af58;
--color02: #8f8071;
--color02_bright: #b88a5b;
} }
/******************* Page *******************/ /******************* Page *******************/
@ -590,7 +592,7 @@ pre {
margin-top: 0.5rem; margin-top: 0.5rem;
background: repeating-linear-gradient(28deg, #1C1C1C, #1C1C1C 20px, #121212 20px, #121212 40px); background: repeating-linear-gradient(28deg, #1C1C1C, #1C1C1C 20px, #121212 20px, #121212 40px);
} }
:not(pre)>code { :not(pre, details)>code {
font-size: 1rem; font-size: 1rem;
color: var(--font-color-em); color: var(--font-color-em);
} }
@ -646,7 +648,7 @@ details[open] summary:hover {
outline-offset: .3rem; outline-offset: .3rem;
} }
/******************* Article Details *******************/ /******************* Article Superscript *******************/
.article-body sup { .article-body sup {
vertical-align: top; vertical-align: top;
position: relative; position: relative;
@ -677,3 +679,17 @@ details[open] summary:hover {
right: 1rem; right: 1rem;
font-family: Arial; font-family: Arial;
} }
/******************* Generic colors *******************/
.color01 {
color: var(--color01);
}
.color01.bright {
color: var(--color01_bright);
}
.color02 {
color: var(--color02);
}
.color02.bright {
color: var(--color02_bright);
}