My farst commit
This commit is contained in:
466
src/App.css
Normal file
466
src/App.css
Normal file
@@ -0,0 +1,466 @@
|
||||
body {
|
||||
font-family: 'Arial', sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #f8f8f8;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.app {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* Header Styles */
|
||||
.header {
|
||||
background-color: #E4975F;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.header .container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header .logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 1.5em;
|
||||
font-family: 'DM Serif Display';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 24px;
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
.header .logo img {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.header nav a {
|
||||
margin-left: 60px;
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
font-family: "Poppins",sans-serif;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.header .order-button {
|
||||
background-color: #477758;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
border-radius: 11px;
|
||||
width: 100px;
|
||||
font-family: "Poppins",sans-serif;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* Hero Section Styles */
|
||||
.hero-section {
|
||||
padding: 40px 0;
|
||||
background-color: #F1E7D6;
|
||||
}
|
||||
|
||||
.hero-section .container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
/* Добавлено для вертикального выравнивания */
|
||||
}
|
||||
|
||||
.hero-section .hero-image {
|
||||
flex: 1;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.hero-section .hero-image img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.hero-section .hero-content {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.hero-section h1 {
|
||||
font-size: 60px;
|
||||
margin-bottom: 10px;
|
||||
font-family: 'Staatliches';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
line-height: 120%;
|
||||
}
|
||||
|
||||
.hero-section p {
|
||||
font-size: 19px;
|
||||
color: #6C6762;
|
||||
margin-bottom: 20px;
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.hero-section .buttons .shop-button {
|
||||
background-color: #FF9800;
|
||||
color: white;
|
||||
padding: 12px 24px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
border-radius: 8px;
|
||||
margin-right: 10px;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.hero-section .buttons .cart-button {
|
||||
background-color: #E99B62;
|
||||
color: white;
|
||||
padding: 12px 24px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
border-radius: 8px;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
/* About Delivery Styles */
|
||||
.about-delivery {
|
||||
background-color: #F1E7D6;
|
||||
padding: 40px 0;
|
||||
}
|
||||
|
||||
.about-delivery .container {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-delivery h2 {
|
||||
margin-bottom: 30px;
|
||||
text-align: left;
|
||||
font-family: 'Staatliches';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 68px;
|
||||
|
||||
}
|
||||
|
||||
.about-delivery .delivery-cards {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.about-delivery .delivery-card {
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
padding: 20px;
|
||||
text-align: left;
|
||||
width: 378px;
|
||||
height: 525px;
|
||||
}
|
||||
|
||||
.about-delivery .delivery-card img {
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.about-delivery .delivery-card h3 {
|
||||
font-size: 1.3em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.about-delivery .delivery-card p {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* Monitor Delivery Styles */
|
||||
.monitor-delivery {
|
||||
padding: 40px 0;
|
||||
background-color: #FDF6EB;
|
||||
}
|
||||
|
||||
.monitor-delivery .container {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.monitor-delivery h2 {
|
||||
margin-bottom: 30px;
|
||||
font-family: 'Staatliches';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 80px;
|
||||
line-height: 120%;
|
||||
/* identical to box height, or 108px */
|
||||
text-align: center;
|
||||
color: #313033;
|
||||
|
||||
}
|
||||
|
||||
.monitor-delivery .monitor-cards {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.monitor-delivery .monitor-card {
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
padding: 20px;
|
||||
text-align: left;
|
||||
width: 375px;
|
||||
height: 574px;
|
||||
margin: 10px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.monitor-delivery .monitor-card img {
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.monitor-delivery .monitor-card h3 {
|
||||
font-size: 1.3em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.monitor-delivery .monitor-card p {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* Secure Checkout Styles */
|
||||
.secure-checkout {
|
||||
background-color: #F2E9DA;
|
||||
padding: 40px 0;
|
||||
}
|
||||
|
||||
.secure-checkout .container {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.secure-checkout .checkout-cards {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.secure-checkout .checkout-card {
|
||||
background-color: #e0e0e0;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
padding: 20px;
|
||||
text-align: left;
|
||||
width: 771px;
|
||||
height: 431px;
|
||||
margin: 39px;
|
||||
|
||||
}
|
||||
|
||||
.secure-checkout .checkout-card .icon-container {
|
||||
width: 131px;
|
||||
height: 128px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.secure-checkout .checkout-card h3 {
|
||||
margin-bottom: 10px;
|
||||
color: #F9F9F2;
|
||||
font-family: 'Staatliches';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 36px;
|
||||
line-height: 120%;
|
||||
/* identical to box height, or 43px */
|
||||
|
||||
color: #F9F9F2;
|
||||
|
||||
}
|
||||
|
||||
.secure-checkout .checkout-card p {
|
||||
color: #E1EBDD;
|
||||
margin-bottom: 20px;
|
||||
height: 102px;
|
||||
line-height: 230%;
|
||||
padding: 10px;
|
||||
width: 457px;
|
||||
font-family: 'Poppins';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 212.5%;
|
||||
}
|
||||
|
||||
.secure-checkout .checkout-card button {
|
||||
background-color: #67816B;
|
||||
color: white;
|
||||
padding: 12px 24px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
border-radius: 68px;
|
||||
font-family: 'Poppins';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
line-height: 120%;
|
||||
/* identical to box height, or 24px */
|
||||
text-align: center;
|
||||
|
||||
color: #FDE5D0;
|
||||
|
||||
}
|
||||
|
||||
/* Delivery Options Styles */
|
||||
.delivery-options {
|
||||
padding: 40px 0;
|
||||
background-color: #E2935D;
|
||||
}
|
||||
|
||||
.delivery-options .container {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.delivery-options .delivery-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.delivery-options .delivery-content img {
|
||||
margin-right: 98px;
|
||||
}
|
||||
|
||||
.delivery-options .delivery-content .text-content {
|
||||
text-align: left;
|
||||
position: relative;
|
||||
top: -50px;
|
||||
}
|
||||
|
||||
.delivery-options .delivery-content h2 {
|
||||
margin-bottom: 10px;
|
||||
color: white;
|
||||
font-family: 'Staatliches';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 60px;
|
||||
line-height: 120%;
|
||||
/* identical to box height, or 91px */
|
||||
|
||||
color: #FEFAF4;
|
||||
|
||||
}
|
||||
|
||||
.delivery-options .delivery-content p {
|
||||
color: #FDE4CC;
|
||||
margin-bottom: 20px;
|
||||
font-family: 'Poppins';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 17px;
|
||||
line-height: 200%;
|
||||
}
|
||||
|
||||
.delivery-options .delivery-content button {
|
||||
background-color: #67816B;
|
||||
padding: 12px 24px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
border-radius: 68px;
|
||||
font-family: 'Poppins';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 120%;
|
||||
text-align: center;
|
||||
color: #FDECD8;
|
||||
|
||||
}
|
||||
|
||||
/* Shipping Details Styles */
|
||||
.shipping-details {
|
||||
background-color: #F1E8D9;
|
||||
padding: 40px 0;
|
||||
}
|
||||
|
||||
.shipping-details .container {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.shipping-details h2 {
|
||||
margin-bottom: 30px;
|
||||
font-family: 'Staatliches';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 70px;
|
||||
line-height: 120%;
|
||||
text-align: center;
|
||||
color: #121113;
|
||||
|
||||
}
|
||||
|
||||
.shipping-details .shipping-forms {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.shipping-details .shipping-forms .shipping-form {
|
||||
/*background-color: #F8F3E9;*/
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
padding: 20px;
|
||||
text-align: left;
|
||||
width: 45%;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.shipping-details .shipping-forms .shipping-form img {
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.shipping-details .shipping-forms .shipping-form h3 {
|
||||
font-size: 1.3em;
|
||||
margin-bottom: 10px;
|
||||
font-family: 'Staatliches';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
line-height: 120%;
|
||||
color: #2B2927;
|
||||
}
|
||||
|
||||
.shipping-details .shipping-forms .shipping-form input,
|
||||
.shipping-details .shipping-forms .shipping-form select {
|
||||
width: 500px;
|
||||
padding: 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.shipping-details .shipping-forms .shipping-form a {
|
||||
color: #4CAF50;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Footer Styles */
|
||||
.footer {
|
||||
background-color: #333;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 20px 0;
|
||||
}
|
||||
Reference in New Issue
Block a user