adjust theming
This commit is contained in:
@@ -1,12 +1,20 @@
|
|||||||
body {
|
body {
|
||||||
font-size: calc(14px + 0.11vw);
|
font-size: calc(14px + 0.11vw);
|
||||||
width: clamp(373px, 45vw, 50vw);
|
width: clamp(373px, 60vw, 80vw);
|
||||||
color: black;
|
color: #222222;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
font-family: 'Helvetica Neue', 'Arial Nova', sans-serif;
|
font-family: 'Helvetica Neue', 'Arial Nova', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: teal;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:visited {
|
||||||
|
color: darkgreen;
|
||||||
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
font-size: calc(16px + 0.33vh);
|
font-size: calc(16px + 0.33vh);
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -30,7 +38,15 @@ nav > * {
|
|||||||
background-color: #222222;
|
background-color: #222222;
|
||||||
}
|
}
|
||||||
|
|
||||||
body * {
|
body, body * {
|
||||||
color: lightgrey;
|
color: lightgrey;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: lightyellow;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:visited {
|
||||||
|
color: cyan;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,10 @@ let render ~posts =
|
|||||||
let open Database in
|
let open Database in
|
||||||
<div>
|
<div>
|
||||||
<h3>Blog</h3>
|
<h3>Blog</h3>
|
||||||
|
<p>
|
||||||
|
The ramblings of a mad man.
|
||||||
I have an <a href="/blog/rss.xml">RSS feed</a> too.
|
I have an <a href="/blog/rss.xml">RSS feed</a> too.
|
||||||
|
</p>
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
% posts |> List.iter begin fun (post : Blog_post.t) ->
|
% posts |> List.iter begin fun (post : Blog_post.t) ->
|
||||||
|
|||||||
Reference in New Issue
Block a user