diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..95a9c1b --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +docker build -t scribe:latest -f ./Dockerfile . diff --git a/src/css/app.css b/src/css/app.css index 49f1b45..9b67ab6 100644 --- a/src/css/app.css +++ b/src/css/app.css @@ -43,3 +43,87 @@ figure iframe { footer p span { margin-right: 1em; } + +pre { + background-color: rgba(127, 127, 127, 0.1); + padding: 1em; + overflow-x: scroll; + width: 100%; +} + +/** + * BlackLight's mods + */ + +body { + background-color: white; + padding-left: 0; + font-family: -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Open Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + text-rendering: optimizeLegibility; +} + +article { + padding: 0 !important; +} + +section p:first-child { + font-size: 1.5em; + opacity: 0.6; + font-weight: 300; +} + +section p:not(:first-child), +section h2, +section ul, +section ol { + font-family: Avenir, Palatino, charter, Georgia, Cambria, "Times New Roman", Times, serif; +} + +section > p, +section > ul, +section > ol { + margin: 0 auto; +} + +section figure { + margin: 1em auto; +} + +section > p, +section > ul, +section > ol, +pre, +code { + width: auto; + max-width: 37.5em; +} + +section > ul, +section > ol { + margin: 2em auto; +} + +section h2, +section h3 { + margin: 1.5em auto; + text-align: center; +} + +pre { + overflow: hidden; +} + +pre, +code { + margin: 1.5em auto; + padding-bottom: 0; +} + +code { + margin: 0 !important; + width: auto !important; +} + +h1, .meta { + text-align: center; +}