Internet-programming/lab3/style.css
2024-01-12 11:45:16 +04:00

122 lines
1.8 KiB
CSS

header nav {
background-color: #ffeaf7;
}
@media (min-width: 768px) {
header nav {
height: 110px;
}
}
header nav a:hover {
text-decoration: underline;
}
.navbar-brand img {
margin-left: 235px;
}
@media (max-width: 576px) {
.navbar-brand img {
margin-left: 25px;
}
}
@media (min-width: 577px) and (max-width: 992px) {
.navbar-brand img {
margin-left: 25px
}
}
@media (min-width: 993px) and (max-width: 1200px) {
.navbar-brand img {
margin-left: 150px;
}
}
@media (min-width: 1201px) {
.navbar-brand img {
margin-left: 235px;
}
}
.navbar-banner img {
margin-left: 10px;
width: 50%;
object-fit: cover;
object-position: bottom;
}
.product {
margin-bottom: 30px;
padding-right: 5px;
padding-left: 5px;
height: 100%;
}
.image_al {
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: center;
}
.image_al img {
width: 300px;
height: 300px;
object-fit: cover;
border-radius: 7px;
}
.info-price {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
}
.add-to-cart {
border: none;
width: 35px;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
background-color: #767479;
color: #ffffff;
}
.btn-warning {
height: 35px;
width: 176px;
border-radius: 8px;
margin-right: 10px;
margin-top: 10px;
}
.btn {
height: 35px;
width: 176px;
border-radius: 8px;
margin-right: 10px;
margin-top: 10px;
background-color: #767479;
color: #ffffff !important;
}
.btn:hover {
background-color: #bababa !important;
}
footer {
background-color: #ffeaf7;
}
#image-preview {
max-width: 100%;
max-height: 200px;
width: auto;
height: auto;
}