diff --git a/src/css/app.css b/src/css/app.css index 3799385..dc5a471 100644 --- a/src/css/app.css +++ b/src/css/app.css @@ -41,3 +41,81 @@ pre { 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; +} +