Adjust layout

This commit is contained in:
Pawel Dudzik
2025-05-06 12:55:29 +02:00
parent 634ee04339
commit 1031befb16
2 changed files with 127 additions and 132 deletions

View File

@@ -1,30 +1,13 @@
body {
max-width: 1200px;
color: #1A161A;
font-size: 1em;
font-family: 'Roboto', Arial, sans-serif;
font-weight: 300;
background-color: #33A5CB;
}
body header div {
header {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
margin-top: 0px;
padding: 0 10px 0 10px;
}
body div {
color: #1A161A;
background-color: #FFF;
margin-top: 20px;
padding: 20px;
}
h1, h2, h3 {
color: #1A161A;
text-align: center;
}
header {
width: 100%;
top: 0;
left: 0;
@@ -32,26 +15,26 @@ header {
background: #fff;
transition: all 0.3s ease;
height: 60px;
padding-top: 20px;
position: fixed;
}
header div {
padding-right: 2em;
padding-left: 2em;
}
header div img {
header img {
margin-top: 10px;
height: 35px;
}
header li a {
header nav {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
header nav a {
margin: 0;
padding: 0.25em 10px;
border: 0;
float: left;
width: 100%;
padding: 3px 10px 3px 10px;
color: #1A161A;
font-size: 1.250em;
text-decoration: none;
@@ -61,34 +44,49 @@ header li a {
height: 30px;
}
header li a:hover {
header nav a:hover {
color: #fff;
transition: all 0.5s ease;
background: #33A5CB;
text-decoration: none;
}
nav ul {
display: flex;
list-style: none;
gap: 1rem;
padding: 0;
margin: 0;
article {
color: #1A161A;
background-color: white;
padding: 20px;
margin-top: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
article#kontakt {
background-image: url('Release11logo_szare.svg');
background-position: center; /* Center the image */
background-repeat: no-repeat; /* Prevent tiling */
}
article#oferta {
height: 20px;
}
h1, h2, h3 {
color: #1A161A;
}
h1 {
padding-left: 20px;
}
h2 {
padding-left: 20px;
}
div ul {
display: flex;
list-style: none;
gap: 1rem;
padding: 0;
padding-left: 50px;
margin: 0;
}
footer {
background-color: #242424;
width: 100%;
}
footer div {
display: flex;
background-color: #fff;