Skip to content

Commit 867f117

Browse files
committed
Initial commit
0 parents  commit 867f117

File tree

8 files changed

+13574
-0
lines changed

8 files changed

+13574
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.DS_Store
2+
node_modules
3+
dist

.vuepress/config.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
base: '/docs/',
3+
title: 'Directus Docs',
4+
description: 'A headless CMS that manages your content, not your workflow.',
5+
themeConfig: {
6+
nav: [
7+
{ text: 'Home', link: 'https://docs.directus.io' },
8+
{ text: 'API Reference', link: '/api' }
9+
],
10+
repo: 'directus/docs/v7',
11+
docsDir: 'docs',
12+
editLinks: true,
13+
}
14+
};

.vuepress/override.styl

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Color Variables
2+
$accentColor = #3498DB
3+
$textColor = #2c3e50
4+
$borderColor = #eeeeee
5+
$codeBgColor = #282c34

.vuepress/style.styl

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
// Nav Underline
2+
.nav-item > a:hover,
3+
.nav-item > a.router-link-active {
4+
border-bottom: 2px solid #3498DB;
5+
}
6+
7+
// "Tip" Accent
8+
.custom-block.tip {
9+
border-color: #3498DB !important;
10+
}
11+
12+
// Code Styling
13+
.token.property,
14+
.token.class-name,
15+
.token.constant,
16+
.token.symbol {
17+
color: #4FC3F7; // f8c555
18+
}
19+
.token.string,
20+
.token.char,
21+
.token.attr-value,
22+
.token.regex,
23+
.token.variable {
24+
color: #FFFFFF; // 7ec699
25+
}
26+
.token.boolean,
27+
.token.number,
28+
.token.function {
29+
color: #4FC3F7; // f08d49
30+
}
31+
.token.operator,
32+
.token.entity,
33+
.token.url {
34+
color: #B39DDB;
35+
}
36+
.content pre,
37+
.content pre[class*="language-"] {
38+
border-radius: 3px !important;
39+
}
40+
41+
// Header Spacing
42+
.content:not(.custom) > h1,
43+
.content:not(.custom) > h2 {
44+
margin-top: -0.0rem !important;
45+
// padding-top: 4.6rem;
46+
}
47+
.content:not(.custom) > h3 {
48+
margin-top: -2.0rem !important;
49+
// padding-top: 4.6rem;
50+
}
51+
.content:not(.custom) > h4,
52+
.content:not(.custom) > h5,
53+
.content:not(.custom) > h6 {
54+
// margin-top: -2.0rem !important;
55+
// padding-top: 4.6rem;
56+
}

0 commit comments

Comments
 (0)