From 09d68f66171934d2151c022ba1a9274ca063d30e Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Sun, 25 Aug 2019 00:09:11 +0200 Subject: [PATCH] Some fixes, also, more terminal look and feel. --- src/css/minimalist.css | 8 ++++---- src/posts/new-blog.org | 15 +++++++-------- src/posts/troll-2/index.org | 2 +- src/slides.org | 2 +- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/css/minimalist.css b/src/css/minimalist.css index 9cf93da..54631fe 100644 --- a/src/css/minimalist.css +++ b/src/css/minimalist.css @@ -6,14 +6,14 @@ body { font-family: Menlo, Monaco, monospace; font-size: 13px; - line-height: 1.5em; + line-height: 1em; } code { font-family: Menlo, Monaco, monospace; } pre, pre code { font-family: Menlo, Monaco, monospace; - line-height: 14px; + line-height: 1em; } .todo, .done { font-family: Menlo, Monaco, monospace; @@ -219,7 +219,7 @@ navigation > a { margin-top: 10px; } #content,.content { - max-width: 51em; + max-width: 43em; margin: 0 1em; padding: 1px; } @@ -469,7 +469,7 @@ input#modern:checked ~ .main h6::before { input#modern:target ~ .main pre, input#modern:checked ~ .main pre { font-size: 14px; - line-height: 15px; + line-height: 1em; border-left: solid 4px var(--soft-foreground); padding-left: 1em; } diff --git a/src/posts/new-blog.org b/src/posts/new-blog.org index 2d69b1c..f530803 100644 --- a/src/posts/new-blog.org +++ b/src/posts/new-blog.org @@ -41,7 +41,7 @@ priority: javascript, no web-font, not too much CSS magic, not much images or really compressed one. -Some of the constraints are straightforward to get, some other not. +Some of the constraints are straightforward to get, some not. You can also check that not using more resources one of the theme of my website looks quite more classical and modern that my preferred ones. @@ -145,11 +145,10 @@ use almost 350 line to handle those. :CUSTOM_ID: css-theme-selection :END: -One of think that wasn't straightforward while writing the CSS was about -providing a user controlled theme. -So click and change theme and without any javascript involved. -That theme changer is really the limit up to which I agree to concede to -modern standards because it is CSS only. +One thing that wasn't straightforward while writing the CSS was to provide +an interactive theme selector without any javascript involved. +That theme switcher is really the limit I can concede to modern standards +because it is CSS only. The trick is to provide one checkbox per theme at the beginning of the body of the HTML. @@ -210,8 +209,8 @@ I also added a system to support theme using fragment in the URL. } #+end_src -Unfortunately, the fragment system take full priority other the checkbox -mechanism. +Unfortunately, for now the fragment system take full priority other the +checkbox mechanism. Regarding selecting the user preferred theme, there are plenty of tutorial on the internet, you could also simply steal my CSS. diff --git a/src/posts/troll-2/index.org b/src/posts/troll-2/index.org index 20821d8..c70f8dc 100644 --- a/src/posts/troll-2/index.org +++ b/src/posts/troll-2/index.org @@ -53,7 +53,7 @@ Soon after that, you realize the acting of all actors is extremely bad. In fact, it is so bad, you might not believe me how bad it is. To give you an idea, the only equal bad acting I ever witnessed was while looking at amateurs first Youtube movies trying to follow a scenario. -Apparently all actor were amateurs, it was their first and last movie. +Apparently most actors were amateurs, it was their first and last movie. #+CAPTION: One particularly terrible acting scene #+NAME: fig:bad-acting diff --git a/src/slides.org b/src/slides.org index ffa87f6..95cc6f6 100644 --- a/src/slides.org +++ b/src/slides.org @@ -19,4 +19,4 @@ - [2018-03-15 Thu] [[file:slides/Intro-to-FP-with-Haskell.org][Introduction à la programmation fonctionnelle avec Haskell]] - is a small French talk introducing Haskell. + is a French talk introducing Functional programming concept with Haskell.