From c1b88f7bf36c7bb3739e3321a59681d1f53bf898 Mon Sep 17 00:00:00 2001 From: McClowny <103783445+McClowny@users.noreply.github.com> Date: Tue, 23 Apr 2024 14:39:14 -0500 Subject: [PATCH] Create styles.css --- styles.css | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 styles.css diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..eafe079 --- /dev/null +++ b/styles.css @@ -0,0 +1,95 @@ +body { + background-image: url(https://cdn.freecodecamp.org/curriculum/css-cafe/beans.jpg); + font-family: sans-serif; + padding: 20px; + } + + h1 { + font-size: 40px; + margin-top: 0; + margin-bottom: 15px; + } + + h2 { + font-size: 30px; + } + + .established { + font-style: italic; + } + + h1, h2, p { + text-align: center; + } + + .menu { + width: 80%; + background-color: burlywood; + margin-left: auto; + margin-right: auto; + padding: 20px; + max-width: 500px; + } + + img { + display: block; + margin-left: auto; + margin-right: auto; + } + + hr { + height: 2px; + background-color: brown; + border-color: brown; + } + + .bottom-line { + margin-top: 25px; + } + + h1, h2 { + font-family: Impact, serif; + } + + .item p { + display: inline-block; + margin-top: 5px; + margin-bottom: 5px; + font-size: 18px; + } + + .flavor, .dessert { + text-align: left; + width: 75%; + } + + .price { + text-align: right; + width: 25%; + } + + /* FOOTER */ + + footer { + font-size: 14px; + } + + .address { + margin-bottom: 5px; + } + + a { + color: black; + } + + a:visited { + color: black; + } + + a:hover { + color: brown; + } + + a:active { + color: brown; + }