News updated

pull/1917/head
Yiğit FINDIKLI 2021-12-20 20:21:37 +03:00
parent 0234546b3d
commit 28d983a5cf
3 changed files with 14 additions and 12 deletions

View File

@ -2,7 +2,7 @@
<div class="layout-wrapper" :class="containerClass">
<div class="layout-news" v-if="newsActive">
<div class="layout-news-container" @click="redirect">
<img class="layout-news-mockup-image p-ml-2" src="./assets/images/topbar-newyear-logo.svg">
<img class="layout-news-logo p-ml-2" src="./assets/images/topbar-newyear-logo.svg">
<h3 class="layout-news-header p-px-2">DISCOUNT UP TO 50% ON EVERYTHING AT PRIMESTORE</h3>
<a href="https://www.primefaces.org/primeblocks-vue" target="_blank" tabindex="-1" class="layout-news-button">
Read More

View File

@ -25,7 +25,7 @@
font-weight: 900;
}
img.layout-news-mockup-image {
img.layout-news-logo {
position: absolute;
left: 250px;
}

View File

@ -1,17 +1,19 @@
@media screen and (max-width: 1280px) {
.layout-wrapper {
.layout-news {
margin-left: 250px;
.layout-news-button,
.layout-news-logo {
display: none;
}
}
}
}
@media screen and (max-width: 960px) {
.layout-wrapper {
.layout-news {
margin-left: 0;
.layout-news-button,
.layout-news-mockup-image {
display: none;
}
.layout-news-header {
font-size: 1rem;
}
}
}