IP/2_lab/testBootstrap_main/style.css

319 lines
3.9 KiB
CSS
Raw Normal View History

2023-10-24 11:06:11 +04:00
header nav {
background-color: #181818;
margin-bottom: 1%;
}
@media (max-width: 768px) {
header nav {
height: 90px;
}
.panel-col {
display: flex;
flex-direction: row;
justify-content: center;
}
}
#body tr:hover {
cursor: pointer;
}
@media (max-width: 766px) {
.banner-main {
width: 30vw;
}
}
@media (max-width: 368px) {
.panel-col {
display: flex;
flex-direction: column;
}
.banner-main {
width: auto;
}
}
.banner-main {
border-radius: 10px;
background: #A59672;
margin-top: 20px;
height: relative;
margin-right: 10px;
}
header nav a:hover {
text-decoration: underline;
}
.about-us-link {
align-content: start;
margin-left: 0;
padding-left: 0;
}
.btn-rectangle-white {
color: #3D4F64;
font-family: Montserrat;
padding: 1ex;
padding-left: 5ex;
padding-right: 5ex;
border-radius: 2px;
border: 1px solid #3D4F64;
background: #FFF;
}
.btn-rectangle {
color: #ffffff;
font-family: Montserrat;
padding: 1ex;
padding-left: 5ex;
padding-right: 5ex;
border-radius: 2px;
border: 1px solid #3D4F64;
background: #3E5646;
}
.badge {
background: #3E5646;
}
.row-of-inter {
margin-left: 10%;
margin-top: 5%;
}
.row-of-pictures {
text-align: center;
}
.picture-sigh {
display: inline-block;
}
menu {
margin: 100px, 100px;
padding: 10%, 10%;
}
.d-inline-block {
border-radius: 20%;
}
.col-of-about {
background-color: #3E5646;
}
.table {
border-spacing: 1px;
}
@media (max-width: 310px) {
.font-basket {
font-size: 13px;
}
}
.text-about-us {
text-align: justify;
padding: auto;
}
card-description-text {
text-align: justify;
padding: auto;
}
.card {
border: #ffffff;
transition: 0.3s;
}
.input-number {
width: 40px;
}
.btn-catalog {
background: #3E5646;
width: 100%;
padding-bottom: 4px;
padding-top: 4px;
font-size: small;
border: #3E5646;
}
.btn-catalog:hover,
.btn-sign:hover,
.btn-card,
.btn-rectangle:hover {
background: #2b3b30;
}
.quantity-goods {
width: relative;
}
.btn-catalog.btn.btn-primary:active,
.btn-sign.btn.btn-lg.mt-5.shadow.border.text-light:active,
.btn-card:active,
.btn.btn-rectangle:active {
background: #2b3b30;
}
.btn-card {
background: #887A57E0;
width: 25%;
padding: 20px;
}
.card-body {
margin-top: 10%;
padding: 0;
}
.card-text {
margin-top: 0;
padding: auto;
}
.card-description {
background: #3E5646;
}
.btn-sign {
width: 100%;
background: #3E5646;
border-radius: 25px;
padding-left: 8%;
padding-right: 8%;
border: #3E5646;
}
footer {
background-color: #181818;
height: 80px;
color: #ffffff;
padding: 2ex;
}
@media (max-width : 376px) {
footer {
height: 80px;
}
}
.counter {
height: 25px;
flex-shrink: 0;
border-radius: 2px;
border: 1px solid #C0C0C0;
background: #FFF;
}
.counter-btn {
width: 24.567px;
height: 25px;
flex-shrink: 0;
border-radius: 2px 0px 0px 2px;
background: #3D4F64;
}
@media (max-width : 376px) {
.placeholder-class {
font-size: 4vw;
}
}
@media (max-width:768px) {
.col-bott {
margin-top: 10px;
}
.banner-text {
font-size: 24px;
}
}
@media (max-width:768px) {
.banner-text.ms-2 {
font-size: 13px;
}
}
.banner-text {
color: #FFF;
font-family: Inria Serif;
font-size: 1.3vw;
font-style: normal;
font-weight: 400;
line-height: 149.4%;
}
.card-title {
font-size: 15px;
}
.card-text {
font-size: small;
}
.admin_add_photo {
height: 100px;
background: #bebebe;
}
h1 {
font-size: 1.5em;
}
h2 {
font-size: 1.25em;
}
h3 {
font-size: 1.1em;
}