commit another bunch of changes
[~bandali/bndl.org] / style.css
index e5d2862..c460723 100644 (file)
--- a/style.css
+++ b/style.css
@@ -4,21 +4,38 @@ article, aside, footer, header, nav, section {
 }
 
 body {
-  font-family: FreeSans, sans-serif;
+  font-family: sans-serif;
+  line-height: 1.6;
   padding: 1em;
 }
 
-body > header {
-  margin-bottom: 2em !important;
+nav, main, footer {
+  margin: auto;
+  max-width: 38rem;
 }
-#title {
-  font-size: 2.1em;
-  font-weight: normal;
-  margin-bottom: 0;
+
+nav {
+  font-size: 0.84em;
+}
+main {
+  /* margin-top: 1em; */
+  margin-bottom: 3em;
+  /* margin-top: 2%; */
 }
-#title:after {
-  content: ".org";
-  color: #dadada;
+footer {
+  border-top: 1px solid #bbb;
+  padding-top: 1em;
+}
+footer p {
+  margin: 0;
+  font-size: 0.84em;
+}
+
+#hiddentitle {
+  font-size: 0;
+}
+h1 {
+  font-size: 1.5em;
 }
 #subtitle {
   display: inline;
@@ -28,8 +45,28 @@ body > header {
 }
 
 a {
+  color: #295bad;
   text-decoration: none;
-  outline: 0;
+}
+a:hover, a:focus {
+  transition-property: background;
+  transition-duration: 0.1s;
+  background: #f2f8fa;
+  padding: 0.25em 0;
+  color: #0745ad;
+}
+a:active {
+  color: #a10029;
+}
+/*
+a:active {
+  color: #06d;
+  box-shadow: 0 1px 1px #ddd;
+}
+*/
+
+h4 {
+  margin: 0.75em auto;
 }
 
 article h3 {
@@ -37,8 +74,27 @@ article h3 {
   color: #777;
 }
 
+.notice {
+  background-color: #efefef;
+  text-align: center;
+  position: relative;
+}
+.notice::before {
+  content: "↪";
+  position: absolute;
+  left: 0.5em;
+  bottom: 0.05em;
+}
+.notice::after {
+  content: "↩";
+  position: absolute;
+  right: 0.5em;
+  bottom: 0.05em;
+}
+
 code {
   font-size: 1.15em;
+  text-transform: none;
 }
 
 table td {
@@ -51,39 +107,49 @@ table td:last-child {
   padding-right: 0
 }
 
-nav ul {
-  list-style-type: none;
-  padding: 0;
+dl {
+  margin: 0 0 0.5em 0;
 }
-nav li {
-  display: inline;
+dl:last-child {
+  margin: 0;
 }
-nav li:after {
-  content: "\00a0\00b7";
+dt {
+  margin-bottom: 0.15em;
 }
-nav li:last-child:after {
-  content: "";
+dd {
+  font-size: 0.9em;
+  margin-left: 1.5em;
+  margin-bottom: 0.75em;
+}
+.plinks {
+  font-size: 0.9em;
 }
 
-section {
+ul, ol {
+  list-style: none;
+  padding-left: 1.5em;
   position: relative;
 }
-section > h3 {
+
+li {
+  margin-bottom: 0.25em;
+}
+
+ul > li::before {
+  content: '•';
   position: absolute;
-  right: 75%;
-  width: 25%;
-  margin: 0;
-  padding: 0 1em 0 0; /* 1.75 */
-  font-weight: normal;
-  font-size: 1em;
-  text-align: right;
-  white-space: nowrap;
+  left: 0.5em;
 }
-section > .section, article > .section, body > header {
-  position: relative;
-  left: 25%;
-  width: 50%;
+
+/*
+ol {
   margin: 0;
   padding: 0;
-  max-width: 38em;
 }
+ol li {
+  margin-top: 0.5em;
+}
+ol li:first-child {
+  margin-top: 0;
+}
+*/