PIbd-21_Yaruskin_S.A_IP/лаб2/css/stylepage5.css
2024-01-06 02:30:45 +04:00

417 lines
7.2 KiB
CSS

:root{
--color1: rgba(76, 115, 255, 1);
--color2: rgba(13, 12, 30, 1);
--color3: rgba(255, 255, 255, 1);
}
@font-face {
font-family: 'Ubuntu';
src: url('../fonts/Ubuntu-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Ubuntu';
src: url('fonts/Ubuntu-Bold.woff') format('woff');
font-weight: normal;
font-style: bold;
}
@font-face {
font-family: 'Ubuntu';
src: url('../fonts/Ubuntu-Medium.woff') format('woff');
font-weight: normal;
font-style: medium;
}
@font-face {
font-family: 'Syne';
src: url('../fonts/Syne-Bold.woff') format('woff');
font-weight: normal;
font-style: bold;
}
.navbar {
margin: 0;
padding: 0;
padding-left: 88px;
padding-right: 88px;
}
section{
padding: 65px 0;
}
.bg-body-color {
background-color: rgb(255, 255, 255);
}
.navbar-brand {
margin-right: 40px;
}
.nav-link.active{
font-family: 'Ubuntu';
font-weight: bold;
opacity: 1;
}
.nav-link {
margin-right: 20px;
font-family: 'Ubuntu';
font-weight: normal;
font-size: 18px;
color: var(--color3);
opacity: 0.7;
}
.nav-link:hover {
opacity: 1;
}
.btn{
font-family: 'Ubuntu';
font-weight: normal;
font-size: 18px;
}
.list{
color: rgba(255, 255, 255);
font-family: Ubuntu;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
opacity: 0.5;
}
.bosslist{
color: #FFF;
font-family: Ubuntu;
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 123%; /* 19.68px */
letter-spacing: 0.56px;
}
.activenav{
color: rgba(255, 255, 255);
font-weight: bold;
opacity: 1;
}
.active{
color: rgba(255, 255, 255);
font-weight: bold;
opacity: 1;
}
footer{
background: #000;
padding-top: 65px;
padding-bottom: 0;
}
.list:hover{
opacity: 1;
}
.textlist{
white-space: nowrap;
}
/* --------------------------------------------------------- */
h1{
color: var(--, #0C0C1D);
text-align: center;
font-family: Ubuntu;
font-size: 36px;
font-style: normal;
}
h2{
color: var(--, #0C0C1D);
text-align: center;
font-family: Ubuntu;
font-size: 18px;
font-style: medium;
font-weight: 400;
line-height: normal;
}
@media (max-width: 380px) {
.navbar {
padding-left: 0;
padding-right: 0;
text-align: center;
}
.navbar-brand {
margin-right: 0;
}
.navbar-toggler {
margin-right: 0;
}
.navbar-nav {
flex-direction: column;
}
.nav-item {
margin-right: 0;
}
}
@media (max-width: 170px) {
.navbar-toggler {
display: block;
position: static;
margin-top: 10px;
}
.navbar-brand {
display: block;
text-align: center;
}
.navbar-nav {
display: none;
}
}
/* ----------------------------------------- */
.container_one{
margin-left: 150px;
margin-right: 150px;
margin-bottom: 10px;
}
@media(max-width: 992px){
.container_one{
margin-left: 100px;
margin-right: 90px;
}
}
@media(max-width: 768px){
.container_one{
margin-left: 50px;
margin-right: 40px;
}
}
@media (max-width: 650px) {
.container_one{
margin-left: 10px;
margin-right: 40px;
}
.text-zag{
margin-left: 15px;
}
.bt{
margin-left: 15px;
}
}
@media(max-width: 270px){
h1{
font-size: 24px;
}
h2{
font-size: 12px;
}
}
@media(max-width: 330){
}
@media(max-width: 170px){
h1{
font-size: 18px;
}
h2{
font-size: 10px;
}
}
/* ----------------------------------- */
.card{
background-color: rgba(255, 255, 255);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
border-radius: 20px;
margin: 20px;
}
#cart-text-cust{
color: #4C73FF;
font-family: Ubuntu;
font-size: 24px;
font-style: medium;
font-weight: 500;
}
p{
color: var(--, #0C0C1D);
font-family: Ubuntu;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
text-transform: capitalize;
}
.text-muted{
color: var(--, #0C0C1D);
font-family: Ubuntu;
font-size: 10px;
font-style: normal;
}
@media(max-width: 355px) {
#cart-text-cust{
font-size: 18px;
}
p{
font-size: 10px;
}
.text-muted{
font-size: 8px;
}
h1{
font-size: 20px;
}
h2{
font-size: 14px;
}
#toggleFilters{
font-size: 12px;
margin-left: 22px;
}
}
.img-geo{
margin-right: 1px;
}
@media(max-width: 263px) {
#cart-text-cust{
font-size: 12px;
}
p{
font-size: 9px;
}
.text-muted{
font-size: 8px;
}
.img-geo{
margin-right: 1px;
}
.text-rol{
font-size: 10px;
}
}
.card-footer{
margin-top: 0px;
}
.text-muted-name{
color: var(--, #0C0C1D);
font-family: Ubuntu;
font-size: 8px;
font-style: normal;
font-weight: 500;
line-height: normal;
margin-right: 1px;
}
@media(max-width: 385px) {
.text-muted-name{
font-size: 6px;
}
.card-img-top {
height: 100%;
width: 100%;
}
}
.img-plus{
width: 10px;
height: 10px;
}
.btn-vib{
color: #FFF;
font-family: Ubuntu;
font-size: 16px;
font-style: normal;
display: flex;
padding: 11px 21px;
justify-content: center;
align-items: center;
gap: 10px;
flex-shrink: 0;
border-radius: 30px;
background: #4C73FF;
}
@media(max-width: 385px) {
.btn-vib{
font-size: 12px;
}
}
@media(max-width: 200px) {
.btn-vib{
font-size: 12px;
margin-top: 0px;
}
}
/* ---------------------- */
.price-output {
width: 100%;
display: flex;
justify-content: space-between;
}
.btn-secondary{
background-color: rgba(217, 217, 217, 1);
border: 0;
}
.text-rol{
color: #000;
}
.form-label{
color: var(--, #0C0C1D);
font-family: Ubuntu;
font-size: 16px;
font-style: medium;
font-weight: 400;
line-height: normal;
}
.btn-filt{
display: flex;
width: 175px;
height: 44px;
padding: 11px 21px;
justify-content: center;
align-items: center;
gap: 10px;
flex-shrink: 0;
border-radius: 15px;
border: 2px solid #000;
color: #000;
font-family: Ubuntu;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
@media(max-width: 1063px){
.btn-filt{
font-size: 12px;
width: 100px;
height: 44px;
padding: 3px 6px;
}
}
@media(max-width: 190px){
.btn-filt{
font-size: 10px;
width: 60px;
height: 44px;
padding: 1px 2px;
}
.form-label{
font-size: 12px;
}
#toggleFilters{
margin-left: 0px;
}
}
#filtersContainer {
border-radius: 15px;
border: 2px solid #000000;
display: none;
padding: 10px;
margin-left: 4px;
margin-right: 20px;
}
@media(max-width: 576px){
#filtersContainer {
margin-right: 0px;
}
}
.filter-button-container {
text-align: right;
margin-bottom: 10px;
}
.container{
padding-left: 30px;
}