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;
}
}
footer a {
/* footer a {
color: rgba(255, 255, 255, 0.5);
text-decoration: none;
}
footer a:hover, footer a:active, footer a:focus {
color: rgba(255, 255, 255, 0.75);
text-decoration: underline;
}
} */
.masthead {
background-color: #f8f9fa;

View File

@@ -17,14 +17,14 @@ const config = {
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
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
// metadata like html lang. For example, if your site is Chinese, you may want
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en', 'fr'],
locales: ['en', 'fr', 'tr'],
},
presets: [
@@ -116,17 +116,21 @@ const config = {
label: 'Discord',
href: 'https://discord.gg/DwbF5H5JgQ',
},
{
label : 'Open Collective',
href: 'https://opencollective.com/sern'
}
],
},
{
title: 'More',
items: [
// { //this was causing the build err
// label: 'blog',
// to: '/blog',
// },
{
label: 'blog',
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
label: 'GitHub',
href: 'https://github.com/sern-handler',
},
],

View File

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

View File

@@ -8,7 +8,7 @@ const FeatureList = [
Svg: require('@site/static/img/battery-svgrepo-com.svg').default,
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
}
.footer--dark {
margin: 0;
text-align: center;
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #f7dbf2;

View File

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