Skip to content

Commit

Permalink
Improve page CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldoylecs committed Dec 2, 2024
1 parent 918efd6 commit 5235c40
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 6 deletions.
1 change: 1 addition & 0 deletions public/github-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 30 additions & 4 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@
}

header {
height: 50px;
background-color: blue;
height: 75px;
display: flex;
justify-content: center;
align-items: center;
}

header h2 {
color: black;
font-size: 1.75rem;
}

main {
Expand All @@ -29,5 +36,24 @@ main {

footer {
height: 50px;
background-color: yellow;
}
display: flex;
justify-content: center;
align-items: center;
}

footer a {
color: black;
font-size: 0.8rem;
display: flex;
justify-content: center;
align-content: center;
gap: 3px;
}

footer a:hover {
color: #2e2e2e
}

footer a:hover img {
filter: brightness(150%);
}
9 changes: 7 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ function App() {
return (
<div className="app">
<header>

<h2>
Daily Minesweeper
</h2>
</header>
<main>
<Minesweeper />
</main>
<footer>

<a href="https://github.com/michaeldoylecs" target="_blank">
<img src="github-mark.svg" width="20px" height="20px"></img>
Michael Doyle
</a>
</footer>
</div>
)
Expand Down

0 comments on commit 5235c40

Please sign in to comment.