experiment with linking h1
[~bandali/bndl.org] / style.css
index 9d3f78e..cb676e4 100644 (file)
--- a/style.css
+++ b/style.css
@@ -5,26 +5,36 @@ article, aside, footer, header, nav, section {
 
 body {
   font-family: FreeSans, sans-serif;
+  text-transform: lowercase;
+  line-height: 1.4;
   padding: 1em;
 }
 
 main {
   margin: auto;
-  max-width: 38em;
 }
 
-body > header {
-  margin-bottom: 2em !important;
+main > header {
+  margin-bottom: 1em;
 }
+
 #title {
   font-size: 2.1em;
   font-weight: normal;
   margin-bottom: 0;
 }
 #title:after {
-  content: ".org";
+  content: ".eu.org";
   color: #dadada;
 }
+#title a {
+  color: inherit;
+  border-bottom: 1px solid #eaeaea;
+}
+#title a:hover {
+  background-color: whitesmoke;
+  border-bottom-color: #e3e3e3;
+}
 #subtitle {
   display: inline;
   font-weight: normal;
@@ -44,6 +54,7 @@ article h3 {
 
 code {
   font-size: 1.15em;
+  text-transform: none;
 }
 
 table td {
@@ -72,8 +83,9 @@ nav li:last-child:after {
 
 main {
   display: grid;
-  grid-template-columns: auto 38em auto;
-  grid-gap: 1em;
+  grid-template-columns: auto 32em auto;
+  grid-column-gap: 1.5em;
+  grid-row-gap: 1em;
 }
 
 main > h3 {
@@ -87,10 +99,44 @@ main > header, main > section {
   grid-column: 2;
 }
 
-main > h3:first-of-type, section:first-of-type > p, section:first-of-type ul {
+main > h3, ul:first-child {
+  margin-top: 0;
+  margin-bottom: 0;
+}
+p:first-child {
+  margin-top: 0;
+}
+p:last-child {
   margin-bottom: 0;
 }
 
-main > h3:last-of-type, section:last-of-type > p, section:last-of-type ul {
+#publications section {
+  text-transform: none;
+}
+dl {
+  margin: 0 0 0.5em 0;
+}
+dl:last-child {
+  margin: 0;
+}
+dt {
+  margin-bottom: 0.5em;
+}
+dd {
+  margin-left: 1.5em;
+}
+#publications dd, .plinks {
+  font-size: 0.9em;
+}
+/*
+ol {
+  margin: 0;
+  padding: 0;
+}
+ol li {
+  margin-top: 0.5em;
+}
+ol li:first-child {
   margin-top: 0;
 }
+*/