Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit b6e7142

Browse files
committed
Update style
1 parent aa72627 commit b6e7142

4 files changed

Lines changed: 22 additions & 14 deletions

File tree

docs/docusaurus.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,13 @@ const config = {
142142
],
143143
},
144144
footer: {
145-
style: 'dark',
145+
style: 'light',
146+
logo: {
147+
alt: 'github-version-checker logo',
148+
src: 'img/logo.svg',
149+
href: '/',
150+
height: 32,
151+
},
146152
copyright: `Copyright © ${new Date().getFullYear()} Axel Rindle & Contributors. Built with Docusaurus.`,
147153
},
148154
prism: {

docs/src/components/Home/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function HomepageHeader() {
1515
<Content />
1616
<div className={styles.buttons}>
1717
<Link
18-
className="button button--secondary button--lg"
18+
className="button button--info button--outline button--lg"
1919
to="/docs/">
2020
Jump right in 🤸‍♂️
2121
</Link>

docs/src/components/Home/header.module.css

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
/**
2-
* CSS files with the .module.css suffix will be treated as CSS modules
3-
* and scoped locally.
4-
*/
5-
61
.heroBanner {
7-
padding: 4rem 0;
2+
padding: 8rem 0;
83
text-align: center;
94
position: relative;
105
overflow: hidden;
6+
color: white;
7+
background-color: #5E1B82;
118
}
129

1310
@media screen and (max-width: 996px) {
1411
.heroBanner {
15-
padding: 2rem;
12+
padding: 4rem .25rem;
1613
}
1714
}
1815

docs/src/css/custom.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,22 @@
44
* work well for content-centric websites.
55
*/
66

7-
/* You can override the default Infima variables here. */
7+
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Lato&display=swap');
8+
89
:root {
9-
--ifm-color-primary: #134094;
10-
--ifm-color-secondary: #6cc0ba;
10+
--ifm-font-family-base: 'Lato', sans-serif;
11+
--ifm-color-primary: #C457FF;
12+
/* --ifm-color-secondary: #542344; */
1113
--ifm-code-font-size: 95%;
1214
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
1315
}
1416

17+
.hero__title,
18+
.navbar__title {
19+
font-family: 'Audiowide', cursive;
20+
}
21+
1522
/* For readability concerns, you should choose a lighter palette in dark mode. */
1623
[data-theme='dark'] {
17-
--ifm-color-primary: #4269b1;
18-
--ifm-color-secondary: #368F8B;
1924
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
2025
}

0 commit comments

Comments
 (0)