internet_programming/laba2/ip laba2/styles/style.css

616 lines
9.2 KiB
CSS
Raw Normal View History

2023-11-17 14:46:26 +04:00
/* header */
.navbar-brand>img {
width: 25px;
}
.navbar-brand {
display: flex;
align-items: center;
}
.container-fluid {
margin-left: 140px;
margin-right: 140px;
}
.navbar {
display: flex;
justify-content: space-between;
}
.navbar-collapse {
flex-grow: 0;
}
/* фон */
.index-section {
margin-top: 55.6px;
}
/* главная */
.index-page {
background-image: url("fon7.jpg");
background-size: no-repeat;
background-position: center;
background-size: cover;
height: 100vh;
}
.title {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.title>p {
font-weight: 700;
font-size: 50px;
}
.navbar-text {
width: 100%;
display: flex;
Justify-content: flex-end;
padding-right: 8px;
}
/* каталог */
.catalog-section {
display: flex;
margin-top: 55.6px;
}
.title-one>h2 {
font-size: 35px;
margin-top: 30px;
text-align: center;
/* font-family: Verdana, Geneva, Tahoma, sans-serif; */
}
.main-margin-for-card {
margin-top: 15px;
margin-bottom: 50px;
display: flex;
}
.col-md-6 {
margin-top: 30px;
}
.col-lg-4 {
margin-top: 30px;
}
.col-xxl-3 {
margin-top: 30px;
}
.card {
align-items: center;
2023-12-22 14:06:40 +04:00
height: 256px;
2023-11-17 14:46:26 +04:00
}
.card>img {
2023-12-22 14:06:40 +04:00
width: auto;
height: 130px;
2023-11-17 14:46:26 +04:00
margin-top: 10px;
}
.card-title {
2023-12-22 14:06:40 +04:00
font-size: 16px;
2023-11-17 14:46:26 +04:00
font-weight: 700;
max-width: 160px;
text-align: center;
}
.card-text {
max-width: 160px;
text-align: center;
2023-12-22 14:06:40 +04:00
font-size: 18px;
2023-11-17 14:46:26 +04:00
}
.what-buy {
padding-top: 40px;
padding-bottom: 40px;
width: 400px;
}
.what-buy>h3 {
font-size: 28px;
}
.what-buy>p {
font-size: 18px;
}
.buttom-admin {
display: flex;
justify-content: center;
}
.button-edit {
width: 25px;
height: 25px;
border: none;
background-color: #ffffff;
background-image: url('icons8-редактировать-64.png');
background-size: cover;
margin-right: 5px;
}
.button-delete {
width: 25px;
height: 25px;
border: none;
background-color: #ffffff;
background-image: url('icons8-удалить-64.png');
background-size: cover;
}
/* войти */
.title-sign {
text-align: center;
font-size: 23px;
font-weight: 500;
padding-bottom: 15px;
}
.sing-section {
display: flex;
height: 100vh;
}
.border-sin {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
form {
width: 500px;
margin-top: -100px;
}
.krug {
margin-top: 30px;
display: flex;
justify-content: center;
}
.krug>.btn-primary {
border-radius: 20px;
width: 120px;
}
.string {
text-align: center;
margin-top: 16px;
}
.string>.nav-link {
color: #0d6efd;
font-weight: 700;
display: inline;
}
.krug2 {
margin-top: 30px;
display: flex;
justify-content: center;
}
.krug2>.btn-primary {
border-radius: 20px;
width: 200px;
}
/* страница админа */
.admin-header>a {
color: rgb(133, 203, 253);
}
.margin-admin {
margin-bottom: 8px;
}
.title-admin {
text-align: center;
font-size: 18px;
font-weight: 500;
padding-bottom: 15px;
}
.form-admin {
width: 300px;
}
/* .add-picture {
margin-top: 30px;
}
.add-picture>.btn-primary {
background: #000000;
border-color:#000000;
width: 100%;
}
.add-picture>.btn-primary:hover {
background: #333333;
border-color: #606060;
}
.add-picture>.btn-primary:active {
background: #333333;
border-color: #606060;
} */
.add-tovar {
margin-top: 30px;
display: flex;
justify-content: center;
}
.add-tovar >.btn-primary {
border-radius: 5px;
width: 160px;
width: 100%;
}
/* поддержка */
.support-section {
height: 100vh;
}
.top-picture {
background-image: url("support.jpg");
background-size: no-repeat;
background-position: center;
background-size: cover;
height: 450px;
display: flex;
}
.main {
display: flex;
}
.title-support {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.title-support>p {
font-weight: 500;
font-size: 50px;
color:#ffffff;
margin-top: -100px;
}
.conteiner-support {
margin-top: 40px;
max-width: 450px;
}
.call-as-about {
font-size: 25px;
}
.content {
margin-top: 20px;
font-size: 18px;
}
/* о нас */
.about-us-section {
/* height: 100vh; */
margin-top: 55.6px;
background-color: #000000;
display: flex;
}
.group-text {
color: #ffffff;
}
.up-text {
margin-top: 90px;
}
.up-text>h1 {
font-size: 70px;
}
.down-text {
display: flex;
margin-top: 75px;
justify-content: space-between;
margin-bottom: 200px;
}
.down-text>h3 {
margin-right: 100px;
font-size: 35px;
min-width: 360px;
max-width: 360px;
}
.down-text>p {
max-width: 630px;
font-size: 20px;
2023-12-22 14:06:40 +04:00
}
/* страница админа новая */
#image-preview {
width: 200px;
}
.mainAdmin {
display: flex;
height: 100vh;
margin-top: 100px;
}
.needs-validation {
margin-top: 0px;
}
.btn {
margin-bottom: 15px;
}
.button-delete-admin {
width: 22px;
height: 22px;
border: none;
background-color: #ffffff;
background-image: url('icons8-удалить-64.png');
background-size: cover;
2023-11-17 14:46:26 +04:00
}
@media (max-width: 1200px) {
.down-text>h3 {
margin-right: 70px;
font-size: 30px;
min-width: 310px;
}
}
@media (max-width: 1100px) {
.down-text>h3 {
margin-right: 50px;
font-size: 25px;
min-width: 280px;
}
.up-text>h1 {
font-size: 60px;
}
}
@media (max-width: 991px) {
.down-text {
display: block;
margin-top: 20px;
}
.down-text>p {
margin-top: 15px;
}
}
@media (max-width: 700px) {
.container-fluid {
margin-left: 20px;
margin-right: 20px;
}
.title>p {
font-weight: 600;
font-size: 40px;
}
.navbar-text {
font-size: 14px;
}
.what-buy {
padding-top: 40px;
padding-bottom: 40px;
width: 300px;
}
.what-buy>h3 {
font-size: 30px;
}
.what-buy>p {
font-size: 18px;
}
form {
width: 400px;
}
.up-text {
margin-top: 50px;
}
.up-text>h1 {
font-size: 50px;
}
.down-text>h3 {
font-size: 30px;
}
.title-support>p {
font-size: 33px;
margin-left: 10px;
margin-right: 10px;
}
}
@media (max-width: 570px) {
.title-support>p {
font-size: 30px;
}
.conteiner-support {
max-width: 350px;
}
.call-as-about {
font-size: 20px;
}
.content {
font-size: 15px;
}
}
@media (max-width: 500px) {
.navbar-text {
display: flex;
justify-content: center;
}
.what-buy {
padding-top: 35px;
padding-bottom: 35px;
width: 250px;
}
.what-buy>h3 {
font-size: 20px;
}
.what-buy>p {
font-size: 15px;
}
form {
width: auto;
}
.krug2>.btn-primary {
width: 130px;
font-size: 11px;
}
}
@media (max-width: 420px) {
.up-text {
margin-top: 30px;
}
.up-text>h1 {
font-size: 40px;
}
.down-text>h3 {
font-size: 20px;
min-width: 50px;
}
.down-text>p {
font-size: 14px;
}
}
@media (max-width: 400px) {
.krug>.btn-primary {
width: 100px;
font-size: 14px;
}
.string {
font-size: 14px;
}
.form-admin {
width: 200px;
}
.title-sign {
font-size: 18px;
}
.title-support>p {
font-size: 21px;
text-align: center;
margin-left: 10px;
margin-right: 10px;
}
.conteiner-support {
max-width: 260px;
}
.call-as-about {
font-size: 18px;
}
.content {
font-size: 14px;
}
.what-buy>p {
font-size: 13px;
}
}
@media (max-width: 325px) {
.title>p {
font-weight: 500;
font-size: 30px;
}
.container-fluid {
padding: 0;
}
.navbar-text {
font-size: 10px;
display: flex;
justify-content: center;
}
.what-buy {
padding-top: 35px;
padding-bottom: 35px;
width: 200px;
}
.what-buy>h3 {
font-size: 16px;
}
.what-buy>p {
font-size: 13px;
}
.col-xxl-3 {
display: flex;
justify-content: center;
}
.card {
width: 230px;
}
.card-title {
font-size: 16px;
}
.card-text {
font-size: 16px;
}
.card>img {
width: 8rem;
}
}
@media (max-width: 280px) {
.card {
width: 140px;
}
.card-title {
font-size: 16px;
}
.card-text {
font-size: 14px;
}
.card>img {
width: 6rem;
}
.what-buy {
width: 140px;
}
.form-admin {
width: 150px;
}
.up-text {
margin-top: 20px;
}
.up-text>h1 {
font-size: 30px;
}
.down-text>h3 {
font-size: 16px;
}
.down-text>p {
font-size: 13px;
}
}