Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SWLab UI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
SWD
SWLab UI
Commits
3c609c24
Commit
3c609c24
authored
Jun 10, 2024
by
minseok.park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
toc click 버그 수정
parent
684d54d2
Pipeline
#19241
failed with stages
in 1 minute and 17 seconds
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
10 deletions
+20
-10
footer.css
src/css/footer.css
+7
-5
header.css
src/css/header.css
+1
-1
toolbar.css
src/css/toolbar.css
+8
-2
default.hbs
src/layouts/default.hbs
+1
-1
article.hbs
src/partials/article.hbs
+1
-1
main.hbs
src/partials/main.hbs
+2
-0
No files found.
src/css/footer.css
View file @
3c609c24
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
{
...
...
src/css/header.css
View file @
3c609c24
...
@@ -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
);
...
...
src/css/toolbar.css
View file @
3c609c24
.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
{
...
...
src/layouts/default.hbs
View file @
3c609c24
...
@@ -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>
src/partials/article.hbs
View file @
3c609c24
<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
}}
...
...
src/partials/main.hbs
View file @
3c609c24
<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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment