From df9bc9288b9aec590d39beb43eed0f7c2d577915 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Tue, 21 Apr 2026 17:16:24 +0800 Subject: Minimalist theme. --- Gemfile.lock | 80 ----------------- _config.yml | 9 +- _includes/foot.html | 7 -- _includes/head.html | 7 ++ _includes/header.html | 8 -- _includes/latest.html | 23 ----- _includes/nav.html | 41 ++------- _layouts/default.html | 6 +- _layouts/post.html | 21 ++--- about.html | 60 ------------- assets/css/main.css | 233 ++++++++++---------------------------------------- index.html | 12 --- index.md | 15 ++++ projects.html | 42 --------- 14 files changed, 91 insertions(+), 473 deletions(-) delete mode 100644 _includes/foot.html create mode 100644 _includes/head.html delete mode 100644 _includes/header.html delete mode 100644 _includes/latest.html delete mode 100644 about.html delete mode 100644 index.html create mode 100644 index.md delete mode 100644 projects.html diff --git a/Gemfile.lock b/Gemfile.lock index 5c1e8bc..9ce4579 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,44 +13,10 @@ GEM http_parser.rb (~> 0) eventmachine (1.2.7) ffi (1.17.2) - ffi (1.17.2-aarch64-linux-gnu) - ffi (1.17.2-aarch64-linux-musl) - ffi (1.17.2-arm-linux-gnu) - ffi (1.17.2-arm-linux-musl) - ffi (1.17.2-arm64-darwin) - ffi (1.17.2-x86-linux-gnu) - ffi (1.17.2-x86-linux-musl) - ffi (1.17.2-x86_64-darwin) - ffi (1.17.2-x86_64-linux-gnu) - ffi (1.17.2-x86_64-linux-musl) forwardable-extended (2.6.0) google-protobuf (4.33.0) bigdecimal rake (>= 13) - google-protobuf (4.33.0-aarch64-linux-gnu) - bigdecimal - rake (>= 13) - google-protobuf (4.33.0-aarch64-linux-musl) - bigdecimal - rake (>= 13) - google-protobuf (4.33.0-arm64-darwin) - bigdecimal - rake (>= 13) - google-protobuf (4.33.0-x86-linux-gnu) - bigdecimal - rake (>= 13) - google-protobuf (4.33.0-x86-linux-musl) - bigdecimal - rake (>= 13) - google-protobuf (4.33.0-x86_64-darwin) - bigdecimal - rake (>= 13) - google-protobuf (4.33.0-x86_64-linux-gnu) - bigdecimal - rake (>= 13) - google-protobuf (4.33.0-x86_64-linux-musl) - bigdecimal - rake (>= 13) http_parser.rb (0.8.0) i18n (1.14.7) concurrent-ruby (~> 1.0) @@ -104,59 +70,13 @@ GEM sass-embedded (1.93.2) google-protobuf (~> 4.31) rake (>= 13) - sass-embedded (1.93.2-aarch64-linux-android) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-aarch64-linux-gnu) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-aarch64-linux-musl) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-arm-linux-androideabi) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-arm-linux-gnueabihf) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-arm-linux-musleabihf) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-arm64-darwin) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-riscv64-linux-android) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-riscv64-linux-gnu) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-riscv64-linux-musl) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-x86_64-darwin) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-x86_64-linux-android) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-x86_64-linux-gnu) - google-protobuf (~> 4.31) - sass-embedded (1.93.2-x86_64-linux-musl) - google-protobuf (~> 4.31) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) unicode-display_width (2.6.0) webrick (1.9.1) PLATFORMS - aarch64-linux-android - aarch64-linux-gnu - aarch64-linux-musl - arm-linux-androideabi - arm-linux-gnu - arm-linux-gnueabihf - arm-linux-musl - arm-linux-musleabihf - arm64-darwin - riscv64-linux-android - riscv64-linux-gnu - riscv64-linux-musl ruby - x86-linux-gnu - x86-linux-musl - x86_64-darwin - x86_64-linux-android - x86_64-linux-gnu - x86_64-linux-musl x86_64-openbsd DEPENDENCIES diff --git a/_config.yml b/_config.yml index cbf8b18..ee4dfea 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,9 @@ -title: ASCIIMX -author: Sadeep M. Wickramage Don +title: "Minimalist" +description: "A short bio or site description" +baseurl: "" # keep empty for root or subpath like /blog + +author: + name: "W. D. Sadeep Madurange" permalink: pretty @@ -17,6 +21,7 @@ feed: gems: - jekyll-feed + exclude: - Gemfile - Gemfile.lock diff --git a/_includes/foot.html b/_includes/foot.html deleted file mode 100644 index 6e01dc2..0000000 --- a/_includes/foot.html +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..a6eec07 --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,7 @@ + + + + {{ page.title }} + + + diff --git a/_includes/header.html b/_includes/header.html deleted file mode 100644 index 610976f..0000000 --- a/_includes/header.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - {{ page.title }} - - - - diff --git a/_includes/latest.html b/_includes/latest.html deleted file mode 100644 index b71216a..0000000 --- a/_includes/latest.html +++ /dev/null @@ -1,23 +0,0 @@ -
- - - {% assign posts = site.log | sort: 'date' | reverse %} - {% for post in posts limit: include.limit %} - - - - - - - {% endfor %} - -
-
diff --git a/_includes/nav.html b/_includes/nav.html index dbec583..7488559 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,34 +1,7 @@ - +
+

