File tree Expand file tree Collapse file tree 5 files changed +724
-9
lines changed
src/components/UserPortal/OrganizationCard Expand file tree Collapse file tree 5 files changed +724
-9
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,26 @@ const config: Config = {
30
30
presets : [
31
31
[
32
32
'classic' ,
33
+ /** @type {import('@docusaurus/preset-classic').Options } */
33
34
{
34
35
docs : {
35
- sidebarPath : './sidebars.ts' ,
36
- // Please change this to your repo.
37
- // Remove this to remove the "edit this page" links.
36
+ sidebarPath : require . resolve ( './sidebars.js' ) ,
37
+ editUrl : ( { docPath } ) => {
38
+ return `https://github.com/PalisadoesFoundation/talawa-admin/edit/develop/docs/docs/${ docPath } ` ;
39
+ } ,
40
+ } ,
41
+ blog : {
42
+ showReadingTime : true ,
38
43
editUrl :
39
- 'https://github.com/facebook/docusaurus /tree/main/packages/create-docusaurus/templates/shared/ ' ,
44
+ 'https://github.com/PalisadoesFoundation/talawa-admin /tree/develop/docs/docs ' ,
40
45
} ,
41
46
theme : {
42
- customCss : './src/css/custom.css' ,
47
+ customCss : [
48
+ require . resolve ( './src/css/custom.css' ) ,
49
+ require . resolve ( './src/css/index.css' ) ,
50
+ ] ,
43
51
} ,
44
- } satisfies Preset . Options ,
52
+ } ,
45
53
] ,
46
54
] ,
47
55
@@ -76,7 +84,7 @@ const config: Config = {
76
84
{
77
85
label : 'Admin Guide' ,
78
86
position : 'left' ,
79
- href : 'https://docs-admin.talawa.io /docs' ,
87
+ href : '/docs' ,
80
88
target : '_self' ,
81
89
} ,
82
90
{
Original file line number Diff line number Diff line change 6
6
*/
7
7
8
8
: root {
9
+ --h1-markdown : # 021526 ;
10
+ --h2-markdown : # 3a6d8c ;
11
+ --h3-markdown : # 474e93 ;
12
+ --h4-markdown : # 508c9b ;
13
+ --h5-markdown : # 6a9ab0 ;
14
+ --h6-markdown : # 888888 ;
15
+ --hx-markdown-underline : # eeeeee ;
9
16
--secondary-blue-900 : # 001c63 ;
10
17
--sidebar-bg-color : # f3f4f6 ;
11
18
--secondary-blue-500 : # 3970fd ;
@@ -119,12 +126,32 @@ h1.docTitle_node_modules-\@docusaurus-theme-classic-src-theme-DocItem- {
119
126
--ifm-h2-font-size : 1.875rem ;
120
127
margin-bottom : 0.8rem ;
121
128
margin-top : calc (var (--ifm-h2-vertical-rhythm-top ) * 0rem );
129
+ color : var (--h2-markdown );
130
+ border-bottom : 1px solid var (--hx-markdown-underline );
131
+ padding-bottom : 5px ;
122
132
}
123
133
124
134
.markdown > h3 {
125
135
--ifm-h3-font-size : 1.5rem ;
126
136
margin-bottom : 0.8rem ;
127
137
margin-top : calc (var (--ifm-h3-vertical-rhythm-top ) * 0rem );
138
+ color : var (--h3-markdown );
139
+ border-bottom : 1px solid var (--hx-markdown-underline );
140
+ padding-bottom : 5px ;
141
+ }
142
+
143
+ .markdown > h4 {
144
+ color : var (--h4-markdown );
145
+ border-bottom : 1px solid var (--hx-markdown-underline );
146
+ padding-bottom : 5px ;
147
+ }
148
+
149
+ .markdown > h5 {
150
+ color : var (--h5-markdown );
151
+ }
152
+
153
+ .markdown > h6 {
154
+ color : var (--h6-markdown );
128
155
}
129
156
130
157
.navbar {
You can’t perform that action at this time.
0 commit comments