summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authora73x <[email protected]>2024-09-02 18:32:22 +0100
committera73x <[email protected]>2024-09-02 18:32:22 +0100
commit94392c082192b1fc69fda2954e7b60eb0b741a72 (patch)
treefd263673d577fd093162f74b1e6e08a2770a6b15 /templates/layouts
parent4303b1c281ea814ca493534d12451c485a9a763d (diff)
feat(html): new css styling
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/_default.html20
1 files changed, 18 insertions, 2 deletions
diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html
index ada283c..0762919 100644
--- a/templates/layouts/_default.html
+++ b/templates/layouts/_default.html
@@ -17,16 +17,31 @@
font-weight: normal;
font-style: normal;
}
+
+ code:not(pre > code) {
+ background-color: #f0f0f0;
+ padding: 0.2em 0.4em;
+ border-radius: 3px;
+ }
+
+ blockquote {
+ border-left: 2px solid #000000;
+ padding-left: 10px;
+ }
+
code {
font-family: "Mono";
}
+
h1 {
margin-bottom: 0;
}
+
body {
max-width: 70ch;
font-family: "Mono";
}
+
nav ul {
display: flex;
list-style: none;
@@ -53,9 +68,10 @@
</nav>
{{ template "content" . }}
<footer>
- <br />​<hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
+ <br />​
+ <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
<p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ </footer>
</body>
</html>