{{ site.title }}

+{% assign parts = page.url | split: '/' %} +{% if page.url != "/" %} + /

{{ page.title }}

+{% endif %} +
diff --git a/_layouts/default.html b/_layouts/default.html index 835db63..628b523 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,15 +1,13 @@ - {% include header.html %} + {% include head.html %} {% include nav.html %} -
{{ content }}
- - {% include foot.html %} +
{{ content }}
diff --git a/_layouts/post.html b/_layouts/post.html index b6c79a4..628b523 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,22 +1,13 @@ - + - {% include header.html %} - - {% include nav.html %} + {% include head.html %} -
-
-
-

{{ page.title | upcase }}

-
{{ page.date | date_to_long_string | upcase }}
-
-
{{ content }}
-
-
-
+ + + {% include nav.html %} - {% include foot.html %} +
{{ content }}
diff --git a/about.html b/about.html deleted file mode 100644 index f591531..0000000 --- a/about.html +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: About -layout: default ---- - -
-

{{ page.title }}

- -

- I was once consumed by a Promethean ambition—to delineate the deepest - mysteries of computation; to wrest from the silicon its most jealously guarded - secrets. -

- -

- To examine software, we must first have recourse to hardware. Yet, as - becoming acquainted with the machine's intricacies formed a great hindrance to - my speed, I resolved to employ gigantic abstractions; and disturbed, with - profane fingers, its galvanic symphony. -

- -

- In youthful fervor, I mistook corporate caprice for boundless progress, - self-aggrandizement for grand vision; and stitched together soulless - fragments of unhallowed frameworks. -

- -

- I have seen what festers beneath the promise of abstraction—the bloat, the - waste, the corrosive comfort of ignorance. As I beheld the accomplishment of my - toils, I shuddered to think that future ages might curse me as their pest. -

- -

- These pages serve as witness to my solitary labor—each banished dependency - a victory against decay, every iteration an act of purification. In them, I - have measured efficacy without mercy; I have rejected the ceremonial - scaffolding that veils the true visage of their grotesque creations. -

- -

- The measurements do not lie. If I am the architect of an unalterable evil, - these chronicles record my search for redemption in Nature's parsimony. Whether - they stand as a monument to my deliverance or condemn me to wander the frozen - wastes of my own creation, only time will reveal. -

- -

-- {{ site.author }}

- -

- Email: sadeep@asciimx.com [GPG]
- Credits: Averia Serif - Dan Sayers / Skeleton - Dave Gamache / Marat - Jean-Philippe Coene -

