Skip to content

Commit

Permalink
minor changes to styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshit087 committed Aug 6, 2023
1 parent a464b44 commit 60f375d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 6 additions & 1 deletion mind-map-book/theme/css/chrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,14 @@ ul#searchresults span.teaser em {

.chapter li a:hover {
color: var(--sidebar-active);
text-decoration: var(--sidebar-active-decoration);
font-weight: bold;
}

.chapter li a.active {
color: var(--sidebar-active);
text-decoration: var(--sidebar-active-decoration);
font-weight: bold;
}

.chapter li > a.toggle {
Expand All @@ -458,6 +462,7 @@ ul#searchresults span.teaser em {
padding: 0 10px;
user-select: none;
opacity: 0.68;
text-decoration: none;
}

.chapter li > a.toggle div {
Expand All @@ -471,7 +476,7 @@ ul#searchresults span.teaser em {

.chapter li.chapter-item {
line-height: 1.5em;
margin-top: 0.6em;
margin-top: 1em;
}

.chapter li.expanded > a.toggle div {
Expand Down
9 changes: 5 additions & 4 deletions mind-map-book/theme/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,13 @@
--fg: hsl(0, 0%, 0%);

--sidebar-bg: linear-gradient(335deg,
rgba(98, 211, 213, 0.5760898109243697) 0%,
rgba(235, 164, 244, 0.3828125) 51%,
rgba(255, 237, 197, 0.8646052170868348) 100%);
rgba(98, 211, 213, 0.5760898109243697) 0%,
rgba(235, 164, 244, 0.3828125) 51%,
rgba(255, 237, 197, 0.8646052170868348) 100%);
--sidebar-active-decoration: underline;
--sidebar-fg: hsl(0, 0%, 0%);
--sidebar-non-existant: #aaaaaa;
--sidebar-active: #1f1fff;
--sidebar-active: black;
--sidebar-spacer: #f4f4f4;

--scrollbar: #8F8F8F;
Expand Down

0 comments on commit 60f375d

Please sign in to comment.