diff options
author | Silas Bartha <[email protected]> | 2024-11-30 19:45:41 +0000 |
---|---|---|
committer | Silas Bartha <[email protected]> | 2024-11-30 19:45:41 +0000 |
commit | adfce7bf15d1f1b03353b161c2cbdabebfb56aa5 (patch) | |
tree | c37f652ad61881d45c421b9281f360b789212593 | |
parent | 4c132c581809bb1429b4a714340f99ca3b586ae6 (diff) |
Sat Nov 30 07:45:41 PM UTC 2024
-rw-r--r-- | content/_index.md | 4 | ||||
-rw-r--r-- | sass/style.scss | 38 |
2 files changed, 39 insertions, 3 deletions
diff --git a/content/_index.md b/content/_index.md index 9977fe4..add14ca 100644 --- a/content/_index.md +++ b/content/_index.md @@ -10,7 +10,7 @@ title = "hello" find me in other places -- mail: [[email protected]](mailto:[email protected]) -- github: [exvacuum](https://github.com/exvacuum) +- mail: <a href="mailto:[email protected]" rel="me">[email protected]</a> +- github: <a href="https://github.com/exvacuum" rel="me">@exvacuum</a> - youtube: [@silasbartha](https://youtube.com/@silasbartha) - mastodon: <a href="https://furry.engineer/@exvacuum" rel="me">@[email protected]</a> diff --git a/sass/style.scss b/sass/style.scss index 3131fed..7611a8d 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -23,9 +23,22 @@ /// }}} +h1 { + margin: 0; +} + +html { + background-color: everforest.$bg0; + height: 100%; +} + body { color: everforest.$fg; background-color: everforest.$bg1; + margin: 0 auto; + max-width: 800px; + padding: 10px; + min-height: 100%; } a { @@ -38,7 +51,30 @@ img { } pre { - padding: 5px; + padding: 1rem; + overflow: auto; +} +/* The line numbers already provide some kind of left/right padding */ +pre[data-linenos] { + padding: 1rem 0; +} +pre table td { + padding: 0; +} +/* The line number cells */ +pre table td:nth-of-type(1) { + text-align: center; + user-select: none; +} +pre mark { + /* If you want your highlights to take the full width */ + display: block; + /* The default background colour of a mark is bright yellow */ + background-color: rgba(254, 252, 232, 0.9); +} +pre table { + width: 100%; + border-collapse: collapse; } .wip-indicator { |