- -
- - diff --git a/assets/css/main.css b/assets/css/main.css index d3355d9..ebaf1dd 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,218 +1,79 @@ -@font-face { - font-family: 'Averia Serif'; - src: url('/assets/fonts/AveriaSerif-Light.ttf') format('truetype'); -} - -:root { - --main-bg-color: #ffffff; - --main-fg-color: #000000; - --font-family: 'Averia Serif', serif; -} - -*, -*:before, -*:after { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - body { - height: 100%; - text-decoration-skip: ink; - color: var(--main-fg-color); - padding-top: 10px; - font-family: var(--font-family); - background-color: var(--main-bg-color); - background-size: 2px 2px; -} - -::selection { - color: var(--main-bg-color); - background: var(--main-fg-color); -} -::-moz-selection { - color: var(--main-bg-color); - background: var(--main-fg-color); -} - -.footer { - position: relative; - bottom: 0; - width: 100%; - padding-top: 10px; - padding-bottom: 10px; - color: rgba(0, 0, 0, 0.6); -} - -a { - cursor: default; - color: var(--main-fg-color); - text-decoration: underline 1.5px; - text-underline-offset: 2.5px; + font: 17px/1.6 sans-serif; + text-rendering: optimizeLegibility; + padding: 2rem; + max-width: 70ch; + margin: 0 auto; } -.link-decor-none { - text-decoration: none; +h1, h2, h3, h4, h5 { + font-size: inherit; + font-weight: inherit; + text-decoration: underline; } -img { - width: 100%; -} - -table { - width: 100%; -} - -table, tr, td { - border: none !important; -} - -td { - background-color: transparent; -} - -.project-item { - border: none; - vertical-align: top; - width: 50%; -} - -#navlist -{ - list-style-type: none; - margin-left: 0 !important; -} - -#navlist li -{ +header h1 { display: inline; - list-style-type: none inside; - padding-right: 20px; -} - -#navlist > .active > a { - font-weight: 600; - text-decoration: none; -} - -@media (min-width: 400px) { - #nav-container { - padding: 0 6px; - } - .container-2 { - padding: 0 3px; - } -} - -@media (min-width: 550px) { - .post-container { - padding: 0; - } -} - -.author { - font-size: 1.3em; - padding-top: 20px; -} - -.tagline { - padding-top: 20px; -} - -.center { - text-align: center; -} - -.right { - text-align: right; -} - -.justify { - text-align: justify; } -.twocol::first-letter { - font-size: 2.5em; +pre, code { + font-size: inherit; + background: #eee; } -.twocol { - -ms-word-break: keep-all; - word-break: keep-all; - hyphens: auto; - -webkit-hyphens: auto; - -moz-hyphens: auto; -} - -@media only screen -and (min-device-width : 768px) { - .twocol { - -moz-column-count: 2; - -moz-column-gap: 20px; - -webkit-column-count: 2; - -webkit-column-gap: 20px; - column-count: 2; - column-gap: 20px; - width: 100%; - } - .tag{ - width: 23%; - margin-right:0; - } +pre { + margin-bottom: 2rem; } -.posts-td { +pre code { + display: block; border: none; - vertical-align: top; + padding: 1em; + background: none; + overflow-x: auto; } -.posts-td-link a { - display: block; +ol, ul { + list-style: outside; + padding: 0; + margin-left: 1em; } -.posts-td-time { - min-width: 100px; - white-space: nowrap; +#post-list { + margin-left: 0; } -.author { - margin-bottom: 2rem; -} - -#footer-text { - font-size: 14px; +#post-list li { + list-style-type: none; + display: flex; + font-variant-numeric: tabular-nums; } -.post-author { - margin-top: 4px; +#post-list li a { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } -pre { - border: none; - max-height: 400px; - overflow-y: auto; - scrollbar-width: none; - -ms-overflow-style: none; +#post-list a { + text-decoration: none; + color: inherit; } -pre::-webkit-scrollbar { - display: none; +time { + padding-right: 1rem; } -input { - font-family: var(--font-family); +blockquote { + margin: 1em 0; + padding: 0 2em; + border-left: 3px solid #eee; } -#search-box { - border-radius: 0; - border-color: var(--main-fg-color); - color: var(--main-fg-color) !important; - background-color: var(--main-bg-color); +img { + max-width: 100%; } -#search-btn { - border-radius: 0; - border-color: var(--main-fg-color); - color: var(--main-fg-color); - background-color: var(--main-bg-color); +a, a:visited { + color: initial; } diff --git a/index.html b/index.html deleted file mode 100644 index 365ce7b..0000000 --- a/index.html +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: default -title: ASCIIMX ---- - -
- -

UNIX / EMBED / -O3

- - {% include latest.html limit="50" %} - -
diff --git a/index.md b/index.md new file mode 100644 index 0000000..827d51e --- /dev/null +++ b/index.md @@ -0,0 +1,15 @@ +--- +layout: default +title: "Home" +--- + + + diff --git a/projects.html b/projects.html deleted file mode 100644 index 5ebc056..0000000 --- a/projects.html +++ /dev/null @@ -1,42 +0,0 @@ ---- -layout: default -title: Projects ---- - -
-

{{ page.title }}

- - {% assign n = 2 %} - {% assign projects = site.log | where: "project", true | sort: 'date' | reverse %} - {% assign rows = projects.size | divided_by: n %} - - {% assign remainder = projects.size | modulo: n %} - {% if remainder != 0 %} - {% assign rows = rows | plus: 1 %} - {% endif %} - - {% for i in (1..rows) %} - - {% assign offset = forloop.index0 | times: n %} - {% for item in projects limit:n offset:offset %} - - {% endfor %} - - {%- comment -%}Fill empty cells if this is the last row and has odd number of items{%- endcomment -%} - {% if forloop.last %} - {% assign items_in_last_row = projects.size | minus: offset %} - {% assign empty_cells = n | minus: items_in_last_row %} - {% for j in (1..empty_cells) %} - - {% endfor %} - {% endif %} - - {% endfor %} -
- {% assign parts = item.url | split: '/' %} - - {{ item.title }} -
{{ item.title }}
-
-
-
-- cgit v1.2.3