diff --git a/README.ko.md b/README.ko.md index 285dd43..b5d2e4b 100644 --- a/README.ko.md +++ b/README.ko.md @@ -564,9 +564,9 @@ enableBio: true --- ``` -3. 마지막으로, 프로젝트당 한개의 md파일을 만드시면 됩니다. +3. 프로젝트당 한개의 md파일을 만들어 주세요. -`root/content/showcase/hugo/my-awesome-project.md`. +`root/content/showcase/hugo/my-awesome-project.md` ```yaml --- @@ -581,6 +581,18 @@ thumb: feature3/css3.png # relative path in static/images --- ``` +4. 마지막으로, 메뉴를 등록해주세요. + +`root/config/_default/menus.en.toml` + +```toml +[[main]] + identifier = "showcase" + name = "Showcase" + url = "showcase" + weight = 7 +``` + ## Multi Language Zzo theme의 기본 언어는 영어입니다. 한국어로 바꾸시려면 다음과 같이 해주세요. diff --git a/assets/sass/components/_summary.scss b/assets/sass/components/_summary.scss index 704aa34..d111110 100644 --- a/assets/sass/components/_summary.scss +++ b/assets/sass/components/_summary.scss @@ -5,7 +5,7 @@ a { font-family: $title-font; font-weight: 700; - word-break:break-all; + word-break: break-word; @include themify($themes) { color: themed('title-color'); @@ -86,7 +86,7 @@ a { font-family: $title-font; font-weight: 700; - word-break:break-all; + word-break:break-word; @include themify($themes) { color: themed('title-color'); @@ -118,7 +118,6 @@ @include flexbox(); @include flex-direction(column); @include justify-content(flex-start); - padding-left: 1rem; } &__text { @@ -131,6 +130,7 @@ width: 100%; height: 100%; object-fit: contain; + @include animation('slide-in-left .2s .6s 1 ease-in both'); &-wrapper { @@ -138,11 +138,17 @@ min-width: 130px; overflow: hidden; border-radius: 0.25rem; + + @include transition(all, 0.25s, ease-in); @include align-self(center); @include on-event { @include box-shadow(1px, 1px, 3px, 0px, rgba(0, 0, 0, 0.25)); background-color: rgba(125, 125, 125, 0.1); } + @media only screen and (max-width: 769px) { + max-width: 90px; + min-width: 90px; + } } } diff --git a/assets/sass/components/_toc.scss b/assets/sass/components/_toc.scss index 2579a81..1401925 100644 --- a/assets/sass/components/_toc.scss +++ b/assets/sass/components/_toc.scss @@ -8,7 +8,7 @@ z-index: z('toc'); @include no-select; - @include animation('slide-in-down-little .2s .6s 1 ease-in both'); + @include animation('slide-in-down-little .2s .3s 1 ease-in both'); #TableOfContents { position: relative; diff --git a/assets/sass/pages/_list.scss b/assets/sass/pages/_list.scss index b2e8ade..b3c4bee 100644 --- a/assets/sass/pages/_list.scss +++ b/assets/sass/pages/_list.scss @@ -3,8 +3,7 @@ display: flex; align-items: center; justify-content: center; - margin-top: 1rem; - margin-bottom: 1.5rem; + margin: 1.25rem 0; font-family: $title-font; &--title { diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a544639..a017809 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -49,11 +49,13 @@ listMainElem.classList.remove(gridBig); listMainElem.classList.add(gridFull); listSideElem.classList.remove(gridSmall); + listSideElem.classList.add('hide'); }, unmatch: function () { listMainElem.classList.remove(gridFull); listMainElem.classList.add(gridBig); listSideElem.classList.add(gridSmall); + listSideElem.classList.remove('hide'); document.getElementsByClassName('navbar__burger')[0].classList.remove('is-active'); document.getElementsByClassName('navbar__menu')[0].classList.remove('is-active'); diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 30a9da0..cf33b50 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,7 +3,7 @@ {{ $enquire := resources.Get "js/enquire.min.js" | resources.Fingerprint }} -
+
{{ if eq .Site.Params.enableBreadcrumb true }} {{ partial "body/breadcrumb" . }} {{ end }} @@ -25,33 +25,42 @@ {{ partial "body/photoswipe" . }}
- {{ partial "search/site-search" . }} + {{ partial "search/site-search" . }}
-{{ if $.Param "enableSidebar" }} -