aDriv4 - MANAGER
Edit File: front.css
.eaton-Banner-DU { width: 100%; height: 50vh; background: linear-gradient(rgb(3,18,49,.8), rgb(3,18,49,.8)), url(../image/banner.png) ; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; margin-top: 135px; } .eaton-Banner-DU > h2 { font-size: 40px; font-weight: bold; } .eaton-Banner-DU > p { color: white; } .eaton-product-DU > article { display: flex; } .sidebar { padding: 20px; border-right: 1px solid #ccc; flex-basis: 25%; background-color: #2E8BCC; width: 100%; height: auto; } .sidebar > main { display: flex; flex-direction: column; gap: 20px; color: white; } .sidebar > main > hr { border: .5px solid #fff; } .sidebar > main > span { display: flex; gap: 5px; } #search-values { background-color: white; padding: 10px; flex-basis: 75%; } .sidebar > main > span > button { padding: 10px; cursor: pointer; background-color: white; flex-basis: 30%; font-weight: bold; } .products-container { padding: 10px; flex-basis: 75%; } .products-container > main { display: flex; justify-content: space-between; padding: 0; align-items: center; } .filters, .sidebar input { margin-top: 0; } .filter-category { display: flex; flex-direction: column; gap: 10px; } .filter-category > hr { border: .5px solid #fff; } .filter-category label { display: flex; margin: 5px 0; gap: 10px; } .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .product { border: 1px solid #ddd; padding: 10px; text-align: center; display: flex; flex-direction: column; } .product a { display: flex; flex-direction: column; justify-content: space-between; height: 100%; } .product img { width: 100%; height: auto; } .product p { font-weight: bold; color: #1573b6; text-align: start; } #power-sort { width: 200px; margin: 10px 0; border: 1px solid #ddd; padding: 10px; } .products-container > hr { width: 100%; height: 1px; color: black; border: .5px solid #e3e2e2; margin: 0px 0 30px; } .fexible-eaton-DU { height: 90vh; width: 100%; background: linear-gradient(rgba(4,22,60,.7), rgba(4,22,60,.7)), url(../image/energy.png) ; background-size: cover; background-position: center; } .fexible-eaton-DU > article { display: flex; align-items: center; height: 100%; } .fexible-eaton-DU > article > aside { flex-basis: 50%; } .content-fexible-eaton-DU { background-color: white; flex-basis: 50%; padding: 30px; display: flex; flex-direction: column; gap: 30px; border-radius: 20px; } .content-fexible-eaton-DU > h2 { color: #02215f; font-weight: bold; font-size: 35px; } .content-fexible-eaton-DU > p { margin: 0; } .find-eaton-DU { display: flex; } .img-find-eaton-DU { flex-basis: 40%; } .img-find-eaton-DU > img { width: 100%; } .content-find-eaton-DU { padding: 30px; display: flex; flex-direction: column; justify-content: center; flex-basis: 60%; gap: 20px; } .content-find-eaton-DU > h2 { font-size: 40px; color: #02215f; font-weight: bold; } .content-find-eaton-DU > span { display: inline; } .content-find-eaton-DU > span > button { padding: 20px; /* background-color: #02215f; */ border: 2px solid #02215f; color: #02215f; width: 300px; font-weight: bold; font-size: 20px; transition: .5s; } .content-find-eaton-DU > span > button:hover { background-color: #02215f; color: white; } .help-eaton-DU { text-align: center; padding: 80px; } .help-eaton-DU > h2 { font-size: 40px; font-weight: bold; } .help-eaton-DU > p { width: 80%; margin: 20px auto; text-align: center; } .help-eaton-DU > a { padding: 15px 30px; border-radius: 30px; border: 3px solid #1573b6; font-weight: bolder; } .help-eaton-DU > a:hover { background-color: #1573b6; color: white; }