Skip to content

Commit

Permalink
Small footer for web docs (#115)
Browse files Browse the repository at this point in the history
* fix css syntax issue

* Small footer for web docs
  • Loading branch information
yurii-prykhodko-solid authored Jan 25, 2024
1 parent 2bc3e33 commit 1d43eef
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
18 changes: 4 additions & 14 deletions doc/docusaurus/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,12 @@ const config = {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Intro',
to: '/docs/intro',
},
],
label: 'Docs',
to: '/docs/intro',
},
{
title: 'More',
items: [
{
label: 'GitHub',
href: 'https://github.com/solid-software/solid_lints',
},
],
label: 'GitHub',
href: 'https://github.com/solid-software/solid_lints',
},
],
copyright: `Copyright © ${new Date().getFullYear()} Solid Software. Built with Docusaurus.`,
Expand Down
22 changes: 22 additions & 0 deletions doc/docusaurus/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,25 @@
--ifm-color-primary-lightest: #f68f6a;
--ifm-background-color: #19191a;
}

.footer {
padding: 8px;
}

.footer--dark {
--ifm-footer-background-color: rgba(0, 0, 0, 0.05);
--ifm-footer-link-color: var(--ifm-content-color);
}
.footer--light {
--ifm-footer-background-color: rgba(255, 255, 255, 0.05);
--ifm-footer-link-color: var(--ifm-content-color);
}

.footer > .container {
display: flex;
justify-content: space-between;
}

.footer__links {
margin: 0;
}

0 comments on commit 1d43eef

Please sign in to comment.