From 54dd7078bb74b24e1428aee743bbe8715f549824 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 6 Aug 2023 12:39:04 -0400 Subject: [PATCH] Updating css. --- assets/css/style.scss | 68 ++++++++++++++++++++++++++----------------- 1 file changed, 42 insertions(+), 26 deletions(-) diff --git a/assets/css/style.scss b/assets/css/style.scss index 56cd21d..00a5201 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -3,20 +3,20 @@ /*serif*/ @font-face { - font-family: 'Lexend'; - font-weight: normal; - font-style: normal; - src: url('/essays/assets/css/fonts/Lexend-Regular.ttf') + font-family: "Lexend"; + font-weight: normal; + font-style: normal; + src: url("/essays/assets/css/fonts/Lexend-Regular.ttf"); } @font-face { - font-family: 'Lexend'; - font-weight: bold; - font-style: normal; - src: url('/essays/assets/css/fonts/Lexend-Bold.ttf') + font-family: "Lexend"; + font-weight: bold; + font-style: normal; + src: url("/essays/assets/css/fonts/Lexend-Bold.ttf"); } -#a-title > h1:nth-child(1) { +#a-title > h1:nth-child(1) { font-size: 0.8em; margin-bottom: 2px; line-height: initial; @@ -29,31 +29,47 @@ a.btn.btn-github { line-height: initial; } -table, td, th { +table, +td, +th { border: 1px solid gray; border-collapse: collapse; } -a:link {color:#4eb289} -a:hover, a:visited:hover {color:#aaa} -a:visited {color:#aaa} -body{ - color:#fff; - background:#0e1d29; - margin:1em auto; - max-width:40em; - padding:0 .62em; - font:1.2em/1.62 "Lexend", serif; +a:link { + color: #4eb289; } -h1,h2,h3 { - line-height:1.2; +a:hover, +a:visited:hover { + color: #aaa; } -@media print{ - body{ - max-width:none +a:visited { + color: #aaa; +} +body { + color: #fff; + background: #0e1d29; + margin: 1em auto; + max-width: 40em; + padding: 0 0.62em; + font: + 1.2em/1.62 "Lexend", + serif; +} +h1, +h2, +h3 { + line-height: 1.2; +} +@media print { + body { + max-width: none; } } -img {max-width: 100%; height:auto;} +img { + max-width: 100%; + height: auto; +} blockquote { border-left: 4px solid #4eb289;