diff --git a/instance/app.db b/instance/app.db index f829db8a75fc406e0239b6b1828275560567c0a5..1775a1cbcfeb791982093819731bf24ba61b79be 100644 Binary files a/instance/app.db and b/instance/app.db differ diff --git a/shop/static/styles.css b/shop/static/styles.css index c0b5b06974fb4301cbb86300f8b33e3dc17939d0..05c78b505ba7567953e191a7bc246d1b768099ee 100644 --- a/shop/static/styles.css +++ b/shop/static/styles.css @@ -403,31 +403,39 @@ li { background-color: #202020; } -.footer_logo_div { - margin-left: 50px; +.footer_logo_left_div { + width: 30%; + margin-left: 2%; margin-top: 10px; + clear: left; +} + +.footer_logo_right_div { + position: absolute; + top: 0; + right: 0; + padding-left: 20px; } .footer_logo_left { height: 100px; - max-width: 30% + max-width: 100%; +} + +.footer_logo_right { + height: 100px; + float: right; } .footer_contact { color: white; text-align: center; - width: 20%; + width: 30%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } -.footer_bike { - position: absolute; - top: 0%; - left: 50%; - transform: translate(380%, 0%); -} .home_block { padding-top: 10px; diff --git a/shop/templates/cart.html b/shop/templates/cart.html index a1bb631298789c0b6fb47ed69808c6dba4b0bdcd..d845789b45f37cc098ec0213a2d3658cff754267 100644 --- a/shop/templates/cart.html +++ b/shop/templates/cart.html @@ -60,7 +60,7 @@ <!--repeated footer in page as dont want every page to have it--> <footer id="footer"> - <div class = "footer_logo_div"> + <div class = "footer_logo_left_div"> <img class = "footer_logo_left" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/> </div> <div class = "footer_contact"> @@ -68,8 +68,8 @@ <p>e-mail: mpdrury15@gmail.com</p> <p>telephone: 07874810762</p> </div> - <div class = "footer_bike"> - <img style = "height: 120px" src = "{{ url_for('static', filename='images/footer_mtb.png') }}" alt="mtb image"/> + <div class = "footer_logo_right_div"> + <img class = "footer_logo_right" src = "{{ url_for('static', filename='images/footer_mtb.png') }}" alt="mtb image"/> </div> </footer> diff --git a/shop/templates/home.html b/shop/templates/home.html index e60b0e544bf0a0b241d441b1de61e29c15b8a982..8e15874df175eef84d05ec7bf3192ae07bc13d9e 100644 --- a/shop/templates/home.html +++ b/shop/templates/home.html @@ -33,7 +33,7 @@ <!--repeated footer in page as dont want every page to have it--> <footer id="footer"> - <div class = "footer_logo_div"> + <div class = "footer_logo_left_div"> <img class = "footer_logo_left" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/> </div> <div class = "footer_contact"> @@ -41,8 +41,8 @@ <p>e-mail: mpdrury15@gmail.com</p> <p>telephone: 07874810762</p> </div> - <div class = "footer_bike"> - <img style = "height: 120px" src = "{{ url_for('static', filename='images/footer_mtb.png') }}" alt="mtb image"/> + <div class = "footer_logo_right_div"> + <img class = "footer_logo_right" src = "{{ url_for('static', filename='images/footer_mtb.png') }}" alt="mtb image"/> </div> </footer> diff --git a/shop/templates/shopping.html b/shop/templates/shopping.html index 3a53bf7f7206af13b05e629709458be60e6f1c03..db25ceabb15d724403813f5a6264699c0136e259 100644 --- a/shop/templates/shopping.html +++ b/shop/templates/shopping.html @@ -92,7 +92,7 @@ <!--repeated footer in page as dont want every page to have it--> <footer id="footer"> - <div class = "footer_logo_div"> + <div class = "footer_logo_left_div"> <img class = "footer_logo_left" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/> </div> <div class = "footer_contact"> @@ -100,8 +100,8 @@ <p>e-mail: mpdrury15@gmail.com</p> <p>telephone: 07874810762</p> </div> - <div class = "footer_bike"> - <img style = "height: 120px" src = "{{ url_for('static', filename='images/footer_mtb.png') }}" alt="mtb image"/> + <div class = "footer_logo_right_div"> + <img class = "footer_logo_right" src = "{{ url_for('static', filename='images/footer_mtb.png') }}" alt="mtb image"/> </div> </footer> diff --git a/shop/templates/wishlist.html b/shop/templates/wishlist.html index bf614eb7b542b2bfd66001db6f0cf79720278786..648ee37413df0c8068df8a38a40568ac7efe91cb 100644 --- a/shop/templates/wishlist.html +++ b/shop/templates/wishlist.html @@ -47,7 +47,7 @@ <!--repeated footer in page as dont want every page to have it--> <footer id="footer"> - <div class = "footer_logo_div"> + <div class = "footer_logo_left_div"> <img class = "footer_logo_left" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/> </div> <div class = "footer_contact"> @@ -55,8 +55,8 @@ <p>e-mail: mpdrury15@gmail.com</p> <p>telephone: 07874810762</p> </div> - <div class = "footer_bike"> - <img style = "height: 120px" src = "{{ url_for('static', filename='images/footer_mtb.png') }}" alt="mtb image"/> + <div class = "footer_logo_right_div"> + <img class = "footer_logo_right" src = "{{ url_for('static', filename='images/footer_mtb.png') }}" alt="mtb image"/> </div> </footer> {% endblock %}