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

369 lines
6.5 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: 0px;
margin-right: 0px;
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-title{
color: rgba(12, 12, 29, 0.70);
font-family: Ubuntu;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
text-transform: capitalize;
}
.card-text{
color: #000;
font-family: Ubuntu;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.text-muted-name{
color: var(--, #0C0C1D);
font-family: Ubuntu;
font-size: 8px;
font-style: normal;
line-height: normal;
margin-right: 20px;
}
.content-card{
margin-top: -15px;
}
.pict{
width: 267px;
height: 249px;
}
.price{
color: var(--, #0C0C1D);
font-family: Ubuntu;
font-size: 18px;
font-style: medium;
font-weight: 600;
line-height: normal;
padding-top: 10px;
}
.small-text{
color: rgba(0, 0, 0, 0.50);
font-family: Ubuntu;
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.nine{
color: var(#0C0C1D);
font-family: Ubuntu;
font-size: 16px;
font-style: medium;
font-weight: 600;
line-height: normal;
}
.btn-buy{
display: inline-flex;
padding: 11px 9px;
color: #ffffff;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 15px;
background: #4C73FF;
}
@media(max-width: 317px) {
.pict{
height: auto;
width: auto;
}
}
@media(max-width: 220px){
.btn-buy{
font-size: 14px;
}
}
@media(max-width: 174px){
.btn-buy{
font-size: 8px;
}
}
.filterForm{
margin-bottom: 30px;
border-radius: 15px;
border: 2px solid #000;
}
@media(max-width: 200px){
.form-check-label{
font-size: 10px;
}
h5{
font-size: 15px;
}
}
.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: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
margin-top: 30px;
margin-bottom: 30px;
}
/* -------------кнопка------------- */
.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: #000000;
}
@media(max-width: 1063px){
.btn-filt{
font-size: 12px;
width: 100px;
height: 44px;
padding: 3px 6px;
}
}
@media(max-width: 385px) {
.btn-vib{
font-size: 12px;
}
}
@media(max-width: 200px) {
.btn-vib{
margin-top: 0px;
}
}