diff --git a/src/layouts/article.svelte b/src/layouts/article.svelte index 8c259c3..63eb809 100644 --- a/src/layouts/article.svelte +++ b/src/layouts/article.svelte @@ -1,5 +1,6 @@ + + + {#if title} + {title} - {config.sitename} + {:else} + {config.sitename} + {/if} + \ No newline at end of file diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte index 110627c..5b5dc9b 100644 --- a/src/lib/components/Header.svelte +++ b/src/lib/components/Header.svelte @@ -1,12 +1,21 @@ + + {#if title} + {title} - {config.sitename} + {/if} + +
- +

{config.sitename}

+ {config.sitedesc}
@@ -28,7 +37,7 @@ height: 3em; - background: linear-gradient(15deg, #3d74c5, #d872b6); + background: linear-gradient(15deg, #3d74c5, #c0589d); color: white; box-shadow: 0 0 10px #0000008a; @@ -36,22 +45,37 @@ header h1 { margin: 0; - color: white; - font-size: 1.2em; - font-family: "OPTIVagRound-Bold"; + font-size: 1em; text-transform: initial; - font-variant: small-caps; - } + /* font-variant: small-caps; */ + } #site-title { display: flex; align-items: center; - margin-left: 1em; } + #site-title a { + display: flex; + flex-direction: column; + justify-content: center; + line-height: 1; + } + + #site-title a:hover { + text-decoration: none; + } + + #site-title #site-subtitle { + font-size: 0.65em; + letter-spacing: .08em; + opacity: 0.8; + } + #site-title .site-icon { height: 2em; + margin-right: 0.3em; } #links { @@ -61,7 +85,7 @@ margin-right: 3em; } - #links a { + header * { color: white; font-family: "OPTIVagRound-Bold"; } diff --git a/src/routes/about.svelte b/src/routes/about.svelte index 0d7982b..6a09c55 100644 --- a/src/routes/about.svelte +++ b/src/routes/about.svelte @@ -1,5 +1,6 @@ - About + About - {config.sitename}
diff --git a/src/routes/articles/index.svelte b/src/routes/articles/index.svelte index f8b3732..66a48b3 100644 --- a/src/routes/articles/index.svelte +++ b/src/routes/articles/index.svelte @@ -1,9 +1,7 @@ - - + + Articles - {config.sitename} + + +

All Articles

+There are {articles.length} articles on this blog. -Tada