Files
vidok.com/layout/style-scss/o-nas.scss
Roman Pyrih 79c95922fe Add section titles and offer tiles to the "O Nas" page
- Introduced a new section title style with a decorative line above.
- Added a "Kompleksowa oferta" section with detailed product offerings and images.
- Implemented an "Oferta" tile layout for various materials (PVC, Drewno, Aluminium, etc.) with corresponding images and descriptions.
- Created a "Pełna opieka" section highlighting customer support and services.
- Added a "Technologie" section detailing advanced manufacturing technologies and processes.
- Included a "Partnerzy i dostawcy" section listing key suppliers and partners.
- Updated CSS styles to accommodate new sections and improve layout.
2025-04-10 16:01:13 +02:00

652 lines
10 KiB
SCSS

@import 'variables';
@import '_mixins';
html {
scroll-behavior: smooth;
scroll-padding-top: 105px;
}
strong {
font-weight: 700;
}
p {
&:last-child {
margin-bottom: 0;
}
}
.main-page {
padding: 0;
}
.breadcrumbs {
margin: 24px 0;
}
.section-title {
position: relative;
margin-bottom: 0;
&::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 1px;
background: #878787;
transform: translateY(-50%);
}
span {
position: relative;
display: inline-block;
color: $cTxtBlack;
font-size: 32px;
font-family: $font3;
font-weight: 500;
letter-spacing: 2px;
margin-bottom: 0;
text-transform: uppercase;
padding-right: 30px;
padding-top: 3px;
background: $cWhite;
}
}
.box-1 {
display: flex;
flex-direction: column;
._row {
&-1 {
display: flex;
flex-direction: row;
align-items: center;
gap: 30px;
._col {
&-1 {
width: 100%;
max-width: 430px;
h1 {
position: relative;
color: $cTxtBlack;
font-family: $font3;
font-size: 64px;
letter-spacing: 2px;
line-height: 1.1;
font-weight: 700;
text-transform: uppercase;
margin-bottom: 25px;
padding-bottom: 15px;
&::before {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 100%;
max-width: 390px;
height: 2px;
background: $cTxtBlack;
}
}
h2 {
color: $cTxtBlack;
font-family: $font3;
font-size: 30px;
letter-spacing: 2px;
line-height: 1.2;
font-weight: 300;
text-transform: uppercase;
}
}
&-2 {
line-height: 0;
video {
width: 100%;
height: 100%;
}
}
}
}
&-2 {
margin-top: 34px;
margin-bottom: 72px;
._col {
&-1 {
position: relative;
height: 64px;
&::before {
content: '';
position: absolute;
top: 50%;
left: 0;
width: calc(50% - 50px);
height: 1px;
background: #878787;
}
&::after {
content: '';
position: absolute;
top: 50%;
right: 0;
width: calc(50% - 50px);
height: 1px;
background: #878787;
}
.img_box {
position: relative;
width: 56px;
height: 64px;
border-radius: 100%;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
background: $cWhite;
margin-left: auto;
margin-right: auto;
img {
}
}
}
}
}
}
}
.box-2 {
background-image: url('/upload/filemanager/Pages/O-nas/box-bg-1.png');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
padding: 86px 0 90px;
._row {
&-1 {
margin-bottom: 50px;
._col {
&-1 {
width: 100%;
max-width: 850px;
p {
color: $cTxtBlack;
font-family: $font3;
font-size: 22px;
font-weight: 300;
letter-spacing: -0.04px;
line-height: 1.5;
strong {
font-weight: 600;
}
}
}
&-2 {
}
}
}
&-2 {
._col {
&-1 {
display: flex;
flex-direction: row;
column-gap: 70px;
align-items: flex-end;
margin-left: 70px;
._col-img {
}
._col-data {
p {
color: $cTxtBlack;
font-family: $font3;
font-size: 20px;
font-weight: 600;
letter-spacing: 2px;
line-height: 1;
text-transform: uppercase;
margin-bottom: 10px;
margin-left: 44px;
}
h3 {
color: $cWhite;
font-size: 32px;
font-family: $font3;
font-weight: 700;
letter-spacing: 2px;
line-height: 1;
margin-bottom: 0;
text-transform: uppercase;
display: inline-block;
padding: 16px 44px 9px;
border-radius: 50px;
background: rgba(#2e2d2c, 0.8);
}
}
}
}
}
}
}
.box-3 {
margin-top: -50px;
margin-bottom: 130px;
._row {
&-1 {
._col {
&-1 {
ol {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
gap: 32px;
li {
border-radius: 20px;
background: $cWhite;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px 10px;
box-shadow: 4px 3px 22px 3px rgba(0, 0, 0, 0.25);
width: calc(100% / 4);
img {
width: 100%;
max-width: fit-content;
margin-bottom: 17px;
}
h3 {
color: $cTxtBlack;
font-size: 18px;
font-family: $font3;
font-weight: 600;
margin-bottom: 3px;
text-transform: uppercase;
}
p {
color: $cTxtBlack;
font-size: 18px;
font-family: $font3;
font-weight: 300;
text-transform: uppercase;
}
}
}
}
}
}
}
}
.box-4 {
margin-bottom: 160px;
._row {
&-1 {
._col {
&-1 {
}
}
}
}
}
.box-5 {
padding-bottom: 75px;
margin-bottom: 100px;
border-bottom: 1px solid #878787;
._row {
&-1 {
margin-bottom: 70px;
}
&-2 {
width: 100%;
max-width: 1070px;
margin-left: auto;
margin-right: auto;
margin-bottom: 70px;
._col {
&-1 {
p {
color: #1d1d1e;
font-size: 20px;
font-family: $font3;
font-weight: 300;
strong {
font-weight: 600;
}
}
}
}
}
&-3 {
._col {
&-1 {
.offer-tiles {
display: flex;
flex-direction: row;
column-gap: 30px;
.offer-tile {
width: calc(100% / 5 - (30px - (30px / 5)));
img {
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 70px;
}
h3 {
color: #181c1d;
font-size: 25px;
font-family: $font3;
font-weight: 400;
letter-spacing: 2px;
text-align: center;
text-transform: uppercase;
margin-bottom: 20px;
}
ul {
list-style: none;
padding: 0;
margin: 0 18px;
li {
color: #878787;
font-size: 18px;
font-family: $font3;
font-weight: 400;
letter-spacing: 2px;
line-height: 1.5;
}
}
.offer-color-line {
position: relative;
display: block;
height: 11px;
width: 100%;
max-width: 228px;
margin-left: auto;
margin-right: auto;
margin-bottom: 35px;
&-1 {
background: #e2e2e2;
}
&-2 {
background: #d5c1a9;
}
&-3 {
background: linear-gradient(90deg, #d5c1a9 70%, #9ba9b7 70%);
}
&-4 {
background: #9ba9b7;
}
&-5 {
background: linear-gradient(90deg, #e2e2e2 70%, #9ba9b7 70%);
}
}
}
}
}
}
}
}
}
.box-6 {
position: relative;
margin-bottom: 120px;
&::before {
content: '';
position: absolute;
top: 60px;
bottom: 60px;
left: 0;
right: 0;
background: #f4f4f4;
}
&::after {
content: '';
position: absolute;
top: 50%;
left: 70px;
background-image: url('/upload/filemanager/icon/Group.svg');
background-position: center;
background-size: contain;
background-repeat: no-repeat;
width: 440px;
height: 420px;
transform: translate(-50%, -50%);
}
._row {
position: relative;
z-index: 1;
&-1 {
display: flex;
flex-direction: row;
column-gap: 30px;
align-items: center;
._col {
width: 50%;
&-1 {
h3 {
color: #181c1d;
font-size: 25px;
font-family: $font3;
letter-spacing: 2px;
font-weight: 300;
text-transform: uppercase;
margin-bottom: 40px;
strong {
font-weight: 800;
display: block;
}
}
p {
color: #181c1d;
font-size: 20px;
font-family: $font3;
font-weight: 300;
max-width: 370px;
}
}
&-2 {
ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
flex-direction: column;
row-gap: 11px;
li {
padding: 19px 40px 14px;
background: #2e2d2c;
border-radius: 5px;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
color: $cWhite;
font-size: 18px;
font-weight: 400;
font-family: $font3;
line-height: 26px;
text-transform: uppercase;
strong {
display: block;
font-size: 25px;
font-weight: 700;
}
&:first-child {
color: $cTxtBlack;
background: #ffed00;
}
}
}
}
}
}
}
}
.box-7 {
margin-bottom: 145px;
._row {
&-1 {
margin-bottom: 70px;
}
&-2 {
width: 100%;
max-width: 1070px;
margin-left: auto;
margin-right: auto;
margin-bottom: 70px;
._col {
&-1 {
p {
color: #1d1d1e;
font-size: 20px;
font-family: $font3;
font-weight: 300;
strong {
font-weight: 600;
}
}
}
}
}
&-3 {
width: 100%;
max-width: 1220px;
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction: row;
gap: 26px;
._col {
&-1 {
}
ul.img-tiles {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 26px;
li.img-tile {
position: relative;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
p {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: $cWhite;
font-size: 25px;
font-family: $font3;
font-weight: 400;
letter-spacing: 2px;
text-align: center;
text-transform: uppercase;
strong {
display: block;
font-size: 35px;
font-weight: 700;
}
}
}
}
}
}
}
}
.box-8 {
padding-bottom: 75px;
margin-bottom: 100px;
._row {
&-1 {
margin-bottom: 70px;
}
&-2 {
width: 100%;
max-width: 1070px;
margin-left: auto;
margin-right: auto;
margin-bottom: 70px;
._col {
&-1 {
p {
color: #1d1d1e;
font-size: 20px;
font-family: $font3;
font-weight: 300;
strong {
font-weight: 600;
}
}
}
}
}
}
}