From 1ede79d41cc3119185c0bcb475fa5ef57f2ff93e Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 7 Mar 2023 02:36:26 -0500 Subject: [PATCH] minor changes --- layouts/index.html | 6 ++++++ static/css/theme.css | 40 ++++++++++++++++++++++++++++++++-------- 2 files changed, 38 insertions(+), 8 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 00181bd..75420f8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,6 +8,12 @@ {{ if .Content}}
{{.Content}}
{{end}} + +
+ {{range .Site.RegularPages | first 3}} + {{partial "post" .}} + {{end}} +
{{partial "footer" .}} diff --git a/static/css/theme.css b/static/css/theme.css index c0fe9ba..f3edd4d 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -24,6 +24,7 @@ body { header, footer { + font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; font-size:16px; min-width: min-content; width:20vw; @@ -34,6 +35,7 @@ footer { justify-content: flex-start; flex-wrap: nowrap; padding:5px; + text-align: center; } main { @@ -106,20 +108,32 @@ a:hover { color: var(--theme-accent); } - -iframe { - width: 100%; - min-height: 25rem; - height: 25vw; -} - img, video, iframe, audio { - max-width: 90vw; + width: max-content; + height:max-content; + max-width: 90%; max-height: 100%; } +article img, +article video, +article iframe, +article audio{ + margin:15px; +} + + +iframe { + width: 100%; + height: 60vh; +} + + +.gallery img{ + margin:1px; +} .gif { max-height: 50vh; @@ -192,6 +206,7 @@ article { width: 60rem; max-width: 100%; font-size: 20px; + font-family:Verdana, Geneva, Tahoma, sans-serif; } article img { @@ -300,4 +315,13 @@ hr{ margin:0; margin-top:1rem; margin-bottom:1rem; +} + +blockquote { + border-left: 5px solid var(--theme-accent); + padding-left: 15px; +} +code{ + font-family: monospace; + color:var(--theme-accent) } \ No newline at end of file