website

Sources for my personal website
Log | Files | Refs | README

commit 176d2526118be530d924c6a5fa07b26b7e370512
parent 1656ddb4fdf57954fd4edbbe8540d646647c1917
Author: Sven Möller <sven-moeller@outlook.de>
Date:   Sat,  1 Jan 2022 21:58:50 +0100

Fun css

Diffstat:
Mindex.md | 6+++++-
Mstatic/style.css | 63+++++++++++++++++++++++++++++++++++++++++++++++++++++----------
2 files changed, 58 insertions(+), 11 deletions(-)

diff --git a/index.md b/index.md @@ -15,7 +15,11 @@ This is my personal website. * [This website](README.md) * [Bookmarking script](https://gitlab.com/svemoe/dotfiles/-/blob/master/bin/.local/bin/bm) -## Links +## On this site + + + +## External Links * [GitHub](https://github.com/svemoe) * [GitLab](https://gitlab.com/svemoe) diff --git a/static/style.css b/static/style.css @@ -2,22 +2,65 @@ body { max-width: 800px ; margin: 16px auto ; padding: 0 16px ; - font-family: sans-serif; + font-family: monospace; } -a[href^="https://"]:not([href*="svenmoeller.xyz"]):after { - content: " " url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=); +h1,h2 { + color: #EF6C01; +} + +h1:before { + content: "# "; +} + +h2:before { + content: "## "; +} + +a:before { + content: "[" +} + +a:after { + content: "]" +} + +a { + text-decoration: none; + color: #20A2FE +} + +blockquote p::before { + color: #87B04C; +} + +blockquote p:before { + content: "> " +} + +blockquote { + margin-left: 0px; +} + +ul { + padding-left: 0; +} + +ul li { + list-style: none; +} + +ul li:before { + content: "* "; +} + +ul li::before { + color: #DAA521 } @media (prefers-color-scheme: dark) { body { - background: #151515 ; + background: black ; color: white ; } - a { - color: lightblue ; - } - a:visited { - color: gray ; - } }