Skip to content

Commit

Permalink
Merge branch 'develop-postgres' of https://github.com/PalisadoesFound…
Browse files Browse the repository at this point in the history
…ation/talawa-admin into Bittukr7479-refacor-csss-memberDetail
  • Loading branch information
Bittukr7479 committed Jan 21, 2025
2 parents 1ace754 + a32533b commit 9769c63
Show file tree
Hide file tree
Showing 5 changed files with 724 additions and 9 deletions.
22 changes: 15 additions & 7 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,26 @@ const config: Config = {
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
{
docs: {
sidebarPath: './sidebars.ts',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
sidebarPath: require.resolve('./sidebars.js'),
editUrl: ({ docPath }) => {
return `https://github.com/PalisadoesFoundation/talawa-admin/edit/develop/docs/docs/${docPath}`;
},
},
blog: {
showReadingTime: true,
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
'https://github.com/PalisadoesFoundation/talawa-admin/tree/develop/docs/docs',
},
theme: {
customCss: './src/css/custom.css',
customCss: [
require.resolve('./src/css/custom.css'),
require.resolve('./src/css/index.css'),
],
},
} satisfies Preset.Options,
},
],
],

Expand Down Expand Up @@ -76,7 +84,7 @@ const config: Config = {
{
label: 'Admin Guide',
position: 'left',
href: 'https://docs-admin.talawa.io/docs',
href: '/docs',
target: '_self',
},
{
Expand Down
27 changes: 27 additions & 0 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/

:root {
--h1-markdown: #021526;
--h2-markdown: #3a6d8c;
--h3-markdown: #474e93;
--h4-markdown: #508c9b;
--h5-markdown: #6a9ab0;
--h6-markdown: #888888;
--hx-markdown-underline: #eeeeee;
--secondary-blue-900: #001c63;
--sidebar-bg-color: #f3f4f6;
--secondary-blue-500: #3970fd;
Expand Down Expand Up @@ -119,12 +126,32 @@ h1.docTitle_node_modules-\@docusaurus-theme-classic-src-theme-DocItem- {
--ifm-h2-font-size: 1.875rem;
margin-bottom: 0.8rem;
margin-top: calc(var(--ifm-h2-vertical-rhythm-top) * 0rem);
color: var(--h2-markdown);
border-bottom: 1px solid var(--hx-markdown-underline);
padding-bottom: 5px;
}

.markdown > h3 {
--ifm-h3-font-size: 1.5rem;
margin-bottom: 0.8rem;
margin-top: calc(var(--ifm-h3-vertical-rhythm-top) * 0rem);
color: var(--h3-markdown);
border-bottom: 1px solid var(--hx-markdown-underline);
padding-bottom: 5px;
}

.markdown > h4 {
color: var(--h4-markdown);
border-bottom: 1px solid var(--hx-markdown-underline);
padding-bottom: 5px;
}

.markdown > h5 {
color: var(--h5-markdown);
}

.markdown > h6 {
color: var(--h6-markdown);
}

.navbar {
Expand Down
Loading

0 comments on commit 9769c63

Please sign in to comment.