Skip to content

Commit

Permalink
add fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lizvinskyi0202 committed Dec 14, 2024
1 parent 6890052 commit a9529ce
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 23 deletions.
10 changes: 5 additions & 5 deletions base.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,12 @@
</head>

<body class="goto-here">
<div class="py-1 bg-primary">
<!--
<div class="py-1 bg-primary">
<div class="container">
</div>
</div>
-->
<nav class="navbar navbar-expand-lg navbar-dark ftco_navbar bg-dark ftco-navbar-light" id="ftco-navbar">
<div class="container">
<a class="navbar-brand" href="/">Podhub</a>
Expand Down Expand Up @@ -501,11 +503,9 @@ <h2 class="ftco-heading-2">
<script>
document.write(new Date().getFullYear());
</script>
All rights reserved | This template is made with
All rights reserved | PodHub
<i class="icon-heart color-danger" aria-hidden="true"></i>
by
<a href="https://colorlib.com" target="_blank">Colorlib</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->

</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion css/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 21 additions & 11 deletions css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
position: absolute;
top: 10px;
right: 10px;
background: white;
background: rgba(255, 255, 255, 0);
border: none;
font-size: 16px;
font-size: 24px;
cursor: pointer;
z-index: 1001;
color: #d93c49;
}
.products-burger {
display: none;
Expand Down Expand Up @@ -476,7 +477,14 @@ ul{
margin-bottom: 5px;
}
}

.product__info {
display: flex;
align-items: center;
margin-top: auto;
}
.product__info .price{
margin-left: 20px;
}
.panel {
padding: 0 18px;
background-color: white;
Expand Down Expand Up @@ -713,14 +721,16 @@ ul{
transition: all .3s;
z-index: -3;
&--open{
opacity: 1;
width: 100%;
z-index: 1001;
position: fixed;
top: 0;
height: 100vh;
overflow-y: scroll;
padding: 10px;
opacity: 1;
width: 100%;
z-index: 1001;
position: fixed;
top: 0;
height: 100vh;
overflow-y: scroll;
padding: 10px;
left: -1px;
border-radius: 0 20px 20px 0;
}
}
.product-category{
Expand Down
5 changes: 0 additions & 5 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11889,11 +11889,6 @@ h5,
display: flex;
}

.product__info {
display: flex;
align-items: center;
margin-top: auto;
}
}

.product__btn {
Expand Down
2 changes: 1 addition & 1 deletion pages/shop/shop.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h2>Фільтр за ціною</h2>


<div id="template-products" style="display: none;">
<div class="col-md-6 col-lg-3 ftco-animate">
<div class="col-md-6 col-lg-3 ftco-animate mb-5">
<div class="product">
<a href="/product-single/{id}" class="img-prod"><img class="img-fluid" src="{thumb}"
alt="Product photo">
Expand Down

0 comments on commit a9529ce

Please sign in to comment.