123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- /* Reset CSS */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: Georgia, serif;
- background-color: #f7f7f7;
- }
- .container {
- max-width: 1200px;
- margin: 0 auto;
- padding: 20px;
- }
- header {
- background-color: #333;
- color: #fff;
- padding: 10px 0;
- }
- nav ul {
- list-style-type: none;
- text-align: center;
- }
- nav ul li {
- display: inline;
- margin-right: 20px;
- }
- nav ul li a {
- color: #fff;
- text-decoration: none;
- }
- section {
- padding: 50px 0;
- }
- h1, h2, h3 {
- margin-bottom: 20px;
- }
- .company-info {
- display: flex;
- align-items: center;
- margin-bottom: 40px;
- }
- .company-logo {
- max-width: 150px;
- height: auto;
- margin-right: 20px;
- }
- .company-description {
- flex: 1;
- }
- .product {
- margin-bottom: 40px;
- border: 1px solid #ccc;
- padding: 20px;
- display: flex;
- align-items: center;
- position: relative;
- }
- .product-image {
- max-width: 100px;
- height: auto;
- margin-right: 20px;
- }
- .product-info {
- flex: 1;
- }
- .product-header {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- margin-bottom: 10px;
- }
- .product-header h3 {
- margin: 0;
- }
- .price {
- font-weight: bold;
- color: #009688;
- margin-bottom: 10px;
- }
- .description {
- margin-bottom: 20px;
- }
- .buy-button {
- background-color: #009688;
- color: #fff;
- padding: 10px 20px;
- text-decoration: none;
- position: absolute;
- bottom: 10px;
- right: 10px;
- }
- .buy-button:hover {
- background-color: #00796b;
- }
- footer {
- background-color: #333;
- color: #fff;
- padding: 20px 0;
- text-align: center;
- }
|