Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MSP-Maastricht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2024 Competition
MSP-Maastricht
Commits
e073d244
Commit
e073d244
authored
5 months ago
by
Natasha Nunez
Browse files
Options
Downloads
Patches
Plain Diff
Update sidebar
parent
9da1f38c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#455930
failed
5 months ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/.vuepress/config.js
+11
-3
11 additions, 3 deletions
docs/.vuepress/config.js
docs/.vuepress/styles/index.scss
+50
-0
50 additions, 0 deletions
docs/.vuepress/styles/index.scss
with
61 additions
and
3 deletions
docs/.vuepress/config.js
+
11
−
3
View file @
e073d244
...
...
@@ -43,9 +43,17 @@ export default defineUserConfig({
]
},
],
sidebar
:
false
,
},{
custom
:
true
sidebar
:
{
'
/
'
:
[
{
title
:
'
On This Page
'
,
// Title for the sidebar
children
:
'
auto
'
,
// Automatically generate based on headers
},
],
'
/team
'
:
false
,
// Disable sidebar on team page
},
sidebarDepth
:
2
,
// Controls depth of headers in sidebar
displayAllHeaders
:
true
,
// Show all headers in the sidebar
}),
bundler
:
viteBundler
({
viteOptions
:
{},
...
...
This diff is collapsed.
Click to expand it.
docs/.vuepress/styles/index.scss
+
50
−
0
View file @
e073d244
...
...
@@ -38,3 +38,53 @@ h1, h2, h3, h4, h5, h6, p, a, span, strong {
width
:
50px
;
/* Adjust based on your image size */
height
:
50px
;
/* Adjust based on your image size */
}
/* Sidebar Title */
.
theme-hope-sidebar
:
:
before
{
content
:
'On This Page'
;
/* Sidebar title */
display
:
block
;
font-size
:
1
.2rem
;
font-weight
:
bold
;
padding-bottom
:
1rem
;
/* Space below title */
border-bottom
:
1px
solid
#ddd
;
/* Optional: Border under the title */
margin-bottom
:
1rem
;
/* Space below title */
}
/* Links in the sidebar */
.theme-hope-sidebar
a
{
color
:
#333
;
/* Link color */
text-decoration
:
none
;
/* No underline */
display
:
block
;
margin
:
0
.5rem
0
;
/* Space between links */
}
.theme-hope-sidebar
a
:hover
{
text-decoration
:
underline
;
/* Underline on hover */
}
/* Prevent sidebar from extending beyond the footer */
.theme-hope-layout
{
display
:
flex
;
flex-direction
:
column
;
min-height
:
100vh
;
/* Full viewport height */
}
.theme-hope-sidebar
{
flex-shrink
:
0
;
/* Prevent shrinking */
margin-bottom
:
2rem
;
/* Space from footer */
}
.theme-hope-main
{
flex-grow
:
1
;
/* Main content grows */
}
/* Footer Styling */
.footer
{
width
:
100%
;
background-color
:
#333
;
color
:
#fff
;
text-align
:
center
;
padding
:
10px
;
position
:
relative
;
bottom
:
0
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment