feat: fix responsiveness and uneven footer

Co-authored-by: xxDeveloper <Murtatrxx@users.noreply.github.com>
This commit is contained in:
Jacob Nguyen
2022-08-11 20:14:30 -05:00
parent cc7bd61542
commit 33301874f9
6 changed files with 28 additions and 15 deletions

View File

@@ -11530,14 +11530,14 @@ section.cta:before {
max-width: 17rem; max-width: 17rem;
} }
} }
footer a { /* footer a {
color: rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.5);
text-decoration: none; text-decoration: none;
} }
footer a:hover, footer a:active, footer a:focus { footer a:hover, footer a:active, footer a:focus {
color: rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75);
text-decoration: underline; text-decoration: underline;
} } */
.masthead { .masthead {
background-color: #f8f9fa; background-color: #f8f9fa;

View File

@@ -17,14 +17,14 @@ const config = {
// GitHub pages deployment config. // GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these. // If you aren't using GitHub pages, you don't need these.
organizationName: 'sern-handler', // Usually your GitHub org/user name. organizationName: 'sern-handler', // Usually your GitHub org/user name.
projectName: '@sern-handler/framework', // Usually your repo name. projectName: '@sern-handler/handler', // Usually your repo name.
// Even if you don't use internalization, you can use this field to set useful // Even if you don't use internalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want // metadata like html lang. For example, if your site is Chinese, you may want
// to replace "en" with "zh-Hans". // to replace "en" with "zh-Hans".
i18n: { i18n: {
defaultLocale: 'en', defaultLocale: 'en',
locales: ['en', 'fr'], locales: ['en', 'fr', 'tr'],
}, },
presets: [ presets: [
@@ -116,17 +116,21 @@ const config = {
label: 'Discord', label: 'Discord',
href: 'https://discord.gg/DwbF5H5JgQ', href: 'https://discord.gg/DwbF5H5JgQ',
}, },
{
label : 'Open Collective',
href: 'https://opencollective.com/sern'
}
], ],
}, },
{ {
title: 'More', title: 'More',
items: [ items: [
// { //this was causing the build err
// label: 'blog',
// to: '/blog',
// },
{ {
label: 'blog', label: 'GitHub',
to: '/blog',
},
{ //idk how to get ur index.html as our homepage because docasaurus already uses its own index.html
label: 'GitHub', // can we configure its html? //idk if we can make custom homepage let me check //i can add static directories but idk if its considered home page
href: 'https://github.com/sern-handler', href: 'https://github.com/sern-handler',
}, },
], ],

View File

@@ -1,3 +1,3 @@
[build] [build]
publish = "/" publish = "/build"
command = "npm run build" command = "npm run build"

View File

@@ -8,7 +8,7 @@ const FeatureList = [
Svg: require('@site/static/img/battery-svgrepo-com.svg').default, Svg: require('@site/static/img/battery-svgrepo-com.svg').default,
description: ( description: (
<> <>
Start up a new project or integrate in minutes. Start or integrate a new project in minutes.
</> </>
), ),
}, },

View File

@@ -22,6 +22,11 @@
--ifm-navbar-background-color : #ca7693 --ifm-navbar-background-color : #ca7693
} }
.footer--dark {
margin: 0;
text-align: center;
}
/* For readability concerns, you should choose a lighter palette in dark mode. */ /* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] { [data-theme='dark'] {
--ifm-color-primary: #f7dbf2; --ifm-color-primary: #f7dbf2;

View File

@@ -16,16 +16,20 @@
} }
} }
.buttons { .buttons {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.padding-vert--md { .padding-vert--md {
padding-top: 10.10rem !important; padding-top: 10.10rem;
text-align: center; text-align: center;
position: relative; position: relative;
}
} @media screen and (max-width: 1200px) {
.padding-vert--md {
padding-top: 5rem;
}
}