Skip to content
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: 1 addition & 1 deletion docs/get_started/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ The LIT Lab's work has been and will continue to be supported by grants. Moving

### Support our work

You can support the LIT Lab's work on the Document Assembly Line by [making a donation to the Legal Innovation and Tech Lab (LIT) Fund](https://www.givecampus.com/campaigns/55401/donations/new). Your contributions help us continue developing these free and open-source tools for the legal community.
You can support the LIT Lab's work on the Document Assembly Line by [making a donation to the Legal Innovation and Tech Lab (LIT) Fund](https://www.givecampus.com/campaigns/70271/donations/new). Your contributions help us continue developing these free and open-source tools for the legal community.

## Our repositories

Expand Down
6 changes: 6 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ module.exports = {
label: 'Docassemble docs',
position: 'right',
},
{
href: 'https://www.givecampus.com/campaigns/70271/donations/new',
label: 'Donate',
position: 'right',
className: 'navbar-donate-button',
},
{
href: 'https://github.com/SuffolkLITLab/docassemble-AssemblyLine',
className: 'header-github-link',
Expand Down
22 changes: 22 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,28 @@ button[class*="toggleButton"] {
}
}

.navbar-donate-button {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rounds the button corners to match the search field and adds the same spacing around the button as the GitHub and dark mode icons have. I also removed !important since the custom class gives enough specificity.

.navbar-donate-button {
  background-color: var(--suffolk-light-gold);
  color: var(--suffolk-dark-blue);
  border-radius: 9999px;
  font-weight: 600;
  margin-right: calc(.25 * var(--ifm-navbar-item-padding-horizontal));
  margin-left: calc(.25 * var(--ifm-navbar-item-padding-horizontal));
  padding: 0.375rem 0.75rem;

  &:hover {
    background-color: var(--suffolk-dark-gold);
    color: White;
    text-decoration: none;
  }
}

background-color: var(--suffolk-light-gold) !important;
color: var(--suffolk-dark-blue) !important;
border-radius: 6px !important;
padding: 0.375rem 0.75rem !important;
font-weight: 600 !important;
margin-left: 0.5rem !important;
transition: all 0.2s ease-in-out !important;

&:hover {
background-color: var(--suffolk-dark-gold) !important;
color: white !important;
text-decoration: none !important;
}
}

/* Remove external link icon from donate button */
.navbar-donate-button [class*="icon"],
.navbar-donate-button [class*="Icon"] {
display: none !important;
}

.navbar__search {
margin-left: 0 !important;
}
Expand Down