From 148900154f28573b6640e996906374fe33a11762 Mon Sep 17 00:00:00 2001 From: Akshay Date: Fri, 10 Apr 2020 23:10:14 +0530 Subject: rework css, semantic html --- docs/index.html | 2 +- docs/index.xml | 10 +++--- docs/posts/WPA_woes/index.html | 4 +-- docs/posts/bash_harder_with_vim/index.html | 4 +-- docs/posts/bye_bye_BDFs/index.html | 4 +-- docs/posts/call_to_ARMs/index.html | 4 +-- docs/posts/color_conundrum/index.html | 4 +-- docs/posts/font_size_fallacies/index.html | 4 +-- .../index.html | 4 +-- docs/posts/hold_position!/index.html | 4 +-- docs/posts/my_setup/index.html | 4 +-- docs/posts/onivim_sucks/index.html | 4 +-- docs/posts/pixel_art_in_GIMP/index.html | 14 ++++----- docs/posts/rapid_refactoring_with_vim/index.html | 4 +-- docs/posts/static_sites_with_bash/index.html | 4 +-- docs/posts/termux_tandem/index.html | 4 +-- docs/style.css | 36 +++++++++++----------- post.esh | 4 +-- 18 files changed, 59 insertions(+), 59 deletions(-) diff --git a/docs/index.html b/docs/index.html index a1b2674..9a5d3bb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -39,7 +39,7 @@ - 4.9 + 5.0 min diff --git a/docs/index.xml b/docs/index.xml index c2c2a6f..91bd033 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -116,10 +116,10 @@ might explain better:

To emulate soft lights, reduce the value by 2 to 3 points every iteration. Notice how area 1 is much larger than -area 4. This is because an onigiri resembles an oblate -spheroid, a sphere that is slightly fatter around the -middle, and areas 1 and 2 catch more light than areas -3 and 4.

+area 4. This is because an onigiri resembles a bottom +heavy oblate spheroid, a sphere that is slightly fatter +around the lower bottom, and areas 1 and 2 catch more +light than areas 3 and 4.

Do the same with the seaweed. The seaweed, being a smaller, flatter object, doesn't cast much of a shadow, so stop with @@ -154,7 +154,7 @@ was 100x100, head over to Image > Scale Image, set

big_onigiri

https://peppe.rs/posts/pixel_art_in_GIMP/ -Thu, 09 Apr 2020 16:26:00 +0000 +Thu, 09 Apr 2020 16:28:00 +0000 https://peppe.rs/posts/pixel_art_in_GIMP/ diff --git a/docs/posts/WPA_woes/index.html b/docs/posts/WPA_woes/index.html index df7f43e..e329df6 100644 --- a/docs/posts/WPA_woes/index.html +++ b/docs/posts/WPA_woes/index.html @@ -33,9 +33,9 @@ min - +

WPA Woes - +

I finally got around to installing Void GNU/Linux on my main computer. Rolling release, non-systemd, need I say more?

diff --git a/docs/posts/bash_harder_with_vim/index.html b/docs/posts/bash_harder_with_vim/index.html index d56f350..396fcfa 100644 --- a/docs/posts/bash_harder_with_vim/index.html +++ b/docs/posts/bash_harder_with_vim/index.html @@ -33,9 +33,9 @@ min
- +

Bash Harder With Vim - +

Bash is tricky, don't let your editor get in your way. Here's a couple of neat additions you could make to your vimrc for a better shell programming diff --git a/docs/posts/bye_bye_BDFs/index.html b/docs/posts/bye_bye_BDFs/index.html index 8959ec3..ad7243d 100644 --- a/docs/posts/bye_bye_BDFs/index.html +++ b/docs/posts/bye_bye_BDFs/index.html @@ -33,9 +33,9 @@ min

- +

Bye Bye BDFs - +

Glyph Bitmap Distribution Format is no more, as the creators of Pango, one of the most widely used text rendering diff --git a/docs/posts/call_to_ARMs/index.html b/docs/posts/call_to_ARMs/index.html index c62c032..3f759e4 100644 --- a/docs/posts/call_to_ARMs/index.html +++ b/docs/posts/call_to_ARMs/index.html @@ -33,9 +33,9 @@ min

- +

Call To ARMs - +

My 4th semester involves ARM programming. And proprietary tooling (Keil C). But we don't do that here.

diff --git a/docs/posts/color_conundrum/index.html b/docs/posts/color_conundrum/index.html index 93928b1..2001226 100644 --- a/docs/posts/color_conundrum/index.html +++ b/docs/posts/color_conundrum/index.html @@ -33,9 +33,9 @@ min
- +

Color Conundrum - +

This piece aims to highlight (pun intended) some of the reasons behind my color diff --git a/docs/posts/font_size_fallacies/index.html b/docs/posts/font_size_fallacies/index.html index eb832ec..804dea2 100644 --- a/docs/posts/font_size_fallacies/index.html +++ b/docs/posts/font_size_fallacies/index.html @@ -33,9 +33,9 @@ min

- +

Font Size Fallacies - +

I am not an expert with fonts, but I do have some experience 1, and common sense. This post aims to debunk some diff --git a/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html b/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html index 2196480..d4e8fb4 100644 --- a/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html +++ b/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html @@ -33,9 +33,9 @@ min

