Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 59a03b3

Browse files
committed
added css rules for dark vuepress
1 parent 59b17c8 commit 59a03b3

File tree

4 files changed

+148
-30
lines changed

4 files changed

+148
-30
lines changed
Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,50 @@
11
module.exports = {
2-
title: 'Verbose Equals True',
3-
base: '/django-postgres-vue-gitlab-ecs/',
2+
title: "Verbose Equals True",
3+
base: "/django-postgres-vue-gitlab-ecs/",
44
port: 8080,
55
dest: "public",
66
plugins: {
7-
'@vuepress/google-analytics': {
8-
'ga': 'UA-131443776-1',
9-
},
7+
"@vuepress/google-analytics": {
8+
ga: "UA-131443776-1"
9+
}
1010
},
1111
serviceWorker: false,
1212
themeConfig: {
13-
lastUpdated: 'Last Updated: ',
14-
sidebar: 'auto',
13+
lastUpdated: "Last Updated: ",
14+
sidebar: "auto",
1515
nav: [
16-
{ text: 'Home', link: '/' },
16+
{ text: "Home", link: "/" },
1717
{
18-
text: 'Start Here',
18+
text: "Start Here",
1919
items: [
20-
{ text: 'Overview', link: '/start/overview/' },
21-
{ text: 'Tools Used', link: '/start/tools/' },
20+
{ text: "Overview", link: "/start/overview/" },
21+
{ text: "Tools Used", link: "/start/tools/" }
2222
]
2323
},
2424
{
25-
text: 'Guide',
25+
text: "Guide",
2626
items: [
27-
{ text: 'Project Setup', link: '/guide/project-setup/' },
28-
{ text: 'Backend API', link: '/guide/django-rest-framework/' },
29-
{ text: 'Vue App', link: '/guide/vue-app/' },
30-
{ text: 'Connecting Backend & Frontend', link: '/guide/connecting-backend-frontend/' },
31-
{ text: 'NGINX', link: '/guide/nginx/' },
32-
{ text: 'Celery & Redis', link: '/guide/celery-and-redis/' },
33-
{ text: 'Production Environment', link: '/guide/production-environment/' },
34-
{ text: 'Vue Authentication', link: '/guide/vue-authentication/' },
27+
{ text: "Project Setup", link: "/guide/project-setup/" },
28+
{ text: "Backend API", link: "/guide/django-rest-framework/" },
29+
{ text: "Vue App", link: "/guide/vue-app/" },
30+
{
31+
text: "Connecting Backend & Frontend",
32+
link: "/guide/connecting-backend-frontend/"
33+
},
34+
{ text: "NGINX", link: "/guide/nginx/" },
35+
{ text: "Celery & Redis", link: "/guide/celery-and-redis/" },
36+
{
37+
text: "Production Environment",
38+
link: "/guide/production-environment/"
39+
},
40+
{ text: "Vue Authentication", link: "/guide/vue-authentication/" }
3541
]
3642
},
37-
{ text: 'Website', link: 'https://verbose-equals-true.tk' },
38-
{ text: 'Source Code', link: 'https://gitlab.com/briancaffey/verbose-equals-true/tree/master/vuepress' },
39-
43+
{
44+
text: "Source Code",
45+
link:
46+
"https://gitlab.com/verbose-equals-true/django-postgres-vue-gitlab-ecs"
47+
}
4048
]
4149
}
42-
}
50+
};
Lines changed: 114 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,116 @@
11
$accentColor = #2e426b
2-
$textColor = #2c3e50
2+
$textColor = white
33
$borderColor = #eaecef
4-
$codeBgColor = #282c34
4+
$codeBgColor = #282c34
5+
6+
// TODO: clean up css rules
7+
8+
body {
9+
background-color: #2e426b;
10+
}
11+
12+
header.navbar {
13+
background-color: #2e426b;
14+
}
15+
16+
div.links {
17+
background-color: #2e426b !important;
18+
}
19+
20+
a.nav-link {
21+
background-color: #2e426b !important;
22+
}
23+
24+
a.nav-link::hover {
25+
color: white !important;
26+
}
27+
28+
div.sidebar
29+
a.sidebar-link {
30+
background-color: #2e426b !important;
31+
}
32+
33+
a.nav-link::hover {
34+
color: white !important;
35+
}
36+
37+
38+
a.sidebar-link {
39+
color: white !important;
40+
}
41+
42+
43+
a.active.sidebar-link {
44+
color: white !important;
45+
}
46+
47+
a.active.sidebar-link::hover {
48+
color: white !important;
49+
}
50+
51+
a.nav-link.router-link-active {
52+
color: white !important;
53+
}
54+
55+
56+
ul.nav-dropdown {
57+
background-color: #2e426b !important;
58+
}
59+
60+
input {
61+
color: black !important;
62+
}
63+
64+
code {
65+
background-color: grey !important;
66+
color: white !important;
67+
}
68+
69+
pre > code {
70+
background-color: #282c34 !important;
71+
}
72+
73+
a.nav-link.action-button {
74+
background-color: white !important;
75+
color: #2e426b !important;
76+
}
77+
78+
a.nav-link::hover {
79+
color: white !important;
80+
}
81+
82+
div.tip.custom-block {
83+
color: #2e426b !important;
84+
}
85+
86+
div.warning.custom-block {
87+
background-color: #fcf7d0 !important;
88+
}
89+
90+
91+
a {
92+
color: white !important;
93+
}
94+
95+
p > a {
96+
color: white !important;
97+
}
98+
99+
div.tip.custom-block > p > a
100+
div.warning.custom-block > p > a {
101+
color: #2e426b !important;
102+
}
103+
104+
ul.suggestions {
105+
background-color: #2e426b !important;
106+
}
107+
108+
ul.suggestions > li {
109+
background-color: #2e426b !important;
110+
color: #2e426b !important;
111+
}
112+
113+
ul.suggestions > li > a {
114+
background-color: #2e426b !important;
115+
color: white !important;
116+
}

documentation/docs/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@ features:
1313
details: This project aims to be accessible to people with all levels of skill.
1414
footer: MIT Licensed | Copyright © 2018-present Brian Caffey
1515
---
16-
17-
Home page?

documentation/docs/start/tools/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
Next we will introduce the software packages used in this project.
44

55
::: warning Incomplete
6-
This section is incomplete. A current list of the technologies used in this project is available at [https://verbose-equals-true.tk/about/technologies](https://verbose-equals-true.tk/about/technologies).
7-
:::
6+
This section is incomplete.
7+
:::

0 commit comments

Comments
 (0)