aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-10-26 19:02:59 -0700
committerFranck Cuny <franck@fcuny.net>2022-10-26 19:09:44 -0700
commitab51b52b548daa0feff8868a9c5680894ff13775 (patch)
treeeb5a6f981197273a34b691134c4c7d466dc3d061
parentref(layout): remove the list of post from the main page (diff)
downloadfcuny.net-ab51b52b548daa0feff8868a9c5680894ff13775.tar.gz
ref(css): clean up and adjust a few things
-rw-r--r--static/css/custom.css36
1 files changed, 20 insertions, 16 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
index 70ce618..07825ee 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -1,16 +1,18 @@
body {
- font-family: sans-serif;
font-size: 1em;
- line-height: 1.8em;
- color: #0e0e0b;
+ color: #111;
margin: 1em auto;
padding: 0 0.55em;
- max-width: 50rem;
+ max-width: 49rem;
+}
+
+h1,h2,h3,h4 {
+ font-family: monospace;
}
h1 {
color: #0e0e0b;
- font-size: 2rem;
+ font-size: 1.4rem;
margin-top: 1em;
margin-bottom: 0.34em;
}
@@ -87,11 +89,9 @@ pre {
}
#meta_tags {
- border-radius: 8px;
padding: 0 .5rem;
font-size: 0.9rem;
border: 2px solid #eee;
- background-color: #eee;
}
#meta_tags a {
@@ -115,15 +115,18 @@ td{
padding-right: 0.7em;
padding-top: 0.4em;
padding-bottom: 0.4em;
+ padding-left: : 0.7em;
}
thead {
- color: #000;
- font-style: bold;
- text-align: left;
+ color: #000;
+ font-style: bold;
+ text-align: left;
}
table, th, td {
- font-family: monospace;
- color: #000;
+ font-family: monospace;
+ border: 1px solid;
+ border-collapse: collapse;
+ color: #000;
}
blockquote {
@@ -135,13 +138,11 @@ blockquote {
}
nav {
- padding-right: 10px;
font-size: 1.4em;
display: flex;
font-family: monospace;
justify-content: space-between;
align-items: center;
- padding-top: 0.5rem;
}
.nav-links {
@@ -149,14 +150,17 @@ nav {
display: flex;
}
+.nav-item {
+ margin-left: 10px;
+}
+
.navbar a {
display: inline-block;
text-decoration: none;
}
.navbar a:hover {
- background-color: #b72d2d;
- color: #fafafa;
+ color: #000000;
text-decoration: none;
}