From 6d101301557a6bb0d65c715395603bc9adb85f64 Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Wed, 1 Dec 2021 12:16:20 +0000 Subject: [PATCH] remove duplicate styling, fetch from alv.cx --- styles.css | 78 +----------------------------------------------------- 1 file changed, 1 insertion(+), 77 deletions(-) diff --git a/styles.css b/styles.css index 47ded3d..1f55fc2 100644 --- a/styles.css +++ b/styles.css @@ -1,77 +1,9 @@ -body { - font-family: "Open Sans", sans-serif; - color: #454545; - font-size: 16px; - margin: 2em auto; - max-width: 800px; - padding: 1em; - line-height: 1.4; - background-color: #fefefe; - overflow-wrap: break-word; -} - -a { color: #07a; } -a:visited { color: #941352; } - -img[class="centered"] { - margin: 0 auto; - display: block; -} - -table { - border-collapse: collapse; - margin: 1em auto; - max-width: 100%; -} -th, td { - padding: 1em; - border: 1px solid #454545; - margin: 0; -} - - -pre { - background-color: #d9d9d9 ; - color: #000; - padding: 1em; - overflow-x: scroll; -} - -details { - padding: 1em 0 1em 0; -} - -summary > * { - display: inline -} - -img, video { - margin: 0 auto; - display: block; - max-width: 100%; -} - -figcaption { - margin: 0 auto; - width: max-content; -} +@import url("https://alv.cx/styles.css"); .article { margin: 1em; } -blockquote { - border-left: 0.4em solid #454545; - margin-left: 0; - padding-left: 1em; - padding-top: 0.5em; - padding-bottom: 0.5em; -} - -blockquote * { - margin: 0; -} - #searchWrapper > input { padding: 1em; margin: 1em 0.5em 1em 0.5em; @@ -106,14 +38,6 @@ blockquote * { padding: 0 } -kbd { - background-color: #d9d9d9; - border-radius: 0.25em; - padding: 0.2em; - box-shadow: 0.15em 0.15em 0 #c9c9c9; - margin-left: 0.2em; - margin-right: 0.2em; -} /* ============================================================================== Pygments (pandoc built-in style)