Skip to content

Commit f927259

Browse files
authored
Merge pull request #263 from makeplane/preview
Sidebar CSS Changes
2 parents 06f7825 + f654117 commit f927259

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/css/custom.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,29 @@
2929
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3030
}
3131

32+
.navbar__logo img {
33+
width: 100px;
34+
}
35+
36+
3237
[data-theme='light'] body, .navbar{
38+
display: flex;
39+
flex-direction: row;
40+
justify-content: center;
41+
align-items:start;
3342
background-color: rgb(250 250 250);
3443
}
3544
[data-theme='dark'] .navbar{
3645
background-color: #1b1b1d;
3746
}
3847

48+
[data-theme='dark'] body, .navbar{
49+
display: flex;
50+
flex-direction: row;
51+
justify-content: center;
52+
align-items:start;
53+
}
54+
3955
.theme-doc-sidebar-item-category-level-1>.menu__list-item-collapsible>.menu__link--sublist {
4056
margin-bottom: 6px;
4157
font-size: 0.938rem;
@@ -67,6 +83,10 @@
6783
transition: opacity 0.2s ease-out;
6884
}
6985

86+
.theme-doc-sidebar-container {
87+
margin-right: 2rem;
88+
}
89+
7090
.theme-doc-sidebar-menu .menu__list-item .menu__caret:before,
7191
.theme-doc-sidebar-menu .menu__list-item .menu__link--sublist:after {
7292
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDEwIDggNmwtNCA0IiBzdHJva2U9IiMxQjI3MzgiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=) 50% no-repeat;

0 commit comments

Comments
 (0)