Updates.
h3rald h3rald@h3rald.com
Sun, 08 Mar 2020 19:25:07 +0100
8 files changed,
38 insertions(+),
23 deletions(-)
M
assets/styles/_style.css
→
assets/styles/_style.css
@@ -33,39 +33,39 @@
h1, .h1 { font-size: 2.375rem; - line-height: calc(var(--leading) * 2); + line-height: calc(var(--leading) * 1.8); margin-top: calc(var(--leading) * 1); margin-bottom: calc(var(--leading) * 0); } h2, .h2 { - font-size: 1.75rem; - line-height: calc(var(--leading) * 2); + font-size: 2rem; + line-height: calc(var(--leading) * 1.8); margin-top: calc(var(--leading) * 1); margin-bottom: calc(var(--leading) * 0.5); } h3, .h3 { - font-size: 1.3125rem; - line-height: calc(var(--leading) * 1); + font-size: 1.5rem; + line-height: calc(var(--leading) * 1.3); margin-top: calc(var(--leading) * 1); margin-bottom: calc(var(--leading) * 0.5); } h4, .h4 { - font-size: 1rem; - line-height: calc(var(--leading) * 1); + font-size: 1.3rem; + line-height: calc(var(--leading) * 1.3); margin-top: calc(var(--leading) * 1); margin-bottom: calc(var(--leading) * 0.5); } h5, .h5 { - font-size: 1rem; - line-height: calc(var(--leading) * 1); + font-size: 1.2rem; + line-height: calc(var(--leading) * 1.3); margin-top: calc(var(--leading) * 1); margin-bottom: calc(var(--leading) * 0.5); }@@ -242,15 +242,24 @@ font-style: italic;
cursor: pointer; } +.main-header { + display: flex; + flex-direction: row; + justify-content: space-between; +} .main-header h1 { margin-top: 0.1em; } +.main-header .navlinks { + align-self: center; + text-align: left; + flex-grow: 1; +} + .logo { margin: auto; display: block; - margin-left: 20px; - /* Fix for incorrect font alignment */ } a.logo {@@ -274,7 +283,6 @@ content: none;
} .card-footer { - text-align: center; margin: auto; }@@ -369,6 +377,7 @@ color: var(--heading-text-color);
} .primary-subtitle { + margin-top: 0.5rem; color: var(secondary-text-color); }
M
contents/litestore.md
→
contents/litestore.md
@@ -11,10 +11,9 @@ summary: "A lightweight, self-contained, RESTful, multi-format NoSQL document store server written in Nim and powered by a SQLite backend for storage."
download: "https://github.com/h3rald/litestore/releases/download/" ----- -LiteStore is a lightweight, self-contained, RESTful, multi-format NoSQL document store server written in [Nim](http://nim-lang.org) and powered by a [SQLite](http://www.sqlite.org)" backend for storage. It aims to be a very simple and lightweight backend ideal for prototyping and testing REST APIs and client-side, single-page applications. +LiteStore is a lightweight, self-contained, RESTful, multi-format NoSQL document store server written in [Nim](http://nim-lang.org) and powered by a [SQLite](http://www.sqlite.org) backend for storage. It aims to be a very simple and lightweight backend ideal for prototyping and testing REST APIs and client-side, single-page applications. LiteStore is: - * **cross-platform**, you can download precompiled binaries for macOS, Linux and Windows. * **self-contained**, it's a command-line application that doesn't require installing or prerequisites: it's all in a single, small, executable file.
M
rules.min
→
rules.min
@@ -155,7 +155,7 @@ (
; Sort articles by timestamp ARTICLES (/timestamp swap /timestamp >) sort #ARTICLES ARTICLES first =latest - ARTICLES 1 4 slice =recents + ARTICLES 1 5 slice =recents ; Process summary latest input-fread "/(.+)?<hr/ms" regex 1 get latest markdown :summary latest summary %summary #latest
M
templates/_header.mustache
→
templates/_header.mustache
@@ -1,4 +1,3 @@
-<div>→ <a id="theme-switcher" title="Switch to light theme">light</a></div> <header class="main-header box"> <h1><a href="/" title="H3RALD" class="h3rald logo" alt="H3RALD"> </a></h1> <div class="navlinks">@@ -6,4 +5,5 @@ <a href="/archives" class="navbar-link navbar-left">articles</a>
· <a href="/projects" class="navbar-link navbar-right">projects</a> </div> + <div class="theme-switcher-container">◐ <a id="theme-switcher" title="Switch to light theme">light</a></div> </header>
M
templates/_panels.mustache
→
templates/_panels.mustache
@@ -30,6 +30,12 @@ </div>
<div class="panel-body"> <article> <header> + <h3><a href="/litestore/">LiteStore</a></h3> + <p class="secondary-subtitle">A self-contained, lightweight NoSQL data store, featuring a RESTful API, full-text search, JWT token validation and authorization support, server-side JavaScript middleware, and more.</p> + </header> + </article> + <article> + <header> <h3><a href="/min/">min</a></h3> <p class="secondary-subtitle">A tiny concatenative programming language and system shell, providing a small standard library with regular expression support, cryptography, file management, and more.</p> </header>
M
templates/_project.mustache
→
templates/_project.mustache
@@ -7,7 +7,13 @@ {{/active}}
{{#inactive}} <small class="label label-warning">inactive</small> {{/inactive}} + {{#home}} + <a href="{{home}}"> + {{/home}} {{title}} + {{#home}} + </a> + {{/home}} · v{{version}} </div> </div>@@ -15,11 +21,6 @@ <div class="card-body">
{{summary}} </div> <div class="card-footer"> - {{#home}} - <a href="{{home}}" class="action"> - info - </a> - {{/home}} {{#site}} <a href="{{site}}" class="action"> web site
M
templates/home.mustache
→
templates/home.mustache
@@ -3,9 +3,9 @@ <html lang="en">
{{> _head}} <body> <div class="main container-fluid"> + {{> _header}} <div class="row"> <div class="col-xs-12 col-sm-4 col-md-3 sidebar"> - {{> _header}} <div class="hidden-xs"> {{> _panels}} </div>