Skip to content

Commit

Permalink
Decrease opacity of sidebar headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed May 6, 2024
1 parent 44a2d1c commit ae50ec4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
type: "html",
value: "<small><b>Tutorials</b></small>",
defaultStyle: true,
className: "sidebar-header",
},
{
type: "link",
Expand All @@ -24,6 +25,7 @@ module.exports = {
type: "html",
value: "<small><b>Core Concepts</b></small>",
defaultStyle: true,
className: "sidebar-header",
},
{
type: "link",
Expand All @@ -36,6 +38,7 @@ module.exports = {
type: "html",
value: "<small><b>Documentation</b></small>",
defaultStyle: true,
className: "sidebar-header",
},
{
type: "link",
Expand Down Expand Up @@ -84,6 +87,7 @@ module.exports = {
type: "html",
value: "<small><b>Reference</b></small>",
defaultStyle: true,
className: "sidebar-header",
},
{
type: "link",
Expand Down
7 changes: 6 additions & 1 deletion docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
background-color: rgba(0, 0, 0, 0.3);
}

/* Custom sidebar section headers */
.sidebar-header {
opacity: 0.5;
}

/* Ensure footer is drawn over api reference side bar. */
.footer {
z-index: 20;
Expand Down Expand Up @@ -91,7 +96,7 @@
}
}

svg.architecture{
svg.architecture {
width: 100% !important;
height: 100% !important;
}

0 comments on commit ae50ec4

Please sign in to comment.