From 1526d468eeb2acfb79fbedd1ad798733f654e9f1 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Wed, 12 Feb 2020 17:53:53 +0100 Subject: [PATCH] a bit of magic --- project.el | 3 ++- src/css/mk.css | 6 ++---- src/index.org | 8 ++++++++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/project.el b/project.el index e039004..51f70e4 100644 --- a/project.el +++ b/project.el @@ -145,7 +145,8 @@ (mapconcat (lambda (k) (format "@@html:@@#%s@@html:@@" k)) (cl-sort keywords 'string-lessp :key 'downcase) " ")) - (format "@@html:
@@%s@@html:
@@" description))))) + (format "@@html:
@@%s@@html:
@@" description) + (format "@@html:
@@" description))))) (defun org-blog-sitemap-fn-descr (descr title list) "Return sitemap using TITLE and LIST returned by `org-blog-sitemap-format-entry'." diff --git a/src/css/mk.css b/src/css/mk.css index eaa9ba4..aae14c0 100644 --- a/src/css/mk.css +++ b/src/css/mk.css @@ -357,11 +357,9 @@ body > input { display:none; } color: var(--fg2); } -.keywords { - color: var(--fg2); -} li .keywords { - float: right; + font-style: italic; + opacity: .5; } .main ol > li:before, ol > li:before { diff --git a/src/index.org b/src/index.org index e0eae29..508221d 100644 --- a/src/index.org +++ b/src/index.org @@ -17,6 +17,8 @@ #+INCLUDE: ../logo-svg.org +#+MACRO: br @@html:

@@ + Welcome to my personal website. I generally talk about programming, maybe movies, or miscellaneous topics. You can follow new articles via [[https://her.esy.fun/rss.xml][RSS]]. @@ -30,16 +32,22 @@ priority: 1. *Respect Privacy*; no tracker of any sort (no ads, no google analytics, no referrer for all external links, etc...) + {{{br}}} 2. *Almost javascript free*; no js at all except for a single exception, pages containing Math formulae are displayed using mathjax. That means that even the CSS theme switcher does not use javascript. + {{{br}}} 3. *Accessibility*; should be easy to read on a text browser so people with disabilities could easily consume it. + {{{br}}} 4. *Nerdy*; should feel mostly like markdown text in a terminal and source code should be syntax highlighted. + {{{br}}} 5. *User friendly*; support your preferred light/dark theme by default but you can change it if you want. + {{{br}}} 6. *RSS*; you should be able to get informed when I add a new blog post. + {{{br}}} 7. *Frugal*; try to minimize the resources needed to visit my website; no javascript, no web-font, not too much CSS magic, not much images or really compressed one.