cs2

Data utworzenia: 2025-04-14 10:13:25
* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: sans-serif; font-size: 24px; background-color: #222; color: white; } nav { display: flex; width: 100%; height: 60px; background-color: rgb(142, 223, 243); text-align: center; justify-content: flex-end; } nav ul { display: flex; /* text-decoration: none; */ } li { margin: auto 20px; list-style-type: none; } a { text-decoration: none; color: #ebebeb; text-shadow: 1px 1px 0 black; } /* HEADER */ header { display: flex; flex-direction: column; text-align: center; justify-content: center; width: 100%; height: 700px; background-image: url(background.jpg); background-size: cover; } header h1 { display: flex; justify-content: center; justify-items: center; } span { text-transform: none; color: gray; margin-left: 20px; } h1 { text-transform: uppercase; } section { width: 80%; margin: 30px auto; height: 700px; display: flex; flex-wrap: wrap; } .image { margin: 10px; width: 30%; height: 40%; background-color: #fff; display: flex; align-items: end; } .image1 { background-image: url(./image1.jpg); background-position: center; background-repeat: no-repeat; } .image2 { background-image: url(./image2.jpg); background-position: center; background-repeat: no-repeat; } .image3 { background-image: url(./image3.jpg); background-position: center; background-repeat: no-repeat; } .image4 { background-position: center; background-repeat: no-repeat; background-image: url(./image4.jpg); } .image5 { background-image: url(./image5.jpg); background-position: center; background-repeat: no-repeat; } .image6 { background-image: url(./image6.jpg); background-position: center; background-repeat: no-repeat; } .image_text { width: 100%; height: 40px; background-color: #0000007e; padding: 10px; } .prawy { position: absolute; right: 20px; top: 10px; } .lewy { position: absolute; left: 20px; top: 10px; } .lewy span { position: absolute; left: 100px; top: 10px; } .lewy i { color: #ab9997; } .box2 section { display: flex; justify-content: space-between; align-items: center; padding: 15px; width: 80%; margin: 30px auto; height: 700px; } .box2 h1 { margin: 0; } .box2 p { margin-right: 10%; text-align: right; }
Powrót