- +

Get Better At Yanking And Putting In Vim - +

  1. reselecting previously selected text (i use this to fix botched selections):

    diff --git a/docs/posts/hold_position!/index.html b/docs/posts/hold_position!/index.html index 4eeda2a..58851c5 100644 --- a/docs/posts/hold_position!/index.html +++ b/docs/posts/hold_position!/index.html @@ -33,9 +33,9 @@ min
- +

Hold Position! - +

Often times, when I run a vim command that makes “big” changes to a file (a macro or a :vimgrep command) I lose my original position and feel disoriented.

diff --git a/docs/posts/my_setup/index.html b/docs/posts/my_setup/index.html index 7725842..c3812ec 100644 --- a/docs/posts/my_setup/index.html +++ b/docs/posts/my_setup/index.html @@ -33,9 +33,9 @@ min
- +

My Setup - +

Decided to do one of these because everyone does one of these.

diff --git a/docs/posts/onivim_sucks/index.html b/docs/posts/onivim_sucks/index.html index def4426..c2c6ffe 100644 --- a/docs/posts/onivim_sucks/index.html +++ b/docs/posts/onivim_sucks/index.html @@ -33,9 +33,9 @@ min
- +

Onivim Sucks - +

Onivim is a ‘modern modal editor’, combining fancy interface and language features with vim-style modal editing. What's wrong you diff --git a/docs/posts/pixel_art_in_GIMP/index.html b/docs/posts/pixel_art_in_GIMP/index.html index 2872983..5caa446 100644 --- a/docs/posts/pixel_art_in_GIMP/index.html +++ b/docs/posts/pixel_art_in_GIMP/index.html @@ -28,14 +28,14 @@ cm   - 4.9 + 5.0 min

- +

Pixel Art In GIMP - +

I've always been an admirer of pixel art, because of it’s simplicity and it's resemblance to bitmap font design. @@ -140,10 +140,10 @@ might explain better:

To emulate soft lights, reduce the value by 2 to 3 points every iteration. Notice how area 1 is much larger than -area 4. This is because an onigiri resembles an oblate -spheroid, a sphere that is slightly fatter around the -middle, and areas 1 and 2 catch more light than areas -3 and 4.

+area 4. This is because an onigiri resembles a bottom +heavy oblate spheroid, a sphere that is slightly fatter +around the lower bottom, and areas 1 and 2 catch more +light than areas 3 and 4.

Do the same with the seaweed. The seaweed, being a smaller, flatter object, doesn't cast much of a shadow, so stop with diff --git a/docs/posts/rapid_refactoring_with_vim/index.html b/docs/posts/rapid_refactoring_with_vim/index.html index 58f97b2..a309066 100644 --- a/docs/posts/rapid_refactoring_with_vim/index.html +++ b/docs/posts/rapid_refactoring_with_vim/index.html @@ -33,9 +33,9 @@ min

- +

Rapid Refactoring With Vim - +

Last weekend, I was tasked with refactoring the 96 unit tests on diff --git a/docs/posts/static_sites_with_bash/index.html b/docs/posts/static_sites_with_bash/index.html index 5017a4a..1919cea 100644 --- a/docs/posts/static_sites_with_bash/index.html +++ b/docs/posts/static_sites_with_bash/index.html @@ -33,9 +33,9 @@ min

- +

Static Sites With Bash - +

After going through a bunch of static site generators (pelican, diff --git a/docs/posts/termux_tandem/index.html b/docs/posts/termux_tandem/index.html index 40580ba..972f0e2 100644 --- a/docs/posts/termux_tandem/index.html +++ b/docs/posts/termux_tandem/index.html @@ -33,9 +33,9 @@ min

- +

Termux Tandem - +

I learnt about termux from a friend on IRC recently. It looked super gimmicky to me at first, but it eventually diff --git a/docs/style.css b/docs/style.css index 898cbee..9f749e2 100644 --- a/docs/style.css +++ b/docs/style.css @@ -63,14 +63,29 @@ body { html { line-height: 1.5; - font-size: 17px; + font-size: 18px; +} + +h1 { + font-size: 1.8rem; +} +h2 { + font-size: 1.6rem; +} +h3 { + font-size: 1.4rem; +} +h4 { + font-size: 1.2rem; } h1, h2, h3 { - margin-top: 4rem; + margin: 0; + margin-top: 3rem; } h4, h5, h6 { - margin-top: 2rem; + margin: 0; + margin-top: 1.5rem; } .subheading { @@ -130,18 +145,12 @@ pre > code { .posts { max-width: 650px; } - html { - font-size: 18px; - } } @media only screen and (min-width: 1400px) { .posts { max-width: 650px; } - html { - font-size: 18px; - } } .posts { @@ -229,15 +238,6 @@ a, a:hover, a:visited, a:active { font-size: 0.8rem; } -.post-title { - text-decoration: none; - color: var(--black); - text-shadow: none; - text-align: center; - font-weight: 800; - font-size: 1.5rem; -} - .post-text { font-size: 0.9rem; } diff --git a/post.esh b/post.esh index bbe0519..d644372 100644 --- a/post.esh +++ b/post.esh @@ -32,9 +32,9 @@ min

- +

<%=$title%> - +

<% lowdown "$file"%>
-- cgit v1.2.3