From: Ruben Beltran del Rio Date: Thu, 26 Sep 2024 20:37:59 +0000 (+0200) Subject: New style for links in the first column X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/69c55f3c1218d59e38a02f8dda3ba42631b24798?ds=sidebyside;hp=e39d0bb421013a8e652e25c1724beceeec0e6188 New style for links in the first column --- diff --git a/blog.gmi b/blog.gmi index 8b83a23..94c2a11 100644 --- a/blog.gmi +++ b/blog.gmi @@ -4,8 +4,8 @@ Command line tool to author and manage a semi-ephemeral™ blog with a gemini archive. -=> https://git.r.bdr.sh/rbdr/blog view source @ git.r.bdr.sh -=> https://git.sr.ht/~rbdr/blog source mirror @ sourcehut +=> https://git.r.bdr.sh/rbdr/blog ⧇ source +=> https://git.sr.ht/~rbdr/blog ⧉ mirror ## Install diff --git a/css/style.css b/css/style.css index a7d71c3..e00fdb0 100644 --- a/css/style.css +++ b/css/style.css @@ -1,5 +1,4 @@ html { scroll-behavior: smooth } - body { font-size: 1em; font: -apple-system-body; @@ -7,100 +6,98 @@ body { font-feature-settings: "liga" 1, "dlig" 1, "pnum" 1; line-height: 1.6; letter-spacing: 0.02em; - text-align: justify; } - aside { clear: both; - padding-top: 2em; + padding: 2em; } - ::selection { - color: #00f; background-color: #e8e8e8; + color: #00f; } - @media only screen and (min-width: 500px) { body { overflow-x: auto } - main { padding: 0 64px 0 84px } - + main { padding: 0 64px 0 124px } h1 a { display: block; width: 64px; } - - .columned { width: max-content } - - .columned .h2:not(:only-child) { - float: left; - margin: 0 40px 0 0; - } - - .columned .h2:not(:only-child) h2 { width: 14.6em } - - .columned .h2:not(:only-child) .h3, - .columned .h2:not(:only-child) li, - .columned .h2:not(:only-child) p { width: 24em } - .columned .h2:not(:only-child) pre { width: 25em } - header { float: left; margin-top: 0.8em; } + .columned { + width: max-content; + + .h2:not(:only-child) { + float: left; + margin: 0 60px 0 0; + + h2 { max-width: 14.6em } + .h3, + li, + p { max-width: 24em } + pre { max-width: 25em } + } + + .h2:first-of-type { + columns: 3; + width: 24em; + + pre[role="img"]:first-of-type { margin-top: 1.64em } + h2:empty {display: none} + h2, + pre, + ul, + p:not(.a) { column-span: all } + p { break-after: column } + p.a { break-after: avoid } + } + } } -.columned .h2:first-of-type pre { line-height: 1 } - .a { margin: 0 0.3em } +pre { + background-color: #eee; + font-family: courier, monospace; + font-size: 0.875em; + max-width: 55em + overflow-x: auto; + padding: 1em; +} +pre[role="img"] { line-height: 1 } blockquote, p, article > div { max-width: 45em } -pre { max-width: 55em } blockquote { border-left: 4px solid #ccc; padding-left: 10px; } - br { display: none } h1, h2, h3 { font-weight: normal } h1 { font-size: 2em } h2 { font-size: 1.65em } h3 { font-size: 1.25em } header h1 { font-size: 1em } -pre { - font-family: courier, monospace; - font-size: 0.875em; - background-color: #eee; - overflow-x: auto; - padding: 1em; -} canvas { - width: 64px; - height: 64px; - display: block; background-color: #000; border: 1px solid #000; + display: block; + height: 64px; + width: 64px; } @media (prefers-color-scheme: dark) { body { - color: #fff; background: #000; + color: #fff; } - canvas { background-color: #fff; border: 1px solid #fff; } - - a { - color: #5dc1fd; - display: inline-block; - min-height: 48px; - } - + a { color: #5dc1fd } a:visited { color: #ed6eff } - pre { background-color: #222 } } diff --git a/flat_bezel.gmi b/flat_bezel.gmi index b47c2ee..8f59efe 100644 --- a/flat_bezel.gmi +++ b/flat_bezel.gmi @@ -4,8 +4,9 @@ A UI for Quicksilver[1], that takes inspiration from the default Bezel view. +=> https://git.r.bdr.sh/rbdr/Flat-Bezel.qsplugin ⧇ source +=> https://git.sr.ht/~rbdr/Flat-Bezel.qsplugin ⧉ mirror => https://qsapp.com [1] Quicksilver -=> https://git.sr.ht/~rbdr/Flat-Bezel.qsplugin → view source. You may need to allow the plugin to run in "Privacy & Security" in your system settings. diff --git a/index.gmi b/index.gmi index a3030bf..0235af7 100644 --- a/index.gmi +++ b/index.gmi @@ -19,15 +19,15 @@ I am Rubén Beltrán del Río. I make software and am online. You can find all m => /.plan ⚐ .plan => /learning.txt ☝︎ learning.txt => gemini://r.bdr.sh/guestbook ✍︎ guestbook -──────────── + => https://pixelfed.de/minoltacos ✧ pictures => https://friendship.quest/@ruben ☹︎ social media => https://links.srv.bdr.sh/bookmarks/shared ♡ bookmarks => https://myspace.bandcamp.com/ ♬ music -──────────── + => mailto:contact@r.bdr.sh ✉︎ e-mail => /pub.txt ✶ gpg key -=> /messages_key.txt ✷ messages key +=> /messages_key.txt ✷ contact key ## Apps I ### Captura diff --git a/lyricli.gmi b/lyricli.gmi index 6da005b..8df87b6 100644 --- a/lyricli.gmi +++ b/lyricli.gmi @@ -4,8 +4,8 @@ Command line tool that shows lyrics for your currently playing song in the terminal, supports spotify and apple music on macos, and most linux music players. -=> https://git.r.bdr.sh/rbdr/lyricli view source (git.r.bdr.sh) -=> https://git.sr.ht/~rbdr/lyricli view source (sourcehut mirror) +=> https://git.r.bdr.sh/rbdr/lyricli ⧇ source +=> https://git.sr.ht/~rbdr/lyricli ⧉ mirror ## Install diff --git a/mac_file_attributes.gmi b/mac_file_attributes.gmi index 2c765fa..cb77e2e 100644 --- a/mac_file_attributes.gmi +++ b/mac_file_attributes.gmi @@ -2,8 +2,8 @@ This list contains extensions and their Type and Creator for vintage Mac OS (System 9 and below). I'm populating this list as I encounter them, so it's not a very long list. There are other resources available[1], but some of the files listed here might not be there. I use DropAttribute to change the files[2]. -=> https://websites.umich.edu/~archive/mac/misc/documentation/exttotypemappings.txt [1] An Extnesive List -=> https://macintoshgarden.org/apps/dropattribute [2] DropAttribute @ Macintosh Garden +=> https://websites.umich.edu/~archive/mac/misc/documentation/exttotypemappings.txt [1] A Big List +=> https://macintoshgarden.org/apps/dropattribute [2] DropAttribute ``` Extension Type Creator Comment diff --git a/nginx_office_hours.gmi b/nginx_office_hours.gmi index dbc2480..8f5ce13 100644 --- a/nginx_office_hours.gmi +++ b/nginx_office_hours.gmi @@ -4,8 +4,8 @@ Or ngx_http_office_hours_filter_module for short, it's a module for nginx that lets you specify a schedule and only serve content during that time. -=> https://git.r.bdr.sh/rbdr/ngx_http_office_hours_filter_module view source @ git.r.bdr.sh -=> https://git.sr.ht/~rbdr/ngx_http_office_hours_filter_module source mirror @ sourcehut +=> https://git.r.bdr.sh/rbdr/ngx_http_office_hours_filter_module ⧇ source +=> https://git.sr.ht/~rbdr/ngx_http_office_hours_filter_module ⧉ mirror ## Install diff --git a/nota.gmi b/nota.gmi index 15bc151..ebcceac 100644 --- a/nota.gmi +++ b/nota.gmi @@ -9,8 +9,8 @@ Tools to work with notes and tasks in neovim. It allows you to: * Open and capture learning entries in a learning file * Manage tasks in your notes, including views to find open and important tasks, rescheduling and capturing. -=> https://git.r.bdr.sh/rbdr/nota.nvim view source @ git.r.bdr.sh -=> https://git.sr.ht/~rbdr/nota.nvim source mirror @ sourcehut +=> https://git.r.bdr.sh/rbdr/nota.nvim ⧇ source +=> https://git.sr.ht/~rbdr/nota.nvim ⧉ mirror ## Installation diff --git a/oleoboard.gmi b/oleoboard.gmi index 851935c..9cfae47 100644 --- a/oleoboard.gmi +++ b/oleoboard.gmi @@ -9,11 +9,10 @@ When summoned it will load the directories in the current directory as columns s It depends on oil[1] to provide the file management functionality. +=> https://git.r.bdr.sh/rbdr/oleoboard.nvim ⧇ source +=> https://git.sr.ht/~rbdr/oleoboard.nvim ⧉ mirror => https://github.com/stevearc/oil.nvim [1] oil.nvim -=> https://git.r.bdr.sh/rbdr/oleoboard.nvim view source @ git.r.bdr.sh -=> https://git.sr.ht/~rbdr/oleoboard.nvim source mirror @ sourcehut - ## Installation ### lazy.nvim diff --git a/page.gmi b/page.gmi index fc7e7a2..8c57fec 100644 --- a/page.gmi +++ b/page.gmi @@ -4,8 +4,8 @@ Command line tool to generate a static website and gemini capsule from a directory with gemtext. Written in rust! -=> https://git.r.bdr.sh/rbdr/page view source @ git.r.bdr.sh -=> https://git.sr.ht/~rbdr/page source mirror @ sourcehut +=> https://git.r.bdr.sh/rbdr/page ⧇ source +=> https://git.sr.ht/~rbdr/page ⧉ mirror ## Install