Skip to content

Commit

Permalink
Tweaks, refs #39
Browse files Browse the repository at this point in the history
  • Loading branch information
rednafi committed Sep 9, 2023
1 parent f2116a3 commit 547e0ce
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 109 deletions.
189 changes: 90 additions & 99 deletions assets/css/extended/an-old-hope-override.min.css
Original file line number Diff line number Diff line change
@@ -1,102 +1,93 @@
/*!
The name an-old-hope is kept to override the default theme.
In reality, this site uses a11y-light.
Theme: a11y-light
Author: @ericwbailey
Maintainer: @ericwbailey
Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css
/*
Modified Docco style by redowan delowar
*/

.hljs {
background: #fefefe;
color: #545454;
}

/* Comment */
.hljs-comment,
.hljs-quote {
color: #696969;
font-style: italic;
}

/* Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #d91e18;
}

/* Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
color: #aa5d00;
}

/* Yellow */
.hljs-attribute {
color: #aa5d00;
}

/* Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #008000;
}

/* Blue */
.hljs-title,
.hljs-section {
color: #007faa;
}

/* Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #7928a1;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-strong {
font-weight: bold;
}

@media screen and (-ms-high-contrast: active) {
.hljs-addition,
.hljs-attribute,
.hljs-built_in,
.hljs-bullet,
.hljs-comment,
.hljs-link,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-params,
.hljs-string,
.hljs-symbol,
.hljs-type,
.hljs-quote {
color: highlight;
}

.hljs-keyword,
.hljs-selector-tag {
font-weight: bold;
}
}
color: #000;
background: #f8f8ff;
}

.hljs-comment,
.hljs-quote {
color: #408080;
font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-subst {
color: #954121;
}

.hljs-number {
color: #40a070;
}

.hljs-string,
.hljs-doctag {
color: #219161;
}

.hljs-selector-id,
.hljs-selector-class,
.hljs-section,
.hljs-type {
color: #19469d;
}

.hljs-params {
color: rgb(131, 82, 9);
}

.hljs-title {
color: #458;
font-weight: bold;
}

.hljs-tag,
.hljs-name,
.hljs-attribute {
color: #000080;
font-weight: normal;
}

.hljs-variable,
.hljs-template-variable {
color: #008080;
}

.hljs-regexp,
.hljs-link {
color: #b68;
}

.hljs-symbol,
.hljs-bullet {
color: #990073;
}

.hljs-built_in {
color: #0086b3;
}

.hljs-meta {
color: #323232;
font-weight: bold;
}

.hljs-deletion {
background: #fdd;
}

.hljs-addition {
background: #dfd;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-strong {
font-weight: bold;
}
2 changes: 1 addition & 1 deletion assets/css/extended/theme-vars-override.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
--hljs-bg: rgb(245, 245, 245);
--code-bg: rgb(245, 245, 245);
--border: rgb(238, 238, 238);
--bio-urls: rgb(0, 29, 147);
--bio-urls: #458;
}
19 changes: 10 additions & 9 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ params:
description: >-
Redowan Delowar—wandering autodidact with a flair for ones and zeros
keywords: [
Redowan Delowar, Blog, Python, DevOps, Go, Golang, Shell, Database
Redowan Delowar, Redowan Nafi, rednafi, Blog, Python, DevOps, Go, Golang, Shell,
Database
]
author: "Redowan Delowar"
images: [
"https://github.com/rednafi/rednafi.com/assets/30027932/9b61f612-4456-43df-b57c-7cb8a08949a1"
"https://user-images.githubusercontent.com/30027932/266722327-9b61f612-4456-43df-b57c-7cb8a08949a1.png"
]
DateFormat: "January 2, 2006"
defaultTheme: light # dark, light
Expand Down Expand Up @@ -58,15 +59,15 @@ params:
assets:
#disableHLJS: true # to disable highlight.js
# disableFingerprinting: true
favicon: "https://github.com/rednafi/rednafi.com/assets/30027932/bc5c6530-79f0-442f-98d5-3d92edecffcd"
favicon16x16: "https://github.com/rednafi/rednafi.com/assets/30027932/bc5c6530-79f0-442f-98d5-3d92edecffcd"
favicon32x32: "https://github.com/rednafi/rednafi.com/assets/30027932/bc5c6530-79f0-442f-98d5-3d92edecffcd"
apple_touch_icon: "https://github.com/rednafi/rednafi.com/assets/30027932/bc5c6530-79f0-442f-98d5-3d92edecffcd"
safari_pinned_tab: "https://github.com/rednafi/rednafi.com/assets/30027932/bc5c6530-79f0-442f-98d5-3d92edecffcd"
favicon: "https://user-images.githubusercontent.com/30027932/266732646-bc5c6530-79f0-442f-98d5-3d92edecffcd.png"
favicon16x16: "https://user-images.githubusercontent.com/30027932/266732646-bc5c6530-79f0-442f-98d5-3d92edecffcd.png"
favicon32x32: "https://user-images.githubusercontent.com/30027932/266732646-bc5c6530-79f0-442f-98d5-3d92edecffcd.png"
apple_touch_icon: "https://user-images.githubusercontent.com/30027932/266732646-bc5c6530-79f0-442f-98d5-3d92edecffcd.png"
safari_pinned_tab: "https://user-images.githubusercontent.com/30027932/266732646-bc5c6530-79f0-442f-98d5-3d92edecffcd.png"

label:
text: "Redowan's Reflections"
icon: "https://github.com/rednafi/rednafi.com/assets/30027932/bc5c6530-79f0-442f-98d5-3d92edecffcd"
icon: "https://user-images.githubusercontent.com/30027932/266732646-bc5c6530-79f0-442f-98d5-3d92edecffcd.png"
iconHeight: 20

# home-info mode
Expand Down Expand Up @@ -107,7 +108,7 @@ params:
hidden: false # hide everywhere but not in structured data
hiddenInList: false # hide on list pages and home
hiddenInSingle: false # hide on single page
image: https://github.com/rednafi/rednafi.com/assets/30027932/9b61f612-4456-43df-b57c-7cb8a08949a1
image: https://user-images.githubusercontent.com/30027932/266722327-9b61f612-4456-43df-b57c-7cb8a08949a1.png

editPost:
URL: "https://github.com/rednafi/rednafi.com/blob/main/content"
Expand Down

0 comments on commit 547e0ce

Please sign in to comment.