diff --git a/src/Navbar.jsx b/src/Navbar.jsx index a08bd98..5fe5d8c 100644 --- a/src/Navbar.jsx +++ b/src/Navbar.jsx @@ -4,7 +4,7 @@ export default function Navbar() { return ( <> diff --git a/src/style.css b/src/style.css index dfc39bf..3411ec0 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,5 @@ +@import url("https://fonts.googleapis.com/css2?family=Rowdies&display=swap"); + * { font-family: Arial, Helvetica, sans-serif; box-sizing: border-box; @@ -11,6 +13,17 @@ body { margin: 0 auto; } +#root { + background-color: white; + border: 1px solid #6d8e12; + border-radius: 1em; + padding: 1em; + margin-top: 20px; + padding-bottom: 1.5em; + box-shadow: 0 0 5px #8eb32888; +} + + .new-item-form { display: flex; flex-direction: column; @@ -67,24 +80,31 @@ body { font-size: 1.5rem; margin-top: 1.5rem; margin-bottom: 0.5rem; + padding: 0 20px; + +} + +form { + border-top: 1px solid #4d640d; + padding: 20px; } .list { margin: 0; padding: 0; list-style: none; + display: flex; + flex-direction: column; + gap: 0.7rem; + padding: 0 20px; } + + .list li:has(input:checked) label { color: #767778b4; } -.list { - display: flex; - flex-direction: column; - gap: 0.3rem; -} - .list li { display: flex; gap: 0.5rem; @@ -144,12 +164,13 @@ body { } nav { - text-align: center; - margin-bottom: 40px; + text-align: center; + margin-bottom: 40px; } nav h1 { - margin: 5px 0; - font-size: 3rem; - color: #8eb328; + margin: 10px 0; + font-size: 3rem; + color: #8eb328; + font-family: "Rowdies", cursive; }