git » jacl.git » commit eca521d

webpage tweaks

author Alan Dipert
2020-04-18 05:49:36 UTC
committer Alan Dipert
2020-04-18 05:49:36 UTC
parent 7b96549aa9bc4f1094dcc2d4c05874406aec2461

webpage tweaks

index.html.m4 +2 -0
papyrus.png +0 -0
style.css +6 -4

diff --git a/index.html.m4 b/index.html.m4
index 09ae6b8..07410a5 100644
--- a/index.html.m4
+++ b/index.html.m4
@@ -9,10 +9,12 @@
 </head>
 
 <body>
+  <main>
   <header>
     <h1>JACL: JavaScript Assisted Common Lisp</h1>
   </header>
   esyscmd(`pandoc README.md')
   <footer>Last updated: esyscmd(`date')</footer>
+  </main>
 </body>
 </html>
diff --git a/papyrus.png b/papyrus.png
new file mode 100755
index 0000000..99f2b21
Binary files /dev/null and b/papyrus.png differ
diff --git a/style.css b/style.css
index 716ea11..91bbed4 100644
--- a/style.css
+++ b/style.css
@@ -1,28 +1,30 @@
 body {
+  /* https://www.toptal.com/designers/subtlepatterns/papyrus-pattern/ */
+  background-image: url("papyrus.png");
+}
+main {
   margin: 40px auto;
   max-width: 800px;
   line-height: 1.4;
   font-size: 1.1em;
   padding: 1em;
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
+  border-radius: 0.75em;
+  background-color: white;
 }
-
 header > h1 {
   text-align: center;
   margin-top: 0;
 }
-
 h1,h2,h3 {
   font-family: serif;
   font-weight: lighter;
   color: #cc3b12;
 }
-
 footer {
   text-align: center;
   font-style: italic;  
 }
-
 h2#news + ul > li > em:first-child {
   padding-right: 0.3em;
 }