228 lines
3.6 KiB
CSS
228 lines
3.6 KiB
CSS
body {
|
|
background-color: #edf7f6;
|
|
}
|
|
|
|
* {
|
|
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
|
}
|
|
|
|
header {
|
|
margin-bottom: 50px;
|
|
|
|
}
|
|
|
|
img {
|
|
width: 180px;
|
|
height: 150px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
h2 {
|
|
text-align: center;
|
|
}
|
|
|
|
footer {
|
|
margin-top: 50px;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: black;
|
|
font-weight: bold;
|
|
}
|
|
|
|
header h1 a{
|
|
text-decoration: none;
|
|
color: black;
|
|
font-weight: bold;
|
|
text-align: left;
|
|
}
|
|
|
|
header img {
|
|
width: 200px;
|
|
height: auto;
|
|
}
|
|
|
|
navbar {
|
|
display: flex;
|
|
gap: 15px;
|
|
position: fixed;
|
|
top: 10px;
|
|
right: 35px;
|
|
}
|
|
|
|
.links a {
|
|
text-decoration: none;
|
|
color: black;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.goods {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 70px;
|
|
}
|
|
|
|
.goods p {
|
|
text-align: center;
|
|
width: 270px;
|
|
height: 285px;
|
|
border: 2px solid black;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.goods img {
|
|
width: 250px;
|
|
height: 250px;
|
|
object-fit: cover;
|
|
margin: 0 auto; /* Центрирование */
|
|
}
|
|
|
|
.typeOfOrder {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.typeOfOrder h2{
|
|
border: 2px solid black;
|
|
border-radius: 5px;
|
|
width: 180px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.inProcess h2{
|
|
background-color: yellow;
|
|
}
|
|
|
|
.done h2{
|
|
background-color: green;
|
|
}
|
|
|
|
.basket {
|
|
margin-left: 50px;
|
|
}
|
|
|
|
.basket h1 {
|
|
margin-left: 50px;
|
|
}
|
|
|
|
li {
|
|
position: relative;
|
|
border: 2px solid black;
|
|
border-radius: 10px;
|
|
width: 400px;
|
|
height: auto;
|
|
display: flex;
|
|
font-size: large;
|
|
margin-bottom: 15px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.basket p {
|
|
position: absolute;
|
|
bottom: 5px;
|
|
right: 10px;
|
|
margin: 0;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.orders h1 {
|
|
margin-left: 50px;
|
|
}
|
|
|
|
.favourites p {
|
|
position: absolute;
|
|
bottom: 5px;
|
|
right: 10px;
|
|
margin: 0;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/*.buy {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
background-color: greenyellow;
|
|
text-align: center;
|
|
border: 2px solid black;
|
|
border-radius: 10px;
|
|
width: 200px; /* Фиксированный размер кнопки *
|
|
height: 70px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.buy a {
|
|
font-size: xx-large;
|
|
text-decoration: none;
|
|
color: black;
|
|
font-weight: bold;
|
|
width: 100%; /* Растягиваем ссылку на всю кнопку *
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}*/
|
|
.buy {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
background-color: greenyellow;
|
|
text-align: center;
|
|
border: 2px solid black;
|
|
border-radius: 10px;
|
|
width: 200px;
|
|
height: 60px;
|
|
display: flex;
|
|
transition: background-color 0.3s ease-in-out;
|
|
}
|
|
|
|
.buy a {
|
|
text-decoration: none;
|
|
color: black;
|
|
font-size: xx-large;
|
|
font-weight: bold;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.buy:hover {
|
|
background-color: lightgreen;
|
|
}
|
|
|
|
.account {
|
|
text-align: center;
|
|
margin: 50px auto;
|
|
width: 300px;
|
|
padding: 20px;
|
|
border: 2px solid black;
|
|
border-radius: 15px;
|
|
background-color: #f9f9f9;
|
|
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.account img {
|
|
width: 150px;
|
|
height: 150px;
|
|
object-fit: cover;
|
|
border-radius: 20px; /* Закругленные углы */
|
|
border: 3px solid black;
|
|
}
|
|
|
|
.account h3 {
|
|
font-weight: bold;
|
|
margin-top: 10px;
|
|
font-size: x-large;
|
|
}
|
|
/*
|
|
.dialogue {
|
|
text-align: left;
|
|
margin-top: 10px;
|
|
font-size: 20px;
|
|
}*/ |