Skip to content

Commit 1d43eef

Browse files
Small footer for web docs (#115)
* fix css syntax issue * Small footer for web docs
1 parent 2bc3e33 commit 1d43eef

2 files changed

Lines changed: 26 additions & 14 deletions

File tree

doc/docusaurus/docusaurus.config.js

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,22 +75,12 @@ const config = {
7575
style: 'dark',
7676
links: [
7777
{
78-
title: 'Docs',
79-
items: [
80-
{
81-
label: 'Intro',
82-
to: '/docs/intro',
83-
},
84-
],
78+
label: 'Docs',
79+
to: '/docs/intro',
8580
},
8681
{
87-
title: 'More',
88-
items: [
89-
{
90-
label: 'GitHub',
91-
href: 'https://github.com/solid-software/solid_lints',
92-
},
93-
],
82+
label: 'GitHub',
83+
href: 'https://github.com/solid-software/solid_lints',
9484
},
9585
],
9686
copyright: `Copyright © ${new Date().getFullYear()} Solid Software. Built with Docusaurus.`,

doc/docusaurus/src/css/custom.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,25 @@
3030
--ifm-color-primary-lightest: #f68f6a;
3131
--ifm-background-color: #19191a;
3232
}
33+
34+
.footer {
35+
padding: 8px;
36+
}
37+
38+
.footer--dark {
39+
--ifm-footer-background-color: rgba(0, 0, 0, 0.05);
40+
--ifm-footer-link-color: var(--ifm-content-color);
41+
}
42+
.footer--light {
43+
--ifm-footer-background-color: rgba(255, 255, 255, 0.05);
44+
--ifm-footer-link-color: var(--ifm-content-color);
45+
}
46+
47+
.footer > .container {
48+
display: flex;
49+
justify-content: space-between;
50+
}
51+
52+
.footer__links {
53+
margin: 0;
54+
}

0 commit comments

Comments
 (0)