diff --git a/config.yml b/config.yml index d60ed32..cf49a63 100644 --- a/config.yml +++ b/config.yml @@ -1,6 +1,6 @@ baseURL: "http://blog.morgan.kr" title: Morgan's Blog -theme: "mytheme" +theme: "oldtheme" buildDrafts: false buildFuture: false @@ -46,6 +46,8 @@ params: tocopen: false homeInfoParams: Title: Hi, I'm Morgan. + Content: Student Developer + socialIcons: - name: github url: "https://github.com/morgan9e" diff --git a/themes/oldtheme/assets/css/common/post-entry.css b/themes/oldtheme/assets/css/common/post-entry.css index 2b19878..99bda23 100644 --- a/themes/oldtheme/assets/css/common/post-entry.css +++ b/themes/oldtheme/assets/css/common/post-entry.css @@ -1,12 +1,13 @@ .first-entry { - scroll-snap-align: start; position: relative; display: flex; flex-direction: column; justify-content: center; + align-items: center; min-height: 320px; - height: calc(100vh - var(--header-height) * 2 - var(--gap) * 2); - margin: 0 0 var(--header-height) calc(var(--gap) * 2); + height: calc(100vh - var(--header-height) * 2 - var(--gap) * 1); + margin: 0 0 calc(var(--header-height) + var(--gap) * 3) 0; + border-bottom: solid 1px #EFEFEF; } .first-entry .entry-header { @@ -17,20 +18,32 @@ } .first-entry .entry-header h1 { - font-size: 24px; + font-size: 28px; line-height: 1.3; } .first-entry .entry-content { - margin: 14px 0; + margin: 24px 0; font-size: 16px; -webkit-line-clamp: 3; } .first-entry .entry-footer { + position: absolute; + width: 80%; + padding: 4px 0; + margin: 0 auto; + border-radius: 32px; + display: flex; + justify-content: center; + border-top: solid 1px #DDD; + bottom: 0; font-size: 14px; } +.posts-entry-div { +} + .home-info .entry-content { -webkit-line-clamp: unset; } @@ -54,6 +67,7 @@ } .entry-header h2 { + font-weight: 450; font-size: 18px; line-height: 1.3; } diff --git a/themes/oldtheme/assets/css/core/theme-vars.css b/themes/oldtheme/assets/css/core/theme-vars.css index 78da7cf..3b50d40 100644 --- a/themes/oldtheme/assets/css/core/theme-vars.css +++ b/themes/oldtheme/assets/css/core/theme-vars.css @@ -3,7 +3,7 @@ --content-gap: 20px; --nav-width: 800px; --main-width: 800px; - --header-height: 60px; + --header-height: 0px; --footer-height: 60px; --radius: 8px; --theme: white; @@ -30,7 +30,7 @@ } .list { - background: var(--code-bg); + background: var(--theme); } .dark.list { diff --git a/themes/oldtheme/layouts/m/chat.html b/themes/oldtheme/layouts/m/chat.html deleted file mode 100644 index 526a75f..0000000 --- a/themes/oldtheme/layouts/m/chat.html +++ /dev/null @@ -1,12 +0,0 @@ - - -
- diff --git a/themes/oldtheme/layouts/m/collapse.html b/themes/oldtheme/layouts/m/collapse.html deleted file mode 100644 index 17d8d3b..0000000 --- a/themes/oldtheme/layouts/m/collapse.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ if .Get "summary" }} -{{ else }} -{{ warnf "missing value for param 'summary': %s" .Position }} -{{ end }} -{{ .Get "summary" | markdownify }}
- {{ .Inner | markdownify }}
-
- {{- .Get "caption" | markdownify -}} - {{- with .Get "attrlink" }} - - {{- end -}} - {{- .Get "attr" | markdownify -}} - {{- if .Get "attrlink" }}{{ end }}
- {{- end }} -