fix publications anchor positioning
[~bandali/bndl.org] / static / style.css
index 1036bbd..af65a18 100644 (file)
@@ -101,9 +101,20 @@ article h3 {
   bottom: 0.05em;
 }
 
-.center-text {
+.center {
   text-align: center;
 }
+.justify {
+  text-align: justify;
+}
+
+details {
+  margin: 1em 0;
+  padding: 0.5em;
+}
+details summary {
+  cursor: pointer;
+}
 
 sup, sub {
   position: relative;
@@ -143,10 +154,6 @@ blockquote#abstract {
   text-align: justify;
 }
 
-pre, code {
-  background: #f6f6f6;
-  font: 1.15em monospace;
-}
 pre {
   display: inline-block;
   margin: 0.5em 0;
@@ -164,11 +171,20 @@ code {
   text-transform: none;
   padding: .2em .3em;
 }
-strong {
-  font-weight: bold;
+
+/* box effect */
+.box, details, pre, code {
+  background-color: #f8f8f8;
+  border: 1px solid #e6e6e6;
+  border-radius: 4px;
+  box-sizing: border-box;
 }
-em {
-  font-style: italic;
+details pre {
+  border: none;
+}
+p.box {
+  font-size: 0.95em;
+  padding: 0.3em 0.6em;
 }
 
 table td {
@@ -209,9 +225,6 @@ small, dd, .small, .bibtexnumber, .bibtexitem, .bibtex2html {
 .inbox, .bibtex2html {
   margin-top: 2em;
 }
-.justify {
-  text-align: justify;
-}
 
 li, dd {
   margin-bottom: 0.25em;
@@ -233,3 +246,7 @@ li, dd {
 .warn {
   color: #a10029;
 }
+
+#bandali-bib > a {
+  display: block
+}