Skip to content

Commit 68e3029

Browse files
committed
Theme Perwez - Slogan
1 parent b6207a4 commit 68e3029

File tree

2 files changed

+43
-55
lines changed

2 files changed

+43
-55
lines changed

perwez/src/scss/main.scss

Lines changed: 42 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -141,73 +141,50 @@ h1 {
141141
.swiper-slide
142142
.swiper-banner-content-wrapper {
143143
position: absolute;
144-
top: auto;
145-
transform: none;
146-
bottom: 0 !important;
147-
max-width: 100%;
148-
width: 100%;
144+
transform: initial;
145+
padding-bottom: 0;
146+
margin-bottom: 0;
147+
bottom: 0;
148+
right: 0;
149+
top: initial;
150+
align-items: center;
151+
text-align: -webkit-right;
152+
height: initial;
153+
padding-right: 0;
154+
padding-left: 60px;
149155
}
150156

151157
.bannerSwiper .section-slide {
152158
.swiper-banner-content {
159+
margin: 0;
160+
max-width: 100%;
161+
padding: 10px 3rem 200px 4rem;
153162
position: absolute;
154-
right: 0;
155163
bottom: 0;
156-
left: auto;
157-
max-width: 450px !important;
158-
width: 100% !important;
164+
right: 0;
159165
border-radius: 0;
160-
font-family: $font-family-title;
161-
height: auto;
162-
display: grid;
163-
align-items: center;
164-
text-align: left;
165-
justify-self: left;
166+
height: 600px;
167+
align-content: center;
168+
width: 600px;
166169
background: linear-gradient(
167-
to right,
168-
rgba(54, 87, 140, 90%),
169-
rgba(54, 87, 140, 90%)
170-
) !important;
171-
padding: 40px 60px !important;
172-
173-
@media screen and (max-width: 800px) {
174-
height: auto;
175-
position: absolute;
176-
left: auto;
177-
right: 0;
178-
bottom: 0;
179-
transform: translate(0%, 0%);
180-
max-width: 800px !important;
181-
width: 100%;
182-
border-radius: 0;
183-
padding: 20px 30px !important;
184-
}
185-
186-
.swiper-banner-title {
170+
90deg,
171+
rgba(0, 0, 0, 0%) 0,
172+
rgba(0, 0, 0, 50%) 300px,
173+
rgba(0, 0, 0, 100%) 700px
174+
);
175+
text-align: right;
176+
177+
span.swiper-banner-title {
187178
color: #fff !important;
188-
189-
@media screen and (max-width: 800px) {
190-
font-size: 28px !important;
191-
}
179+
font-size: 30px;
192180
}
193181

194-
.swiper-banner-description {
195-
position: relative;
196-
width: 100% !important;
197-
margin: auto;
182+
p.rich_description {
198183
color: #fff !important;
199-
200-
@media screen and (max-width: 800px) {
201-
p {
202-
margin: 0;
203-
color: #fff !important;
204-
font-size: 14px !important;
205-
}
206-
}
207-
}
208-
209-
@media screen and (max-width: 600px) {
210-
display: none;
184+
font-weight: 600;
185+
line-height: 40px;
186+
text-transform: uppercase;
187+
font-size: 45px;
211188
}
212189
}
213190

@@ -216,6 +193,16 @@ h1 {
216193
}
217194
}
218195

196+
.smartweb_herobanner .swiper-button-next {
197+
top: 50%;
198+
right: 3rem;
199+
}
200+
201+
.smartweb_herobanner .swiper-button-prev {
202+
top: 50%;
203+
left: calc(100vw - 9rem);
204+
}
205+
219206
.r-item-img.r-item-img-placeholder {
220207
background: url("../../assets/svg/placeholder.jpg");
221208
background-size: cover;

perwez/src/scss/variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ $primary-red: red !default;
88
$primary-yellow: #53baba !default;
99
$primary-light: #46484a !default;
1010
$primary-gris: #46484a !default;
11+
$primary-pink: #ff5ca8;
1112

1213
//*// TYPOGRAPHY
1314

0 commit comments

Comments
 (0)