123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- .card {
- color: black;
- }
- header {
- width: 100%;
- position: relative;
- background-size: cover;
- background-position: 50% 50%;
- background-image: url(./img/banner3.jpg);
-
- }
- header:after {
- content: "";
- position: absolute;
- background: rgb(20, 10, 1);
- opacity: 0.7;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- }
- .card {
- box-shadow: 0 10px 15px rgba(0,0,0,0.2), 0 8px 8px rgba(0,0,0,0.2);
- transition: .2s linear;
- }
- .card:hover {
- cursor: pointer;
- box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
- }
- .navbar {
- width: 100%;
- display: flex;
- justify-content: space-between;
- z-index: 2;
- }
- .navbar-brand {
- margin-right: auto;
- }
- .btn-cart {
- display: flex;
- width: 200px;
- align-items: center;
- padding: 0 5px;
- border-radius: 10px;
- background-color: rgba(63, 37, 3, 0.356);
- color: #fff;
- }
-
- .btn-cart:hover {
- color: rgb(238, 11, 11);
- cursor: pointer;
- }
-
- .icon-basket {
- width: 40px;
- height: 40px;
- margin-right: 5px;
- fill: #f8f8f8;
- transition: all .2s;
- }
-
- .btn-cart-info {
- display: inline-block;
- padding: 0 5px;
- font-size: 14px;
- text-align: center;
-
- }
- .pizza-caloricity {
- position: absolute;
- top: 10px;
- right: 10px;
- font-size: .8rem;
- font-weight: 600;
- color: rgb(199, 7, 7);
- }
-
- .card-price {
- font-size: 1.5rem;
- font-weight: 600;
- color: rgb(199, 7, 7);
- }
-
- .card-footer {
- padding: 0;
- padding-bottom: 20px;
- border: none;
- background-color: #fff;
- }
-
- .btn-add-to-basket {
- width: 70%;
- margin: 0 auto;
- font-size: 20px;
- text-align: center;
- color: #fff;
- background-image: url(./img/btn2.jpeg);
-
- }
- .btn-favorite {
- position: absolute;
- top: 15px;
- left: 15px;
- display: block;
- width: 22px;
- height: 20px;
- background-color: transparent;
- background-image: url(../img/emptyheart.png);
- background-size: cover;
- border: none;
- outline: none;
- }
-
- .btn-cart:active,
- .btn-cart:focus,
- .btn-favorite:active,
- .btn-favorite:focus {
- border: none;
- outline: none;
- }
-
- .btn-favorite--active {
- background-image: url(../img/heart.png);
- }
- .modal-content {
- padding: 10px;
- }
- footer {
- background-color: rgb(31, 13, 1);
- }
|