Skip to content

Commit

Permalink
fix: fixes black text on some screens, background not repeating and b…
Browse files Browse the repository at this point in the history
…uild cards being links (#10)

* fix: makes the build card no longer a link to nowhere

* fix: makes dark mode the only allowed mode

* fix: makes background repeat
  • Loading branch information
corp-0 authored Nov 20, 2022
1 parent 08c681c commit fce5f12
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion components/background.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import LayoutChildren from '../types/layoutChildren';

const Background = ({children}: LayoutChildren) => {
return (
<div className={'bg-scroll bg-layer1 h-screen'}>
<div className={'bg-scroll bg-layer1'}>
{children}
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion components/changelog/buildComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const BuildComponent = (props: Build) => {

return (
<div className={'max-w-xl min-w-sm'}>
<Card href={'#'}>
<Card>
<div className={'mb-4 flex justify-between'}>
<h5 className="text-xl font-bold leading-none text-white">
Build: {version_number}
Expand Down
2 changes: 2 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const Index: NextPage = () => {
return (
<>
<Section>
<div className={"h-screen"}>
<br></br>
<br></br>
<br></br>
Expand All @@ -15,6 +16,7 @@ const Index: NextPage = () => {
secondaryText={'Free and open-source remake of the cult classic Space Station 13, made in Unity Engine.'}
lastText={'Our website is currently in the middle of a make-over. Expect a lot of cool things soon!'}/>
<LandingButtons/>
</div>
</Section>
</>
)
Expand Down
14 changes: 6 additions & 8 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ a {
box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
body {
color: white;
background: black;
}
html {
color-scheme: dark;
}
body {
color: white;
background: black;
}

@tailwind base;
Expand Down

0 comments on commit fce5f12

Please sign in to comment.