diff options
author | AlmightyMiau <almightymeow612@gmail.com> | 2025-01-23 17:23:26 -0800 |
---|---|---|
committer | AlmightyMiau <almightymeow612@gmail.com> | 2025-01-23 17:23:26 -0800 |
commit | ebce6952c53b45e5a64abfe0d4a3beb194f1c06e (patch) | |
tree | 4ded7bfcadaf0ccd46e929ab7b9e79830488f9a4 /styles.css | |
parent | c53b1e2e37c41c84e91b93a4e6ab531e9bc7007c (diff) |
Use divs to organize recipe pagesmain
Add #container, .title, .header, .content, and footer rules to styles.css
Diffstat (limited to 'styles.css')
-rw-r--r-- | styles.css | 36 |
1 files changed, 33 insertions, 3 deletions
@@ -16,7 +16,7 @@ --text-color: white; --border: 2px solid rgb(34, 34, 34); --arrows: url('arrow.png'); - --img-size: 150px; + --img-size: 250px; } html, @@ -32,13 +32,43 @@ body { background-attachment: fixed; } -h3, p, ul, ol { +#container, +.topbar img { + max-width: 850px; + margin: 0 auto; +} + +h1, +.title { + margin: 50px; +} + +h3, +.header { + margin-top: 50px; +} + +.content { background-color: var(--background); + border: var(--border); + margin: 40px; + padding: 10px; + width: 600px; + height: auto; } img { - width: 500px; + width: var(--img-size); height: auto; + margin-left: 175px; +} + +footer { + border: var(--border); + height: 25px; + margin-top: var(--content-spacing); + background-color: var(--background); + text-align: center; } a { |