diff --git a/assets/js/header.js b/assets/js/header.js index 7b20c068..873743c7 100644 --- a/assets/js/header.js +++ b/assets/js/header.js @@ -1,23 +1,3 @@ -// Header Inner Width - -{{ with .Site.Params.headerFallbackWidth | default "32em" }} - const headerFallbackWidth = '{{ . }}'; -{{ end }} - -const headerInner = document.querySelector('.header-inner'); -const mainInner = document.querySelector('.main-inner'); - -if (mainInner !== null) { - const mainInnerWidth = window.getComputedStyle(mainInner, null).getPropertyValue('width'); - - headerInner.style.setProperty('--main-inner', mainInnerWidth); -} else { - headerInner.style.setProperty('--main-inner', headerFallbackWidth); -} - -headerInner.style.setProperty('opacity', 1); - - // Measure header height for the scrolling fix { const header = document.querySelector('.header'); diff --git a/assets/scss/layout/_header.scss b/assets/scss/layout/_header.scss index 60503380..6b832873 100644 --- a/assets/scss/layout/_header.scss +++ b/assets/scss/layout/_header.scss @@ -13,12 +13,14 @@ background: $headerBackground; } .header-inner { - opacity: 0; display: flex; justify-content: space-between; align-items: center; - width: var(--main-inner); margin: 0 auto; + max-width: $postWidth; + } + .header-inner.list { + max-width: $listWidth; } .site-brand { margin-right: 1em; diff --git a/config-examples/en/config.toml b/config-examples/en/config.toml index 1b154dd6..0bbf4931 100644 --- a/config-examples/en/config.toml +++ b/config-examples/en/config.toml @@ -246,15 +246,6 @@ uglyURLs = false headerLayout = "flex" # Note: center or flex - headerFallbackWidth = "32em" - # Note: by default, MemE uses main-inner’s - # width for `headerWidth`, but in - # some pages (e.g. homepage layout - # poetry, footage), there is no - # main-inner, so you need to give - # a fallback value for this - # situation. - # Hide menu bar and display a toggle # on narrow screen? enableNavToggle = true diff --git a/config-examples/zh-cn/config.toml b/config-examples/zh-cn/config.toml index 45fafdde..d6609faa 100644 --- a/config-examples/zh-cn/config.toml +++ b/config-examples/zh-cn/config.toml @@ -236,14 +236,6 @@ uglyURLs = false headerLayout = "flex" # 说明:居中布局(center)或弹性布局(flex) - # 顶栏宽度的回退值 - headerFallbackWidth = "36em" - # 说明:默认情况,MemE 使用 main-inner 元素 - # 的宽度作为顶栏宽度,但是在一些页面(比 - # 如「诗意人生」和「视频片段」布局的首页), - # 不存在 main-inner 元素,所以你需要为 - # 这种情况给一个回退值。 - # 在窄视图下隐藏菜单栏并显示一个按钮? enableNavToggle = true diff --git a/exampleSite/resources/_gen/assets/scss/scss/main.scss_a899b346ffc3a4bc65b84e40528dea51.content b/exampleSite/resources/_gen/assets/scss/scss/main.scss_a899b346ffc3a4bc65b84e40528dea51.content index 78331124..49d6d668 100644 --- a/exampleSite/resources/_gen/assets/scss/scss/main.scss_a899b346ffc3a4bc65b84e40528dea51.content +++ b/exampleSite/resources/_gen/assets/scss/scss/main.scss_a899b346ffc3a4bc65b84e40528dea51.content @@ -1,4 +1,4 @@ -html,body{margin:0;width:100%;height:100%;font-size:20px;text-size-adjust:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none}body{-moz-tab-size:4;tab-size:4;color:var(--color-contrast-high);background-color:var(--color-bg);overflow-wrap:break-word;word-wrap:break-word;line-height:1.618;transition:all .5s}.container{min-height:100%;min-width:100%;position:relative}.main{padding:2em 1em 15em;display:block}.main{padding-top:7em}.main-inner{margin:0 auto;display:block}.icon{width:1em;height:1em;fill:currentColor;display:inline-block}svg{vertical-align:middle}h1,h2,h3,h4,h5,h6{margin:1.618em 0 1em;color:var(--color-contrast-higher)}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{text-decoration:none !important;color:var(--color-contrast-higher)}h1{font-size:2em}h2{font-size:1.8em}h3{font-size:1.6em}h4{font-size:1.4em}h5{font-size:1.2em}h6{font-size:1em}a{color:var(--color-contrast-high);text-decoration:none;transition:all .5s}a:hover{color:var(--color-primary)}::selection{background-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.3)}::-webkit-scrollbar{width:0.4rem;height:0.4rem}::-webkit-scrollbar-track{background-color:var(--color-bg)}::-webkit-scrollbar-thumb{background-color:var(--color-contrast-low)}::-webkit-scrollbar-thumb:hover{background-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.5)}::-webkit-scrollbar-thumb:active{background-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.75)}::-webkit-scrollbar-corner{background-color:var(--color-bg)}.list-title,.term-title,.list-year,.list-month,.post-title,.post-subtitle,.related-title,.post-nav,thead,dt{font-family:"Comfortaa",sans-serif}.post-body h1,.post-body h2,.post-body h3,.post-body h4,.post-body h5,.post-body h6{font-family:"Comfortaa",sans-serif}.contents-title{font-family:"Comfortaa",sans-serif}code,pre,sup,.post-meta,.updated-badge,.post-gitinfo,.minimal-footer,.minimal-footer-about,.busuanzi-site-uv-and-pv,.copy-button{font-family:"Source Code Pro",monospace}body{font-family:"IBM Plex Serif",serif}[data-indent="true"] .contents-title{text-align:center}[data-indent="true"] .post-body p{text-indent:2em;margin:0}[data-indent="true"] .post-body .caption{text-indent:0;margin:0 0 1em}[data-indent="true"] .post-body blockquote{margin:1em 0;padding:0;border:none}[data-indent="true"] .post-body img,[data-indent="true"] .post-body video{margin:1em auto}[data-indent="true"] .post-body table{margin:1em 0}[data-indent="true"] .post-body pre,[data-indent="true"] .post-body .highlight{margin:1rem 0}[data-indent="true"] .post-body h1,[data-indent="true"] .post-body h2,[data-indent="true"] .post-body h3,[data-indent="true"] .post-body h4,[data-indent="true"] .post-body h5,[data-indent="true"] .post-body h6{text-align:center}[data-indent="true"] .post-body .anchor-link{position:relative;transform:none;display:block;float:none}[data-indent="true"] .post-body ol,[data-indent="true"] .post-body ul{margin:0;padding-left:4em}[data-indent="true"] .post-body ol p,[data-indent="true"] .post-body ul p{text-indent:0}[data-indent="true"] .post-body li ol,[data-indent="true"] .post-body li ul{padding-left:2em}[data-indent="true"] .post-body dl{text-indent:2em}[data-indent="true"] .post-body dl dd{text-indent:0;margin-left:4em}[data-indent="true"] .post-body dl p{text-indent:0}:root{--color-primary:hsl(220, 90%, 56%);--color-primary-h:220;--color-primary-s:90%;--color-primary-l:56%;--color-bg:hsl(0, 0%, 100%);--color-bg-h:0;--color-bg-s:0%;--color-bg-l:100%;--color-contrast-lower:hsl(0, 0%, 95%);--color-contrast-lower-h:0;--color-contrast-lower-s:0%;--color-contrast-lower-l:95%;--color-contrast-low:hsl(240, 1%, 83%);--color-contrast-low-h:240;--color-contrast-low-s:1%;--color-contrast-low-l:83%;--color-contrast-medium:hsl(240, 1%, 48%);--color-contrast-medium-h:240;--color-contrast-medium-s:1%;--color-contrast-medium-l:48%;--color-contrast-high:hsl(240, 4%, 20%);--color-contrast-high-h:240;--color-contrast-high-s:4%;--color-contrast-high-l:20%;--color-contrast-higher:hsl(240, 8%, 12%);--color-contrast-higher-h:240;--color-contrast-higher-s:8%;--color-contrast-higher-l:12%}[data-theme="dark"]{--color-primary:hsl(201, 65%, 62%);--color-primary-h:201;--color-primary-s:65%;--color-primary-l:62%;--color-bg:hsl(231, 14%, 10%);--color-bg-h:231;--color-bg-s:14%;--color-bg-l:10%;--color-contrast-lower:hsl(230, 8%, 15%);--color-contrast-lower-h:230;--color-contrast-lower-s:8%;--color-contrast-lower-l:15%;--color-contrast-low:hsl(240, 2%, 25%);--color-contrast-low-h:240;--color-contrast-low-s:2%;--color-contrast-low-l:25%;--color-contrast-medium:hsl(80, 1%, 50%);--color-contrast-medium-h:80;--color-contrast-medium-s:1%;--color-contrast-medium-l:50%;--color-contrast-high:hsl(69, 4%, 68%);--color-contrast-high-h:69;--color-contrast-high-s:4%;--color-contrast-high-l:68%;--color-contrast-higher:hsl(60, 10%, 80%);--color-contrast-higher-h:60;--color-contrast-higher-s:10%;--color-contrast-higher-l:80%}#theme-switcher{color:var(--color-contrast-medium);transition:color .5s;z-index:4}#theme-switcher:hover{color:var(--color-primary)}#theme-switcher .theme-icon-dark{display:none}[data-theme="dark"] #theme-switcher .theme-icon-light{display:none}[data-theme="dark"] #theme-switcher .theme-icon-dark{display:inline-block}#theme-switcher .icon{margin-right:0 !important}[data-theme="dark"] img{filter:brightness(50%)}.chroma-dark{color:#f8f8f2;background-color:#282a36}.chroma-dark .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma-dark .lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.chroma-dark .hl{display:block;width:100%;background-color:#3c3c3c}.chroma-dark .lnt{margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f}.chroma-dark .ln{margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f}.chroma-dark .k{color:#ff79c6}.chroma-dark .kc{color:#ff79c6}.chroma-dark .kd{color:#8be9fd;font-style:italic}.chroma-dark .kn{color:#ff79c6}.chroma-dark .kp{color:#ff79c6}.chroma-dark .kr{color:#ff79c6}.chroma-dark .kt{color:#8be9fd}.chroma-dark .na{color:#50fa7b}.chroma-dark .nb{color:#8be9fd;font-style:italic}.chroma-dark .nc{color:#50fa7b}.chroma-dark .nf{color:#50fa7b}.chroma-dark .nl{color:#8be9fd;font-style:italic}.chroma-dark .nt{color:#ff79c6}.chroma-dark .nv{color:#8be9fd;font-style:italic}.chroma-dark .vc{color:#8be9fd;font-style:italic}.chroma-dark .vg{color:#8be9fd;font-style:italic}.chroma-dark .vi{color:#8be9fd;font-style:italic}.chroma-dark .s{color:#f1fa8c}.chroma-dark .sa{color:#f1fa8c}.chroma-dark .sb{color:#f1fa8c}.chroma-dark .sc{color:#f1fa8c}.chroma-dark .dl{color:#f1fa8c}.chroma-dark .sd{color:#f1fa8c}.chroma-dark .s2{color:#f1fa8c}.chroma-dark .se{color:#f1fa8c}.chroma-dark .sh{color:#f1fa8c}.chroma-dark .si{color:#f1fa8c}.chroma-dark .sx{color:#f1fa8c}.chroma-dark .sr{color:#f1fa8c}.chroma-dark .s1{color:#f1fa8c}.chroma-dark .ss{color:#f1fa8c}.chroma-dark .m{color:#bd93f9}.chroma-dark .mb{color:#bd93f9}.chroma-dark .mf{color:#bd93f9}.chroma-dark .mh{color:#bd93f9}.chroma-dark .mi{color:#bd93f9}.chroma-dark .il{color:#bd93f9}.chroma-dark .mo{color:#bd93f9}.chroma-dark .o{color:#ff79c6}.chroma-dark .ow{color:#ff79c6}.chroma-dark .c{color:#6272a4}.chroma-dark .ch{color:#6272a4}.chroma-dark .cm{color:#6272a4}.chroma-dark .c1{color:#6272a4}.chroma-dark .cs{color:#6272a4}.chroma-dark .cp{color:#ff79c6}.chroma-dark .cpf{color:#ff79c6}.chroma-dark .gd{color:#ffcccc}.chroma-dark .ge{text-decoration:underline}.chroma-dark .gh{font-weight:bold}.chroma-dark .gi{color:#ccffcc}.chroma-dark .go{color:#44475a}.chroma-dark .gu{font-weight:bold}.chroma-dark .gl{text-decoration:underline}.header{z-index:3}.header{position:fixed;width:100%}.header-wrapper{padding:1em 0;-webkit-backdrop-filter:saturate(180%) blur(1em);backdrop-filter:saturate(180%) blur(1em);background:linear-gradient(90deg, rgba(247,149,51,0.101961) 0, rgba(243,112,85,0.101961) 15%, rgba(239,78,123,0.101961) 30%, rgba(161,102,171,0.101961) 44%, rgba(80,115,184,0.101961) 58%, rgba(16,152,173,0.101961) 72%, rgba(7,179,155,0.101961) 86%, rgba(109,186,130,0.101961) 100%)}.header-inner{opacity:0;display:flex;justify-content:space-between;align-items:center;width:var(--main-inner);margin:0 auto}.site-brand{margin-right:1em}.brand{font-size:1em;color:var(--color-contrast-high);text-decoration:none}.brand:hover{color:var(--color-contrast-high)}:root{--header-height: calc( +html,body{margin:0;width:100%;height:100%;font-size:20px;text-size-adjust:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none}body{-moz-tab-size:4;tab-size:4;color:var(--color-contrast-high);background-color:var(--color-bg);overflow-wrap:break-word;word-wrap:break-word;line-height:1.618;transition:all .5s}.container{min-height:100%;min-width:100%;position:relative}.main{padding:2em 1em 15em;display:block}.main{padding-top:7em}.main-inner{margin:0 auto;display:block}.icon{width:1em;height:1em;fill:currentColor;display:inline-block}svg{vertical-align:middle}h1,h2,h3,h4,h5,h6{margin:1.618em 0 1em;color:var(--color-contrast-higher)}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{text-decoration:none !important;color:var(--color-contrast-higher)}h1{font-size:2em}h2{font-size:1.8em}h3{font-size:1.6em}h4{font-size:1.4em}h5{font-size:1.2em}h6{font-size:1em}a{color:var(--color-contrast-high);text-decoration:none;transition:all .5s}a:hover{color:var(--color-primary)}::selection{background-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.3)}::-webkit-scrollbar{width:0.4rem;height:0.4rem}::-webkit-scrollbar-track{background-color:var(--color-bg)}::-webkit-scrollbar-thumb{background-color:var(--color-contrast-low)}::-webkit-scrollbar-thumb:hover{background-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.5)}::-webkit-scrollbar-thumb:active{background-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.75)}::-webkit-scrollbar-corner{background-color:var(--color-bg)}.list-title,.term-title,.list-year,.list-month,.post-title,.post-subtitle,.related-title,.post-nav,thead,dt{font-family:"Comfortaa",sans-serif}.post-body h1,.post-body h2,.post-body h3,.post-body h4,.post-body h5,.post-body h6{font-family:"Comfortaa",sans-serif}.contents-title{font-family:"Comfortaa",sans-serif}code,pre,sup,.post-meta,.updated-badge,.post-gitinfo,.minimal-footer,.minimal-footer-about,.busuanzi-site-uv-and-pv,.copy-button{font-family:"Source Code Pro",monospace}body{font-family:"IBM Plex Serif",serif}[data-indent="true"] .contents-title{text-align:center}[data-indent="true"] .post-body p{text-indent:2em;margin:0}[data-indent="true"] .post-body .caption{text-indent:0;margin:0 0 1em}[data-indent="true"] .post-body blockquote{margin:1em 0;padding:0;border:none}[data-indent="true"] .post-body img,[data-indent="true"] .post-body video{margin:1em auto}[data-indent="true"] .post-body table{margin:1em 0}[data-indent="true"] .post-body pre,[data-indent="true"] .post-body .highlight{margin:1rem 0}[data-indent="true"] .post-body h1,[data-indent="true"] .post-body h2,[data-indent="true"] .post-body h3,[data-indent="true"] .post-body h4,[data-indent="true"] .post-body h5,[data-indent="true"] .post-body h6{text-align:center}[data-indent="true"] .post-body .anchor-link{position:relative;transform:none;display:block;float:none}[data-indent="true"] .post-body ol,[data-indent="true"] .post-body ul{margin:0;padding-left:4em}[data-indent="true"] .post-body ol p,[data-indent="true"] .post-body ul p{text-indent:0}[data-indent="true"] .post-body li ol,[data-indent="true"] .post-body li ul{padding-left:2em}[data-indent="true"] .post-body dl{text-indent:2em}[data-indent="true"] .post-body dl dd{text-indent:0;margin-left:4em}[data-indent="true"] .post-body dl p{text-indent:0}:root{--color-primary:hsl(220, 90%, 56%);--color-primary-h:220;--color-primary-s:90%;--color-primary-l:56%;--color-bg:hsl(0, 0%, 100%);--color-bg-h:0;--color-bg-s:0%;--color-bg-l:100%;--color-contrast-lower:hsl(0, 0%, 95%);--color-contrast-lower-h:0;--color-contrast-lower-s:0%;--color-contrast-lower-l:95%;--color-contrast-low:hsl(240, 1%, 83%);--color-contrast-low-h:240;--color-contrast-low-s:1%;--color-contrast-low-l:83%;--color-contrast-medium:hsl(240, 1%, 48%);--color-contrast-medium-h:240;--color-contrast-medium-s:1%;--color-contrast-medium-l:48%;--color-contrast-high:hsl(240, 4%, 20%);--color-contrast-high-h:240;--color-contrast-high-s:4%;--color-contrast-high-l:20%;--color-contrast-higher:hsl(240, 8%, 12%);--color-contrast-higher-h:240;--color-contrast-higher-s:8%;--color-contrast-higher-l:12%}[data-theme="dark"]{--color-primary:hsl(201, 65%, 62%);--color-primary-h:201;--color-primary-s:65%;--color-primary-l:62%;--color-bg:hsl(231, 14%, 10%);--color-bg-h:231;--color-bg-s:14%;--color-bg-l:10%;--color-contrast-lower:hsl(230, 8%, 15%);--color-contrast-lower-h:230;--color-contrast-lower-s:8%;--color-contrast-lower-l:15%;--color-contrast-low:hsl(240, 2%, 25%);--color-contrast-low-h:240;--color-contrast-low-s:2%;--color-contrast-low-l:25%;--color-contrast-medium:hsl(80, 1%, 50%);--color-contrast-medium-h:80;--color-contrast-medium-s:1%;--color-contrast-medium-l:50%;--color-contrast-high:hsl(69, 4%, 68%);--color-contrast-high-h:69;--color-contrast-high-s:4%;--color-contrast-high-l:68%;--color-contrast-higher:hsl(60, 10%, 80%);--color-contrast-higher-h:60;--color-contrast-higher-s:10%;--color-contrast-higher-l:80%}#theme-switcher{color:var(--color-contrast-medium);transition:color .5s;z-index:4}#theme-switcher:hover{color:var(--color-primary)}#theme-switcher .theme-icon-dark{display:none}[data-theme="dark"] #theme-switcher .theme-icon-light{display:none}[data-theme="dark"] #theme-switcher .theme-icon-dark{display:inline-block}#theme-switcher .icon{margin-right:0 !important}[data-theme="dark"] img{filter:brightness(50%)}.chroma-dark{color:#f8f8f2;background-color:#282a36}.chroma-dark .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma-dark .lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.chroma-dark .hl{display:block;width:100%;background-color:#3c3c3c}.chroma-dark .lnt{margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f}.chroma-dark .ln{margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f}.chroma-dark .k{color:#ff79c6}.chroma-dark .kc{color:#ff79c6}.chroma-dark .kd{color:#8be9fd;font-style:italic}.chroma-dark .kn{color:#ff79c6}.chroma-dark .kp{color:#ff79c6}.chroma-dark .kr{color:#ff79c6}.chroma-dark .kt{color:#8be9fd}.chroma-dark .na{color:#50fa7b}.chroma-dark .nb{color:#8be9fd;font-style:italic}.chroma-dark .nc{color:#50fa7b}.chroma-dark .nf{color:#50fa7b}.chroma-dark .nl{color:#8be9fd;font-style:italic}.chroma-dark .nt{color:#ff79c6}.chroma-dark .nv{color:#8be9fd;font-style:italic}.chroma-dark .vc{color:#8be9fd;font-style:italic}.chroma-dark .vg{color:#8be9fd;font-style:italic}.chroma-dark .vi{color:#8be9fd;font-style:italic}.chroma-dark .s{color:#f1fa8c}.chroma-dark .sa{color:#f1fa8c}.chroma-dark .sb{color:#f1fa8c}.chroma-dark .sc{color:#f1fa8c}.chroma-dark .dl{color:#f1fa8c}.chroma-dark .sd{color:#f1fa8c}.chroma-dark .s2{color:#f1fa8c}.chroma-dark .se{color:#f1fa8c}.chroma-dark .sh{color:#f1fa8c}.chroma-dark .si{color:#f1fa8c}.chroma-dark .sx{color:#f1fa8c}.chroma-dark .sr{color:#f1fa8c}.chroma-dark .s1{color:#f1fa8c}.chroma-dark .ss{color:#f1fa8c}.chroma-dark .m{color:#bd93f9}.chroma-dark .mb{color:#bd93f9}.chroma-dark .mf{color:#bd93f9}.chroma-dark .mh{color:#bd93f9}.chroma-dark .mi{color:#bd93f9}.chroma-dark .il{color:#bd93f9}.chroma-dark .mo{color:#bd93f9}.chroma-dark .o{color:#ff79c6}.chroma-dark .ow{color:#ff79c6}.chroma-dark .c{color:#6272a4}.chroma-dark .ch{color:#6272a4}.chroma-dark .cm{color:#6272a4}.chroma-dark .c1{color:#6272a4}.chroma-dark .cs{color:#6272a4}.chroma-dark .cp{color:#ff79c6}.chroma-dark .cpf{color:#ff79c6}.chroma-dark .gd{color:#ffcccc}.chroma-dark .ge{text-decoration:underline}.chroma-dark .gh{font-weight:bold}.chroma-dark .gi{color:#ccffcc}.chroma-dark .go{color:#44475a}.chroma-dark .gu{font-weight:bold}.chroma-dark .gl{text-decoration:underline}.header{z-index:3}.header{position:fixed;width:100%}.header-wrapper{padding:1em 0;-webkit-backdrop-filter:saturate(180%) blur(1em);backdrop-filter:saturate(180%) blur(1em);background:linear-gradient(90deg, rgba(247,149,51,0.101961) 0, rgba(243,112,85,0.101961) 15%, rgba(239,78,123,0.101961) 30%, rgba(161,102,171,0.101961) 44%, rgba(80,115,184,0.101961) 58%, rgba(16,152,173,0.101961) 72%, rgba(7,179,155,0.101961) 86%, rgba(109,186,130,0.101961) 100%)}.header-inner{display:flex;justify-content:space-between;align-items:center;margin:0 auto;max-width:32em}.header-inner.list{max-width:30em}.site-brand{margin-right:1em}.brand{font-size:1em;color:var(--color-contrast-high);text-decoration:none}.brand:hover{color:var(--color-contrast-high)}:root{--header-height: calc( max( /* menu */ 24px, diff --git a/exampleSite/resources/_gen/assets/scss/scss/main.scss_a899b346ffc3a4bc65b84e40528dea51.json b/exampleSite/resources/_gen/assets/scss/scss/main.scss_a899b346ffc3a4bc65b84e40528dea51.json index bdf1cc81..5d0f3d90 100644 --- a/exampleSite/resources/_gen/assets/scss/scss/main.scss_a899b346ffc3a4bc65b84e40528dea51.json +++ b/exampleSite/resources/_gen/assets/scss/scss/main.scss_a899b346ffc3a4bc65b84e40528dea51.json @@ -1 +1 @@ -{"Target":"css/meme.min.a54e8c97d2b6da04217c7efcdef76eaa805715f70ebb40b83979bb174b086c20.css","MediaType":"text/css","Data":{"Integrity":"sha256-pU6Ml9K22gQhfH783vduqoBXFfcOu0C4OXm7F0sIbCA="}} \ No newline at end of file +{"Target":"css/meme.min.927661e0387b38c89693e1e88b77f76f95dbe58e5082bf462891be5a6d1898db.css","MediaType":"text/css","Data":{"Integrity":"sha256-knZh4Dh7OMiWk+Hoi3f3b5Xb5Y5Qgr9GKJG+Wm0YmNs="}} \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a435553b..50960511 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -2,7 +2,7 @@
{{ if eq .Site.Params.headerLayout "flex" }}
-
+
{{ template "site-brand" . }} {{ partial "menu.html" . }} {{ partial "custom/header.html" . }}