add hr global styling, page padding on desktop

This commit is contained in:
plebeius.eth
2024-03-22 13:03:04 +01:00
parent 4c9f7202b8
commit eace4f02b9
6 changed files with 13 additions and 9 deletions
+6
View File
@@ -9,3 +9,9 @@
overflow-x: hidden; overflow-x: hidden;
min-height: 100vh; min-height: 100vh;
} }
@media (min-width: 640px) {
.app {
padding: 5px;
}
}
@@ -27,10 +27,6 @@
.content hr { .content hr {
width: 90%; width: 90%;
/* revert to browser styling for burichan and futaba */
border: var(--hr-border, revert);
border-top: var(--hr-border-top, revert);
height: var(--hr-height, revert);
} }
@@ -40,6 +40,7 @@ export const MobileBoardButtons = ({ address }: BoardButtonsProps) => {
export const DesktopBoardButtons = ({ address }: BoardButtonsProps) => { export const DesktopBoardButtons = ({ address }: BoardButtonsProps) => {
return ( return (
<div className={styles.desktopBoardButtons}> <div className={styles.desktopBoardButtons}>
<hr />
<SubscribeButton address={address} /> <SubscribeButton address={address} />
</div> </div>
); );
@@ -1,6 +1,5 @@
.boardNavDesktop { .boardNavDesktop {
padding: 5px;
font-size: var(--boardnav-font-size); font-size: var(--boardnav-font-size);
color: var(--boardnav-separator-color); color: var(--boardnav-separator-color);
} }
@@ -2,10 +2,6 @@
min-width: 468px; min-width: 468px;
margin-left: -4px; margin-left: -4px;
margin-bottom: 5px; margin-bottom: 5px;
/* revert to browser styling for burichan and futaba */
border: var(--hr-border, revert);
border-top: var(--hr-border-top, revert);
height: var(--hr-height, revert);
} }
.blotter { .blotter {
+6
View File
@@ -43,4 +43,10 @@ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fiel
color: var(--button-desktop-text-color-hover); color: var(--button-desktop-text-color-hover);
cursor: pointer; cursor: pointer;
} }
hr {
border: var(--hr-border, revert);
border-top: var(--hr-border-top, revert);
height: var(--hr-height, revert);
}
} }