Skip to content

Commit ce861eb

Browse files
committed
Update Config and CSS
1 parent 86f4dc6 commit ce861eb

File tree

3 files changed

+26
-17
lines changed

3 files changed

+26
-17
lines changed

.vitepress/config.mts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ export default defineConfig({
5959
nav: [
6060
{ text: 'Home', link: '/' },
6161
{ text: 'Guides', link: '/guides/get-started', activeMatch: '^/guides/' },
62-
{ text: 'Clients', link: '/clients', activeMatch: '^/clients/' },
63-
{ text: 'Docs', link: '/docs', activeMatch: '^/docs/' },
62+
{ text: 'Clients', link: '/clients/', activeMatch: '^/clients/' },
63+
{ text: 'Docs', link: '/docs/', activeMatch: '^/docs/' },
6464
{
6565
text: 'Links',
6666
items: [
@@ -72,6 +72,14 @@ export default defineConfig({
7272
},
7373
],
7474

75+
socialLinks: [
76+
{ icon: 'github', link: 'https://github.com/django-files/django-files?tab=readme-ov-file#readme' },
77+
{ icon: 'apple', link: 'https://github.com/django-files/ios-client?tab=readme-ov-file#readme' },
78+
{ icon: 'googleplay', link: 'https://github.com/django-files/android-client?tab=readme-ov-file#readme' },
79+
{ icon: 'googlechrome', link: 'https://github.com/django-files/web-extension?tab=readme-ov-file#readme' },
80+
{ icon: 'discord', link: 'https://discord.gg/wXy6m2X8wY' },
81+
],
82+
7583
sidebar: [
7684
{
7785
text: 'Guides',
@@ -118,14 +126,6 @@ export default defineConfig({
118126
},
119127
],
120128

121-
socialLinks: [
122-
{ icon: 'github', link: 'https://github.com/django-files/django-files?tab=readme-ov-file#readme' },
123-
{ icon: 'apple', link: 'https://github.com/django-files/ios-client?tab=readme-ov-file#readme' },
124-
{ icon: 'googleplay', link: 'https://github.com/django-files/android-client?tab=readme-ov-file#readme' },
125-
{ icon: 'googlechrome', link: 'https://github.com/django-files/web-extension?tab=readme-ov-file#readme' },
126-
{ icon: 'discord', link: 'https://discord.gg/wXy6m2X8wY' },
127-
],
128-
129129
editLink: {
130130
pattern: `${settings.docs_repo}/blob/master/docs/:path`,
131131
text: 'View on GitHub',

.vitepress/theme/custom.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,19 @@
22
--vp-home-hero-name-color: transparent;
33
--vp-home-hero-name-background: linear-gradient(120deg, #aeb2ff, #565aa9);
44

5-
--vp-home-hero-image-filter: blur(44px);
65
--vp-home-hero-image-background-image: linear-gradient(0deg, rgba(86, 90, 169, 0.6), rgba(86, 90, 169, 0.6));
6+
--vp-home-hero-image-filter: blur(56px);
7+
}
8+
9+
body {
10+
overflow-y: scroll;
11+
}
12+
13+
summary {
14+
cursor: pointer;
715
}
816

9-
/*NOTE: Override block on images */
1017
.vp-doc img {
1118
display: inline-block;
1219
margin-right: 8px;
1320
}
14-
15-
/*NOTE: Override Team Page top margin */
16-
.VPTeamPage {
17-
margin-top: 0 !important;
18-
}

docs/team.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ const members = [
7373
]
7474
</script>
7575

76+
<!--suppress CssUnusedSymbol -->
77+
<style>
78+
.VPTeamPage {
79+
margin-top: 0 !important;
80+
}
81+
</style>
82+
7683
<VPTeamPage>
7784
<VPTeamPageTitle>
7885
<template #title>

0 commit comments

Comments
 (0)