From 81c60ac0c5a16a3158067064926141a7f3bf9699 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 4 Feb 2025 19:52:34 +0100 Subject: feat(src): Improve index.html and add a style.css --- src/index.html | 11 ++++++++--- src/style.css | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 src/style.css (limited to 'src') diff --git a/src/index.html b/src/index.html index c57c47a..a2cd076 100644 --- a/src/index.html +++ b/src/index.html @@ -1,8 +1,13 @@ - - + + + + + + Benedikt's Website + +

Hi!

For a list of my dead-tree (i.e. paper) projects look here

- diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..c245d20 --- /dev/null +++ b/src/style.css @@ -0,0 +1,50 @@ +a:link, a:visited { + color: #005386; +} + +ul a { + text-decoration: none; +} + +body { + margin:40px auto; + max-width:650px; + line-height:1.6; + font-size:18px; + padding:0 10px +} + +img { + max-width:100%; + display: block; + margin: 0 auto; +} + +@media (prefers-color-scheme: dark) { + body { + color: #ffffff; + background: #212121; + margin:40px auto; + max-width:650px; + line-height:1.6; + font-size:18px; + padding:0 10px + } + + h1, h2, h3 { + line-height:1.2 + } + + a:link, a:visited { + color: #58a6ff; + } + + ul a { + text-decoration: none; + } + + ul a:visited { + text-decoration: none; + color: #8e96f0; + } +} -- cgit 1.4.1