diff --git a/assets/css/common/header.css b/assets/css/common/header.css index 64894da..a97933f 100644 --- a/assets/css/common/header.css +++ b/assets/css/common/header.css @@ -6,6 +6,7 @@ margin-inline-start: auto; margin-inline-end: auto; line-height: var(--header-height); + text-align: center; } .nav a { diff --git a/assets/css/common/main.css b/assets/css/common/main.css index 50022ac..6df9123 100644 --- a/assets/css/common/main.css +++ b/assets/css/common/main.css @@ -1,7 +1,7 @@ .main { position: relative; min-height: calc(100vh - var(--header-height) - var(--footer-height)); - max-width: calc(var(--main-width) + var(--gap) * 2); + max-width: calc(var(--main-width) + var(--gap) * 6); margin: auto; padding: var(--gap); } diff --git a/assets/css/common/post-entry.css b/assets/css/common/post-entry.css index 885aa2a..afb9ca2 100644 --- a/assets/css/common/post-entry.css +++ b/assets/css/common/post-entry.css @@ -3,7 +3,7 @@ display: flex; flex-direction: column; justify-content: center; - min-height: 320px; + min-height: 160px; margin: var(--gap) 0 calc(var(--gap) * 2) 0; } diff --git a/assets/css/core/theme-vars.css b/assets/css/core/theme-vars.css index fd0c5ee..26b08f7 100644 --- a/assets/css/core/theme-vars.css +++ b/assets/css/core/theme-vars.css @@ -5,7 +5,7 @@ --main-width: 720px; --header-height: 60px; --footer-height: 60px; - --radius: 8px; + --radius: 4px; --theme: rgb(255, 255, 255); --entry: rgb(255, 255, 255); --primary: rgb(30, 30, 30); @@ -15,24 +15,42 @@ --hljs-bg: rgb(28, 29, 33); --code-bg: rgb(245, 245, 245); --border: rgb(238, 238, 238); + --bg-tile: linear-gradient( + to bottom, + rgba(11, 11, 11, 0.8), + rgba(11, 11, 11, 0.8) + ), + url(https://zzls.xyz/assets/bgs/bgtile.gif); } + .dark { - --theme: rgb(29, 30, 32); - --entry: rgb(46, 46, 51); - --primary: rgb(218, 218, 219); - --secondary: rgb(155, 156, 157); + --theme: #111; + --entry: #2222227b; + --primary: #f0f8ff; + --secondary: #d7d7d7; --tertiary: rgb(65, 66, 68); - --content: rgb(196, 196, 197); - --hljs-bg: rgb(46, 46, 51); - --code-bg: rgb(55, 56, 62); - --border: rgb(51, 51, 51); + --content: #cbcbcb; + --hljs-bg: #2e2e337b; + --code-bg: #37383e7b; + --border: #3333337b; + background-image: var(--bg-tile); +} + +a:link { + color: rgb(223, 131, 223); +} + +a:visited { + color: rgb(223, 131, 223); } .list { background: var(--code-bg); + background-image: var(--bg-tile); } .dark.list { background: var(--theme); -} + background-image: var(--bg-tile); +} \ No newline at end of file diff --git a/layouts/partials/edit_post.html b/layouts/partials/edit_post.html index 4f2c4de..afe707d 100644 --- a/layouts/partials/edit_post.html +++ b/layouts/partials/edit_post.html @@ -1,8 +1,8 @@ -{{- if and (or .Params.editPost.URL site.Params.editPost.URL) (not (.Param "editPost.disabled")) -}} + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 52668eb..c871d85 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -8,7 +8,7 @@ Powered by Hugo & - PaperMod + PaperMod (Forked) {{- end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4a7291e..a97aeed 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -42,7 +42,7 @@