From ec19e18f32c6f9cf86f34b5e66ccff3c0a115712 Mon Sep 17 00:00:00 2001 From: Lucas Hinderberger Date: Fri, 14 Aug 2020 09:41:35 +0200 Subject: [PATCH] Styling fixes --- assets/css/codeberg-docs.css | 6 +++--- content/_includes/default_layout.njk | 16 ++++++---------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/assets/css/codeberg-docs.css b/assets/css/codeberg-docs.css index 6767a6a..abc9423 100644 --- a/assets/css/codeberg-docs.css +++ b/assets/css/codeberg-docs.css @@ -26,7 +26,7 @@ main > .container { display: flex; } #sidebar .sidebar-close-button { display: none; position: relative; text-align: right; top: -35px; } #sidebar .sidebar-close-button a:hover { color: red; } -article { flex: 99; padding: 50px 0; margin-left: 150px; } +article { flex: 99; padding: 50px 0; margin-left: 150px; max-width: 100%; } article p { text-align: justify; } article :first-child { margin-top: 0; } @@ -38,7 +38,7 @@ article h4 { font-size: 16pt; } article h5 { font-size: 14pt; } article h6 { font-size: 12pt; } -article blockquote, pre { background: #eee; padding: 30px; margin: 0; border-left: 5px solid #2185d0; } +article blockquote, pre { background: #eee; padding: 30px; margin: 0; border-left: 5px solid #2185d0; overflow: auto; } article blockquote p:last-of-type { margin-bottom: 0; } article blockquote blockquote { background: #ddd; } article code { background: #eee; border-radius: 5px; padding: 1px 3px; } @@ -50,7 +50,7 @@ article th { background: #ddd; } article tr:nth-of-type(2) { background: #eee; } article hr { width: 80%; border: 1px solid #eee; } -footer { background: #f5f5f5; text-align: center; font-size: 10pt; padding: 15px 0; margin-top: 60px; } +footer { background: #f5f5f5; text-align: center; font-size: 8pt; padding: 15px; margin-top: 60px; } .container { max-width: 1300px; margin: auto; height: 100%; } diff --git a/content/_includes/default_layout.njk b/content/_includes/default_layout.njk index fab816e..f327cbd 100644 --- a/content/_includes/default_layout.njk +++ b/content/_includes/default_layout.njk @@ -74,17 +74,13 @@