From 40c36a70f0661fed174cdf635cd6cbaa4fe7badc Mon Sep 17 00:00:00 2001 From: elkan1788 Date: Sun, 18 Feb 2024 16:21:12 +0800 Subject: [PATCH] :clown_face: Only for sync remote repository codes. --- assets/css/_schemes/Mist/_menu.scss | 23 +++++++++++++++++++++++ go.mod | 3 +++ 2 files changed, 26 insertions(+) create mode 100644 go.mod diff --git a/assets/css/_schemes/Mist/_menu.scss b/assets/css/_schemes/Mist/_menu.scss index 6f4ae85..3404e3d 100644 --- a/assets/css/_schemes/Mist/_menu.scss +++ b/assets/css/_schemes/Mist/_menu.scss @@ -34,6 +34,10 @@ } } + // a + ul { + // top: calc(30% + 5px); + // } + .badge { background: white; border-radius: 10px; @@ -41,5 +45,24 @@ padding: 1px 4px; text-shadow: 1px 1px 0 rgba(0, 0, 0, .1); } + + .menu-item-shrink-icon { + margin-left: 5px; + } + } +} + +.menu-children { + display: none; + transition: transform 1s ease-in-out; + transform: translateY(-100%); + // position: absolute; + // z-index: 999; + + &.expand { + display: block; + max-height: 400px; + transition: transform 1.5s ease-in; + transform: translateY(-100%); } } diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..700af5c --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/hugo-next/hugo-theme-next + +go 1.18