Skip to content

Commit fd6b4eb

Browse files
committed
redesign docs
1 parent 859d0e4 commit fd6b4eb

File tree

9 files changed

+95
-6
lines changed

9 files changed

+95
-6
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ hero:
1313
text: GitHub
1414
link: https://github.com/memetic-block/wuzzy-ao
1515
image:
16-
src: /wuzzy-red.png
16+
src: /wuzzy.png
1717
alt: Logo
1818
features:
1919
- title: Autonomous Web Crawlers

docs/public/rspress-dark-logo.png

-6.15 KB
Binary file not shown.

docs/public/rspress-icon.png

-100 KB
Binary file not shown.

docs/public/rspress-light-logo.png

-6.23 KB
Binary file not shown.

docs/public/wuzzy-dark.png

26.3 KB
Loading

docs/public/wuzzy-red.png

-71.2 KB
Binary file not shown.

docs/public/wuzzy.png

36.8 KB
Loading

rspress.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default defineConfig({
77
icon: '/wuzzy.png',
88
logo: {
99
light: '/wuzzy.png',
10-
dark: '/wuzzy.png',
10+
dark: '/wuzzy-dark.png',
1111
},
1212
globalStyles: path.join(__dirname, './styles/wuzzy.css'),
1313
themeConfig: {

styles/wuzzy.css

Lines changed: 93 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
url('./fonts/BerkeleyMono-Italic.woff2') format('woff2');
2424
}
2525

26-
2726
@font-face {
2827
font-family: 'Berkeley Mono';
2928
font-style: italic;
@@ -34,11 +33,101 @@
3433
}
3534

3635
:root {
37-
--rp-c-brand: rgb(255, 255, 255);
38-
--rp-font-family-base: "Berkeley Mono", monospace;
39-
--rp-font-family-mono: "Berkeley Mono", monospace;
36+
--rp-font-family-base: 'Berkeley Mono', monospace;
37+
--rp-font-family-mono: 'Berkeley Mono', monospace;
38+
--rp-c-brand: #0a0a0a;
39+
--rp-home-hero-name-background: #0a0a0a;
40+
--rp-c-text-1: #0a0a0a;
41+
--rp-c-brand-light: #05df72;
42+
--rp-c-brand-dark: #00c951;
43+
--rp-radius: 0.5rem;
44+
--rp-radius-small: 0.25rem;
45+
--rp-radius-large: 0.4rem;
46+
--rp-border-color: #a1a1a1;
47+
}
48+
49+
.dark {
50+
--rp-c-brand: #05df72;
51+
--rp-home-hero-name-background: #fafafa;
52+
--rp-c-text-1: #fafafa;
53+
--rp-c-bg: #0a0a0a;
54+
--rp-c-bg-soft: #171717;
55+
--rp-c-bg-mute: #171717;
56+
--rp-border-color: #262626;
4057
}
4158

4259
.rspress-nav-search-button div {
4360
font-size: x-small;
4461
}
62+
63+
/* Hero mask */
64+
.mask_bbaa6 {
65+
z-index: -1;
66+
}
67+
68+
/* Buttons */
69+
.link_a7cea.button_e8e0d {
70+
font-size: 14px;
71+
height: max-content;
72+
min-width: max-content;
73+
padding: 0.4rem 0.75rem;
74+
}
75+
76+
.link_a7cea.button_e8e0d.brand_dc619.big_f7033 {
77+
color: #0a0a0a;
78+
}
79+
80+
.button_e8e0d.brand_dc619 {
81+
background: var(--rp-c-brand-light);
82+
}
83+
84+
.dark .button_e8e0d.alt_b0249 {
85+
border-color: var(--rp-border-color);
86+
}
87+
88+
.dark .button_e8e0d.alt_b0249:hover {
89+
background-color: #262626;
90+
opacity: 1;
91+
}
92+
93+
.clip_aacad {
94+
line-height: 1 !important;
95+
}
96+
97+
/* Feature cards */
98+
.rspress-home-feature-card {
99+
border-radius: 0.4rem !important;
100+
user-select: none;
101+
}
102+
103+
/* Menu items */
104+
.menuItemActive_de63c {
105+
background-color: var(--rp-c-bg-soft);
106+
user-select: none;
107+
}
108+
109+
.aside-link.aside-active,
110+
.aside-link.aside-active:hover {
111+
background-color: var(--rp-c-bg-soft);
112+
user-select: none;
113+
}
114+
115+
/* Search button/input */
116+
.navSearchButton_df1fb:hover {
117+
border: 1px solid var(--rp-border-color);
118+
}
119+
120+
/* Media queries */
121+
@media (min-width: 400px) {
122+
h1 {
123+
font-size: 3rem !important;
124+
}
125+
126+
.rspress-home-hero-text {
127+
font-size: 3rem !important;
128+
}
129+
130+
.rspress-home-hero-tagline {
131+
font-size: 1.2rem !important;
132+
}
133+
}

0 commit comments

Comments
 (0)