From c8f374c3d343eaf2f6c547b38af179004924f752 Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 5 Apr 2022 12:07:52 -0500 Subject: [PATCH] Fix linked inline code block being unreadable - Removed underline, added color - Fixed index.html broken formatting --- _posts/2022-03-29-runnerspace-built-in-under-30-hours.md | 2 +- _sass/main.scss | 8 ++++++++ index.html | 3 +-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/_posts/2022-03-29-runnerspace-built-in-under-30-hours.md b/_posts/2022-03-29-runnerspace-built-in-under-30-hours.md index 640490f..c9ec47e 100644 --- a/_posts/2022-03-29-runnerspace-built-in-under-30-hours.md +++ b/_posts/2022-03-29-runnerspace-built-in-under-30-hours.md @@ -208,7 +208,7 @@ Haha, no, it still doesn't work, and I never found out why. Additionally, the `p [abandoned and archived][profanity-filter-github] by its author. So, to replace it, I simply started looking for a new package that had the same functionality without requiring some kind of -NLP text-processing module, and I eventually found [`better-profanity`][better-profanity-pypi]. It ended up being a +NLP text-processing module, and I eventually found [`better-profanity`][better-profanity-pypi]{: .no-underline}. It ended up being a drop-in replacement, although it seems to have fewer features *and* holes in its profanity detection. But, for now, it's good enough. diff --git a/_sass/main.scss b/_sass/main.scss index 68391f8..c1d0c41 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -118,6 +118,14 @@ code { font-style: normal !important; } +.no-underline { + text-decoration: none; +} + +a > code { + color: #90bcff; +} + code { border: 1px solid rgb(150, 150, 150); border-radius: 3px; diff --git a/index.html b/index.html index 33c9d3b..62eb3df 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,5 @@ --- layout: posts tag: home -_preview_description: Xevion.dev is my personal website where I keep a portfolio of projects, put posts that interest me, -and generally a playground for anything that doesn't fit anywhere else. +_preview_description: Xevion.dev is my personal website where I keep a portfolio of projects, put posts that interest me, and generally a playground for anything that doesn't fit anywhere else. ---