Commit 3c609c24 authored by minseok.park's avatar minseok.park

toc click 버그 수정

parent 684d54d2
Pipeline #19241 failed with stages
in 1 minute and 17 seconds
footer.footer { footer.footer {
background-color: var(--footer-background); /* background-color: var(--footer-background); */
color: var(--footer-font-color); /* color: var(--footer-font-color); */
font-size: calc(15 / var(--rem-base) * 1rem); background-color: var(--color-white);
color: var(--color-bwg-main);
font-size: calc(15 / var(--rem-base) * 0.85rem);
line-height: var(--footer-line-height); line-height: var(--footer-line-height);
padding: 1.5rem; padding: 0.5rem 1.5rem;
text-align: center; text-align: left;
} }
.footer p { .footer p {
......
...@@ -10,7 +10,7 @@ body { ...@@ -10,7 +10,7 @@ body {
.navbar { .navbar {
background: var(--color-white); background: var(--color-white);
border-bottom: 1px solid var(--color-bwg-main); /* border-bottom: 1px solid var(--color-bwg-main); */
color: var(--color-bwg-main); color: var(--color-bwg-main);
height: 4.5rem; height: 4.5rem;
font-size: calc(16 / var(--rem-base) * 1rem); font-size: calc(16 / var(--rem-base) * 1rem);
......
.toolbar { .toolbar {
color: var(--toolbar-font-color); color: var(--toolbar-font-color);
align-items: center; align-items: center;
background-color: var(--color-white); background-color: var(--toolbar-background);
/* box-shadow: 0 1px 0 var(--toolbar-border-color); */
/* background-color: var(--color-white); */
/* margin: 0.5rem 0; */
box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
display: flex; display: flex;
font-size: calc(15 / var(--rem-base) * 1rem); font-size: calc(15 / var(--rem-base) * 1rem);
height: var(--toolbar-height); height: var(--toolbar-height);
justify-content: flex-start; justify-content: flex-start;
top: var(--navbar-height); top: var(--navbar-height);
margin: 0.5rem 0; padding: 0 3.15rem;
position: sticky;
z-index: var(--z-index-toolbar);
} }
.toolbar a { .toolbar a {
......
...@@ -6,6 +6,6 @@ ...@@ -6,6 +6,6 @@
<body class="article{{#with (or page.attributes.role page.role)}} {{{this}}}{{/with}}"> <body class="article{{#with (or page.attributes.role page.role)}} {{{this}}}{{/with}}">
{{> header}} {{> header}}
{{> body}} {{> body}}
{{> footer}} {{!-- {{> footer}} --}}
</body> </body>
</html> </html>
<article class="doc"> <article class="doc">
{{> toolbar}} {{!-- {{> toolbar}} --}}
{{#with page.title}} {{#with page.title}}
<h1 class="page">{{{this}}}</h1> <h1 class="page">{{{this}}}</h1>
{{/with}} {{/with}}
......
<main class="article"> <main class="article">
{{> toolbar}}
<div class="content"> <div class="content">
{{#if (eq page.layout '404')}} {{#if (eq page.layout '404')}}
{{> article-404}} {{> article-404}}
...@@ -7,4 +8,5 @@ ...@@ -7,4 +8,5 @@
{{> article}} {{> article}}
{{/if}} {{/if}}
</div> </div>
{{> footer}}
</main> </main>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment