about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-12-01 17:16:04 -0800
committerFranck Cuny <franck@fcuny.net>2023-12-01 17:16:04 -0800
commite5dd727c6d55ca41d2043bd870ae0bb49ecd9a68 (patch)
tree08aa23b7983d6244e465d16e9439b0578439cb3f
parentsome minor tweaks to the CSS (diff)
downloadfcuny.net-e5dd727c6d55ca41d2043bd870ae0bb49ecd9a68.tar.gz
some more CSS tweaks
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/postlist.html2
-rw-r--r--static/css/custom.css29
3 files changed, 18 insertions, 15 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 48c805e..8f8156a 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -3,7 +3,7 @@
     <a class="nav-bold" href="{{ .Site.BaseURL }}">about</a>
     <ul class="nav-links">
       {{ range .Site.Menus.main }}
-      <li class="nav-item"><a href="{{ absURL .URL }}">{{ .Title }}</a></li>
+      <li class="nav-item"><a class="nav-bold" href="{{ absURL .URL }}">{{ .Title }}</a></li>
       {{ end }}
     </ul>
   </nav>
diff --git a/layouts/partials/postlist.html b/layouts/partials/postlist.html
index 575f0b8..a08c016 100644
--- a/layouts/partials/postlist.html
+++ b/layouts/partials/postlist.html
@@ -2,7 +2,7 @@
   {{ range .GroupByDate "2006" }}
   {{ range .Pages.ByDate.Reverse }}
   <li>
-    <span class="content-title"><strong><a href="{{ .Permalink }}">{{ .Title }}</a></strong></span>
+    <span class="content-title"><a href="{{ .Permalink }}">{{ .Title }}</a></span>
     <span class="content-date"><em>posted on {{ .Date.Format "Jan 2, 2006" }}</em></span>
   </li>
   {{ end }}
diff --git a/static/css/custom.css b/static/css/custom.css
index d70155f..ff11c59 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -3,9 +3,10 @@ body {
   margin: 1em auto;
   padding: 0 0.55em;
   max-width: 50rem;
-  line-height: 1.3;
-  font-size: 1.08em;
-  background-color: rgb(255, 248, 231);
+  line-height: 1.5;
+  font-family: sans-serif;
+  font-size: 16px;
+  background-color: rgb(255, 252, 246);
 }
 
 h1,h2,h3,h4 {
@@ -18,9 +19,8 @@ h1#header {
 }
 
 h1 {
-  font-size: 1.2rem;
-  margin-top: 1em;
-  margin-bottom: 0.34em;
+  font-size: 30px;
+  margin-bottom: 2px;
 }
 
 h2 {
@@ -30,9 +30,13 @@ h2 {
 }
 
 a {
-  color: #4d76ae;
+    color: rgb(16, 16, 16);
 }
 
+/* a:link { */
+/*     text-decoration: none; */
+/* } */
+
 a:link,
 a:hover,
 a:focus,
@@ -54,7 +58,7 @@ code {
   font-family: monospace;
   font-size: 95%;
   padding: 0.2rem;
-  background-color: #eee;
+  background-color: #f2f1eb;
   color: #000;
   border-radius: 4px;
 }
@@ -70,7 +74,7 @@ pre {
   word-wrap: normal;
   padding: 0.8em;
   overflow-x: auto;
-  background-color: #f0f0f0;
+  background-color: #f2f1eb;
 }
 
 #meta {
@@ -126,7 +130,6 @@ blockquote {
 
 nav {
   align-items: center;
-  border-bottom: 0.2em solid #047bc2;
   display: flex;
   font-family: monospace;
   font-size: 1.1em;
@@ -163,18 +166,18 @@ nav h2 a {
 
 .nav-bold {
   text-decoration: none;
-  color: #2a3439;
+  color: rgb(16, 16, 16);
 }
 
 ul.list-content {
   list-style: none;
   padding: 0;
   line-height: 2em;
-  font-family: monospace;
+  /* font-family: monospace; */
 }
 
 article {
-  text-align: justify;
+    text-align: justify;
 }
 
 .post-permalink {