Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation css #517

Merged
merged 2 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ template:
gtag('js', new Date());
gtag('config', 'G-FQQZL5V93G');
</script>
before_navbar: |
<a href="https://rhinoverse.dev" class="home"><i class="fa fa-lg fa-chevron-left"></i></a>

url: https://appsilon.github.io/rhino/

Expand Down
58 changes: 44 additions & 14 deletions pkgdown/extra.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,57 @@
: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.me-auto > li.nav-item.dropdown a:hover {
background-color: #4747B1 !important;
#navbar > ul.navbar-nav > li.nav-item > a {
color: rgba(255, 255, 255, 0.55);
}

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

.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);
}

.home {
left: 0px;
position: absolute;
padding: 8px 30px;
color: rgba(255,255,255,0.55);
}

.home:hover {
color: rgba(255,255,255,0.9);
}
Loading