ybbond

My site. The main domain
Log | Files | Refs | README | LICENSE | CC-LICENSE

commit c1634eff2f0e6aedf714862e9328d5d570b2e690
parent 974d019e8eec46e70bf3f69680759a7150de3c8c
Author: Yohanes Bandung <bandungpenting@gmail.com>
Date:   Fri,  1 May 2020 20:52:05 +0700

style: improved code and codeblock color

Diffstat:
Massets/content.scss | 19++++++++++++-------
Mcontent/posts/Why I Positioned Sidebar to the Right.md | 6++++--

2 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/assets/content.scss b/assets/content.scss
@@ -23,8 +23,10 @@
     padding: 0.1em;
     font-family: $font-mono;
     font-size: 0.9em;
+  }
+  :not(pre) > code {
     @include themify($themes) {
-     background-color: themed('color-background-hover');
+      background-color: themed('color-background-hover');
     }
   }
   table {
@@ -32,23 +34,26 @@
     overflow-x: auto;
     border-collapse: collapse;
     td, th {
-      border: 1px solid #ddd;
+      border: 1px solid;
+      @include themify($themes) {
+        border-color: themed('color-text');
+      }
     }
     td {
       padding: 0.5em 1em;
     }
     th {
       padding: 1em 2em;
-      background-color: #333;
       @include themify($themes) {
+        background-color: themed('color-background-hover');
         color: themed('color-text');
       }
     }
     tr:nth-child(even) {
-      background-color: #333;
-    }
-    tr:hover {
-      background-color: #303030;
+      @include themify($themes) {
+        background-color: themed('color-background-hover');
+        color: themed('color-text');
+      }
     }
   }
   ul {
diff --git a/content/posts/Why I Positioned Sidebar to the Right.md b/content/posts/Why I Positioned Sidebar to the Right.md
@@ -9,9 +9,11 @@ tags:
 
 A few minutes ago, I opened twitter and scrolled the timeline. 
 
-[[twitter link/ image]]
+{{< tweet 1254492579275526145 >}}
 
-I `laughed when I read that tweet`. It brings back so much memories of my previous workplace.
+I laughed when I read that tweet. It brings back so much memories of my previous workplace. He mentioned the wrong account tho[^1].
+
+[^1]: My current twitter is [@bandungpenting](https://twitter.com/bandungpenting). I created that because my former account got banned because I made it when I was in junior high school 🤪
 
 Positioning the sidebar to the right reduces distraction when I toggle it. If the sidebar is on the left, the text shifts around whenever the sidebar is toggled on or off. Readjusting my eyes for the moved text creates disturbance to my logical thinking. "Why are you not just leave the sidebar open?", you might be asking. I want to keep the screen real estate wide.