This commit is contained in:
Yann Esposito (Yogsototh) 2020-05-01 10:27:39 +02:00
parent 1962c6414d
commit d5b394278a
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
5 changed files with 21 additions and 15 deletions

View file

@ -54,9 +54,21 @@
(when (and i (stringp i)) (when (and i (stringp i))
i))) i)))
(defun logo ()
(concat
"<div id=\"logo\">"
"<svg width=\"5em\" viewBox=\"0 0 64 64\">"
"<circle cx=\"32\" cy=\"32\" r=\"30\" stroke=\"var(--b2)\" stroke-width=\"2\" fill=\"var(--b03)\"/>"
"<circle cx=\"32\" cy=\"32\" r=\"12\" stroke=\"var(--r)\" stroke-width=\"2\" fill=\"var(--o)\"/>"
"<circle cx=\"32\" cy=\"32\" r=\"6\" stroke-width=\"0\" fill=\"var(--y)\"/>"
"<ellipse cx=\"32\" cy=\"14\" rx=\"14\" ry=\"8\" stroke-width=\"0\" fill=\"var(--b3)\"/>"
"</svg>"
"</div>"))
(defun org-blog-preamble (info) (defun org-blog-preamble (info)
"Pre-amble for whole blog." "Pre-amble for whole blog."
(concat (concat
(logo)
"<div class=\"content\">" "<div class=\"content\">"
"<h1>" "<h1>"
(format "%s" (car (plist-get info :title))) (format "%s" (car (plist-get info :title)))

Binary file not shown.

View file

@ -20,8 +20,6 @@
</span> </span>
</nav>@@ </nav>@@
#+INCLUDE: ../logo-svg.org
#+begin_notes #+begin_notes
*Sorry for the late reply.* *Sorry for the late reply.*

View file

@ -3,21 +3,21 @@
*/ */
/* Fonts */ /* Fonts */
:root { :root {
--lh: 17px; --lh: 22px;
} }
body { body {
font-size: 15px; font-size: 18px;
font-family: sans-serif; font-family: sans-serif;
line-height: var(--lh); line-height: var(--lh);
min-height: 100vh; min-height: 100vh;
} }
code { code {
font-size: 13px; font-size: 15px;
} }
pre { pre {
line-height: 1em; line-height: 1em;
font-size: 12px; font-size: 14px;
} }
blockquote pre { blockquote pre {
line-height: var(--lh); line-height: var(--lh);
@ -128,6 +128,7 @@ h6::before {
hr { hr {
border: 0; border: 0;
} }
#logo { text-align: center; }
#preamble h1, #preamble h2 { #preamble h1, #preamble h2 {
margin-top: 0; margin-top: 0;
margin-bottom: .5em; margin-bottom: .5em;
@ -191,10 +192,10 @@ figure, .figure {
margin-top: var(--lh); margin-top: var(--lh);
} }
.timestamp-wrapper { .timestamp-wrapper {
font-size: 12px; font-size: 14px;
} }
.todo, .done { .todo, .done {
font-size: 12px; font-size: 14px;
font-weight: bold; font-weight: bold;
padding: 1px 1ex; padding: 1px 1ex;
} }
@ -258,7 +259,7 @@ li .keywords {
--rbg: var(--b2); --rbg: var(--b2);
--fg0: var(--b0); --fg0: var(--b0);
--fg: var(--b02); --fg: var(--b02);
--rfg: var(--b03); --rfg: #000;
--hl: var(--v); --hl: var(--v);
} }
@ -272,7 +273,7 @@ body {
color: var(--fg); color: var(--fg);
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
color: var(--rbg) color: var(--rfg);
} }
a { a {
color: var(--hl); color: var(--hl);
@ -324,9 +325,6 @@ thead, tr:hover {
background: var(--rbg); background: var(--rbg);
color: var(--rfg); color: var(--rfg);
} }
h1, h2, h3, h4, h5, h6 {
color: var(--rfg);
}
table, td, th { table, td, th {
border-color: var(--fg0); border-color: var(--fg0);
} }

View file

@ -20,8 +20,6 @@
</span> </span>
</nav>@@ </nav>@@
#+INCLUDE: ../logo-svg.org
#+MACRO: br @@html:<br/><br/>@@ #+MACRO: br @@html:<br/><br/>@@
Welcome to my personal website. Welcome to my personal website.