Skip to content

Commit

Permalink
chore: Fix documentation page styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubnowicki committed Dec 8, 2023
1 parent 1887ca3 commit 8019e21
Showing 1 changed file with 33 additions and 14 deletions.
47 changes: 33 additions & 14 deletions pkgdown/extra.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,46 @@
:root {
--primary-color: #4747B1;
}

.navbar {
background-color: #4747B1 !important;
background-color: var(--primary-color) !important;
}

#navbar > ul.navbar-nav > li.nav-item a:hover {
background-color: var(--primary-color) !important;
}

#navbar > ul.navbar-nav > li.nav-item > a {
color: rgba(255, 255, 255, 0.55);
}

#navbar > ul.navbar-nav.me-auto > li.nav-item.dropdown a:hover {
background-color: #4747B1 !important;
.navbar-dark .navbar-nav .active > .nav-link {
background-color: var(--primary-color) !important;
color: #fff !important;
}

.navbar-dark .navbar-nav .active>.nav-link {
background-color: #4747B1 !important;
color: #fff;
.navbar-brand {
color: #fff !important;
}

.navbar-dark input[type="search"] {
background-color: #fff !important;
color: #444 !important;
}

.app-preview {
margin: 1.5em 0.75em;
padding: 0.25em;
box-shadow:
0 3.9px 4.6px rgba(0, 0, 0, 0.08),
0 12.3px 8.4px rgba(0, 0, 0, 0.056),
0 18.8px 19.2px rgba(0, 0, 0, 0.037),
0 22px 40px rgba(0, 0, 0, 0.019);
nav .text-muted {
color: #d8d8d8 !important;
}

a {
color: var(--primary-color);
}

a:hover {
color: #2c2b2b;
}

button.btn.btn-primary.btn-copy-ex {
background-color: var(--primary-color);
border-color: var(--primary-color);
}

0 comments on commit 8019e21

Please sign in to comment.