From c9b299b575216b6c20ef9335740fb3cad39ba4e5 Mon Sep 17 00:00:00 2001 From: daniela-idara Date: Wed, 17 Jul 2019 23:27:01 -0500 Subject: [PATCH 1/3] sign in + css --- public/index.css | 56 +++++++++++++ public/index.html | 23 ++++++ public/index.js | 199 ++++++++++++++++++++++++++++++++++++++++++++- public/products.js | 2 + 4 files changed, 278 insertions(+), 2 deletions(-) create mode 100644 public/index.css diff --git a/public/index.css b/public/index.css new file mode 100644 index 00000000..6da3d556 --- /dev/null +++ b/public/index.css @@ -0,0 +1,56 @@ +body { + background-color: yellow; + margin: 0 auto; + font-family: 'Oxygen', sans-serif; +} + +#search, #cart, #cartBtn, #home { + margin-left: 50px; + +} + +#empty, #totalPrice { + text-align: center; + padding: 20px; + margin: 20px; + font-size: 25px; + font-weight: bold; +} + +#eachTotal { + font-weight: bold; +} + +#signup { + margin-top: 50px; + margin-left: 50px; +} + +#home { + margin-top: 20px; + font-weight: bold; + font-size: 30px; +} + +#products { + display: flex; + padding: 20px; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-evenly; +} + +#productCard { + padding: 20px; + background-color: rgb(224, 222, 222); + border: 5px solid black; + height: 100%; + width: 300px; + margin: 5px; +} + +img { + height: 100px; + width: 100px; +} + diff --git a/public/index.html b/public/index.html index 138da963..cedb7986 100644 --- a/public/index.html +++ b/public/index.html @@ -5,10 +5,33 @@ My Store + +
+ Welcome to ACA-Store

+ Email
+ Password
+ +
+ +