From a393b360826303fead841645930d41e9f93481ef Mon Sep 17 00:00:00 2001 From: d7hernan <83631798+d7hernan@users.noreply.github.com> Date: Tue, 8 Nov 2022 16:09:45 -0800 Subject: [PATCH 1/2] whatever --- index.html | 3 ++- static/ReviewCard.css | 58 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 static/ReviewCard.css diff --git a/index.html b/index.html index d8c205a..021af3b 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,8 @@ - + + diff --git a/static/ReviewCard.css b/static/ReviewCard.css new file mode 100644 index 0000000..41f82ee --- /dev/null +++ b/static/ReviewCard.css @@ -0,0 +1,58 @@ +/* main.css */ + +* { + font-family: sans-serif; + } + + body { + height: 100%; + width: 100%; + } + + fieldset { + border: 2px solid rgb(214, 214, 214); + box-sizing: border-box; + display: block; + width: max-content; + } + + form button { + display: block; + margin-top: 5px; + } + + label[for="ingredients"] p { + margin: 0; + } + + label[for="numRatings"] { + margin: 10px 0 0 0; + } + + label[for^="rating"] { + padding-right: 10px; + } + + label:not([for^="rating"]) { + display: block; + margin-bottom: 5px; + } + + main { + column-gap: 10px; + display: flex; + flex-wrap: wrap; + height: auto; + max-width: 660px; + row-gap: 10px; + width: 100%; + } + + .danger { + background-color: rgb(254, 171, 171); + border-color: red; + } + + .hidden { + display: none; + } \ No newline at end of file From 7419a0ffe8e67ad8dee5ebb7ad01f20ee6464134 Mon Sep 17 00:00:00 2001 From: d7hernan <83631798+d7hernan@users.noreply.github.com> Date: Tue, 8 Nov 2022 16:14:36 -0800 Subject: [PATCH 2/2] file no longer needed --- source/assets/styles/main.css | 58 ----------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 source/assets/styles/main.css diff --git a/source/assets/styles/main.css b/source/assets/styles/main.css deleted file mode 100644 index d8ba748..0000000 --- a/source/assets/styles/main.css +++ /dev/null @@ -1,58 +0,0 @@ -/* main.css */ - -* { - font-family: sans-serif; -} - -body { - height: 100%; - width: 100%; -} - -fieldset { - border: 2px solid rgb(214, 214, 214); - box-sizing: border-box; - display: block; - width: max-content; -} - -form button { - display: block; - margin-top: 5px; -} - -label[for="ingredients"] p { - margin: 0; -} - -label[for="numRatings"] { - margin: 10px 0 0 0; -} - -label[for^="rating"] { - padding-right: 10px; -} - -label:not([for^="rating"]) { - display: block; - margin-bottom: 5px; -} - -main { - column-gap: 10px; - display: flex; - flex-wrap: wrap; - height: auto; - max-width: 660px; - row-gap: 10px; - width: 100%; -} - -.danger { - background-color: rgb(254, 171, 171); - border-color: red; -} - -.hidden { - display: none; -} \ No newline at end of file