summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2019-04-16 23:08:40 +0200
committerPaweł Redman <pawel.redman@gmail.com>2019-04-16 23:08:40 +0200
commitaa98ba3a2e5ef362cbde5bd0eb2a10f03485220a (patch)
treef1ca63dcec01cb6eb269a13eb295be574098ea9f
parent0af57b8879ccb95b8458e6407e36210631a47ea9 (diff)
Improve the overall layout; add link galleries
-rw-r--r--styles/opticks.css26
1 files changed, 24 insertions, 2 deletions
diff --git a/styles/opticks.css b/styles/opticks.css
index bfd4eca..4d55d75 100644
--- a/styles/opticks.css
+++ b/styles/opticks.css
@@ -18,6 +18,7 @@ html {
/* The page */
body {
width: 80%;
+ max-width: 65em;
margin-left: auto;
margin-right: auto;
margin-top: 2em;
@@ -66,7 +67,7 @@ body {
#content {
padding-bottom: 0.6em;
overflow: auto;
- padding: 1em;
+ padding: 2em;
min-height: 10em;
background-color: white;
@@ -130,7 +131,7 @@ a:active {
}
/* Inline code and code blocks */
-code, pre.code {
+pre, code, pre.code {
font-family: monospace;
white-space: pre;
}
@@ -537,3 +538,24 @@ fieldset, div.input, div.selection, div.other {
.toolbutton {
background: white;
}
+
+/*
+ FRONT PAGE LINK GALLERIES
+*/
+
+div.link-gallery {
+ text-align: center;
+}
+
+div.link-gallery > div {
+ display: inline-block;
+ margin-left: 1em;
+ margin-right: 1em;
+}
+
+div.link-gallery > div > span {
+ display: block;
+
+ font-size: 130%;
+ font-variant: small-caps;
+}