From 5ad0ee4b3005056561b4f473f7592987ec548e61 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Thu, 2 May 2019 19:35:44 -0400 Subject: Include Org sources --- haunt/css/jakob.css | 239 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 haunt/css/jakob.css (limited to 'haunt/css/jakob.css') diff --git a/haunt/css/jakob.css b/haunt/css/jakob.css new file mode 100644 index 0000000..d2e7cc2 --- /dev/null +++ b/haunt/css/jakob.css @@ -0,0 +1,239 @@ +/* Use smaller fonts and line-height on smaller screens. */ +@media (max-width: 54rem) { + body { + font-size: 14px; + line-height: 160%; + } +} + +@media (max-width: 26rem) { + body { + font-size: 12px; + line-height: 150%; + } +} + +body { + color: #4D4D4D; + background-color: #eee; + font-family: 'Cantarell', serif; + line-height: 140%; + text-rendering: optimizeLegibility; +} + +h1, h2, h3 { + font-family: 'Cantarell', sans; +} + +h1 { + font-size: 150%; + line-height: 110%; +} + +h2 { + font-size: 115%; +} + +h3 { + font-size: 100%; +} + +a { + color: #159957; + text-decoration: none; +} + +pre { + font-family: "Hack", monospace; + font-size: 90%; + line-height: 110%; + min-width: 100%; + background-color: #303539; + padding: 1rem; + color: #f0e9dc; + border-radius: 4px; + display: inline-block; +} + +code { + font-family: "Hack", monospace; +} + +blockquote { + padding-left: 2rem; + border-left: 5px solid #eee; + font-style: italic; +} + +/* Footer */ + +footer { + border-top: 1px solid #ccc; + font-size: 80%; +} + +.copyright { + text-align: center; +} + +.cc-button { + margin-left: 1rem; +} + +/* Navigation */ + +nav { + font-family: "Cantarell", sans; + padding-top: 1rem; + padding-bottom: 1rem; + border-bottom: 1px solid #eee; +} + +nav ul { + list-style-type: none; + margin: 0; + padding: 0; +} + +nav a { + display: inline-block; + color: #000; +} + +nav a:hover { + color: #000; +} + +nav a:visited { + color: #000; +} + +@media (min-width: 800px) { + nav { + margin-bottom: 3rem; + } + + nav ul { + display: inline-block; + } + + nav li { + display: inline; + padding: 1rem; + } + + nav li:first-child { + padding-left: 0; + } +} + +@media (max-width: 800px) { + nav ul { + list-style-type: none; + margin: 0; + padding: 0; + } +} + +/* Container */ + +@media (min-width: 1140px) { + .container { + margin-left: 14rem; + margin-right: 4rem; + max-width: 52rem; + } +} + +@media (min-width: 800px) and (max-width: 1140px) { + .container { + margin-left: 6rem; + margin-right: 4rem; + max-width: 52rem; + } +} + +@media (max-width: 800px) { + .container { + margin: 1rem; + } +} + +.fade-text { + color: #ddd; +} + +/* Summaries */ + +.summary { + margin-bottom: 3rem; +} + +.summary .date { + margin-bottom: 0rem; +} + +.summary p { + margin-top: 1rem; + margin-bottom: 1rem; +} + +/* Posts */ + +.date { + margin-top: -1rem; + margin-bottom: 2rem; + color: #666; +} + +.tags { + margin-top: -2rem; + color: #666; +} + +.tags ul { + display: inline; + list-style: none; + padding-left: 0; +} + +.tags li { + display: inline; + padding-right: 0.5rem; +} + +.post img, .centered-image { + display: block; + max-width: 100%; + height: auto; + margin: 0 auto; + padding: 0px; + border-radius: 4px; +} + +.post video { + display: block; + margin: 0 auto; + padding: 0px; + max-width: 100%; +} + +figcaption { + margin: 1rem 1rem 0 1rem; + color: #717171; + font-style: italic; + font-size: 90%; +} + +.footpara { + display: inline; +} + +.mastodon { + width: 70%; + margin: auto; +} + +.mastodon iframe { + width: 100%; +} -- cgit v1.3