Skip to content

Commit

Permalink
chore: footer style
Browse files Browse the repository at this point in the history
  • Loading branch information
tvqqq committed Jun 5, 2023
1 parent eee3fc7 commit 8de0c6a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
2 changes: 0 additions & 2 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ export const FooterImpl: React.FC = () => {

return (
<footer className={styles.footer}>
<div></div>
<div className={styles.copyright}>Copyright © 2023 - {config.author}</div>
<div></div>

{/* <div className={styles.settings}>
{hasMounted && (
Expand Down
21 changes: 14 additions & 7 deletions components/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,25 @@
.footer {
width: 100%;
max-width: 1100px;
margin: auto auto 1em;
padding: 8px;
margin: -2em auto 0;
padding: 1em;
display: block;

display: flex;
/* display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
align-items: center; */
}

.copyright {
text-align: center;
font-size: 80%;
padding: 0.5em;
margin-top: -2em;
}
@media screen and (min-width: 1300px) {
.copyright {
margin-left: 40px;
}
}

.settings,
Expand Down Expand Up @@ -123,7 +130,7 @@
border-top: 1px solid var(--fg-color-0);
}

@media only screen and (max-width: 566px) {
/* @media only screen and (max-width: 566px) {
.footer {
flex-direction: column;
}
Expand All @@ -141,7 +148,7 @@
.footer .copyright {
order: 3;
}
}
} */

.pageActions {
display: flex;
Expand Down
5 changes: 5 additions & 0 deletions styles/zcustom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@
}
}
}

// Block Sticker before footer
.notion-block-3cbaa189fc184e6096ea634c370c153b {
margin-top: -1em;
}
}

/** Pages have github icon **/
Expand Down

1 comment on commit 8de0c6a

@vercel
Copy link

@vercel vercel bot commented on 8de0c6a Jun 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.