From 96d70cee805da704eab12c19ee83677937705c99 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Fri, 22 Nov 2019 09:55:20 +0800 Subject: [PATCH] Logo include + minor CSS changes --- logo-svg.org | 10 ++++++++++ src/about-me.org | 11 +---------- src/css/minimalist.css | 10 +++++----- src/index.org | 11 +---------- 4 files changed, 17 insertions(+), 25 deletions(-) create mode 100644 logo-svg.org diff --git a/logo-svg.org b/logo-svg.org new file mode 100644 index 0000000..7b3f026 --- /dev/null +++ b/logo-svg.org @@ -0,0 +1,10 @@ +@@html: +
+ + + + + + +
+@@ diff --git a/src/about-me.org b/src/about-me.org index a388808..336401a 100644 --- a/src/about-me.org +++ b/src/about-me.org @@ -8,16 +8,7 @@ #+OPTIONS: H:5 auto-id:t #+STARTUP: showeverything -@@html: -
- - - - - - -
-@@ +#+INCLUDE: ../logo-svg.org #+begin_notes *Sorry for the late reply* diff --git a/src/css/minimalist.css b/src/css/minimalist.css index a84c5c0..c6e92d5 100644 --- a/src/css/minimalist.css +++ b/src/css/minimalist.css @@ -26,14 +26,14 @@ figure,table { } li { display: block; - padding-left: 1.5em; + padding-left: 2ch; } ol > li:before, ul > li:before { content: "– "; opacity: 0.5; float: left; position: relative; - left: -1.5em; + left: -2ch; text-align: right; width: 0; } @@ -45,10 +45,10 @@ ol > li:before { counter-increment: ol; } ol > li:nth-child(n+10) { - padding-left:28px; + padding-left:3ch; } ol > li:nth-child(n+10):before { - left: -28px; + left: -3ch; } img { width: 100%; @@ -56,7 +56,7 @@ img { margin: 1em auto; } p > img, li > img { - max-height: 1em; + max-height: 1cap; width: auto; margin: 0; vertical-align: middle; diff --git a/src/index.org b/src/index.org index 846b46f..b281dd2 100644 --- a/src/index.org +++ b/src/index.org @@ -8,16 +8,7 @@ #+OPTIONS: H:5 #+STARTUP: showeverything -@@html: -
- - - - - - -
-@@ +#+INCLUDE: ../logo-svg.org Welcome to my personal website. I generally talk about programming, maybe movies, or miscellaneous topics.