Skip to content

Commit

Permalink
improve the site further
Browse files Browse the repository at this point in the history
  • Loading branch information
L1lith committed Apr 26, 2021
1 parent 933a44e commit 933c184
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions docs-source/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ function MyApp({ Component, pageProps }) {
<Header />
<main id="page">
<Component {...pageProps} />
<br />
<br />
</main>
</Fragment>
)
Expand Down
3 changes: 2 additions & 1 deletion docs-source/pages/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Home extends Component {
render() {
return (
<div className="home">
<h2>Getting started with Sandhands</h2>
<h1>Getting started with Sandhands</h1>
<br />
<p>
Sandhands is used to sanitize all kinds of data in JS! Make sure to check out the{' '}
Expand Down Expand Up @@ -37,6 +37,7 @@ class Home extends Component {
like to happen after sanitation is performed.
</p>
<br />
<br />
<h2>A Basic Express Example</h2>
Sandhands provides integrated support for working with express, making it perfect for
protecting your endpoints
Expand Down
11 changes: 5 additions & 6 deletions docs-source/styles/_app.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@ body {
border-radius: 10px;
}
#page {
& > h1, & > h2, & > h3, & > h4, & > h5, & > h6 {
margin-bottom: -50px;
& > h1, & > h2, & > h3, & > h4, & > h5, & > h6, & > * > h1, & > * > h2, & > * > h3, & > * > h4, & > * > h5, & > * > h6 { // Any header one or two layers below the page element
background-color: rgba(24, 26, 27, 0.21);
}
& > * {
& > h1, & > h2, & > h3, & > h4, & > h5, & > h6 {
background-color: rgba(24, 26, 27, 0.21);
}
text-align: center;
margin: 0 auto;
color: white;
}
}
#root, #__next {
Expand Down

0 comments on commit 933c184

Please sign in to comment.