diff --git a/static/index.css b/static/index.css index d2e9cd8..ee08958 100644 --- a/static/index.css +++ b/static/index.css @@ -1,12 +1,20 @@ body { font-size: calc(14px + 0.11vw); - width: clamp(373px, 45vw, 50vw); - color: black; + width: clamp(373px, 60vw, 80vw); + color: #222222; margin: auto; padding: 2px; font-family: 'Helvetica Neue', 'Arial Nova', sans-serif; } +a { + color: teal; +} + +a:visited { + color: darkgreen; +} + nav { font-size: calc(16px + 0.33vh); display: flex; @@ -27,10 +35,18 @@ nav > * { @media (prefers-color-scheme: dark) { html { - background-color: #222222; + background-color: #222222; } - body * { - color: lightgrey; + body, body * { + color: lightgrey; } + + a { + color: lightyellow; + } + + a:visited { + color: cyan; + } } diff --git a/views/blog_index.eml.ml b/views/blog_index.eml.ml index f5b2017..2544635 100644 --- a/views/blog_index.eml.ml +++ b/views/blog_index.eml.ml @@ -2,7 +2,10 @@ let render ~posts = let open Database in

Blog

+

+ The ramblings of a mad man. I have an RSS feed too. +


% posts |> List.iter begin fun (post : Blog_post.t) -> @@ -14,4 +17,4 @@ let render ~posts = <%s post.date %> -% end; \ No newline at end of file +% end;