aboutsummaryrefslogtreecommitdiff
path: root/templates/pico.min.css
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2022-05-08 21:47:45 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2022-05-08 21:47:45 +0200
commitea058a851098bf81cb645249e02d26a8c253db90 (patch)
treec245a133119b1a4bf6168a16c89b22b6e04d319e /templates/pico.min.css
parent189166e2f44ca69537fa632032ec7ab252595d1b (diff)
downloadmacroblog.rs-ea058a851098bf81cb645249e02d26a8c253db90.tar.gz
macroblog.rs-ea058a851098bf81cb645249e02d26a8c253db90.tar.bz2
macroblog.rs-ea058a851098bf81cb645249e02d26a8c253db90.zip
ref: Add embded rust and router
- Use embed rust to load and resolve file from `content/post` folder, so the whole process is a bit more dynamic. - Add router to to resolve the path. It is the first step to try to get the code a bit cleaner.
Diffstat (limited to 'templates/pico.min.css')
-rw-r--r--templates/pico.min.css55
1 files changed, 8 insertions, 47 deletions
diff --git a/templates/pico.min.css b/templates/pico.min.css
index 1179471..7713ba9 100644
--- a/templates/pico.min.css
+++ b/templates/pico.min.css
@@ -325,7 +325,7 @@ b, strong {
font-weight: bolder
}
-address, blockquote, dl, figure, form, ol, p, pre, table, ul {
+address, blockquote, dl, figure, form, ol, p, table, ul {
margin-top: 0;
margin-bottom: var(--typography-spacing-vertical);
color: var(--color);
@@ -336,7 +336,7 @@ address, blockquote, dl, figure, form, ol, p, pre, table, ul {
[role=link], a {
--color: var(--primary);
- --background-color: transparent;
+ ckground-color: transparent;
outline: 0;
background-color: var(--background-color);
color: var(--color);
@@ -413,7 +413,7 @@ h6 {
--color: var(--h6-color)
}
-:where(address,blockquote,dl,figure,form,ol,p,pre,table,ul) ~ :is(h1,h2,h3,h4,h5,h6) {
+:where(address,blockquote,dl,figure,form,ol,p,table,ul) ~ :is(h1,h2,h3,h4,h5,h6) {
margin-top: var(--typography-spacing-vertical)
}
@@ -454,7 +454,7 @@ p {
}
ul li {
- list-style: none
+ list-style: square;
}
mark {
@@ -503,63 +503,24 @@ fieldset legend, label {
padding: 0
}
-code, kbd, pre, samp {
+kbd, samp {
font-size: 0.875em;
font-family: var(--font-family)
}
-pre {
- -ms-overflow-style: scrollbar;
- overflow: auto
-}
-
-code, kbd, pre {
+kbd {
border-radius: var(--border-radius);
- background: var(--code-background-color);
+ background: var(--eode-background-color);
color: var(--code-color);
font-weight: var(--font-weight);
line-height: initial
}
-code, kbd {
+ kbd {
display: inline-block;
padding: 0.375rem 0.5rem
}
-pre {
- display: block;
- margin-bottom: var(--spacing);
- overflow-x: auto
-}
-
-pre > code {
- display: block;
- padding: var(--spacing);
- background: 0 0;
- font-size: 14px;
- line-height: var(--line-height)
-}
-
-code b {
- color: var(--code-tag-color);
- font-weight: var(--font-weight)
-}
-
-code i {
- color: var(--code-property-color);
- font-style: normal
-}
-
-code u {
- color: var(--code-value-color);
- text-decoration: none
-}
-
-code em {
- color: var(--code-comment-color);
- font-style: normal
-}
-
kbd {
background-color: var(--code-kbd-background-color);
color: var(--code-kbd-color);