full width catalog and product page, remove some ui trash
chitai-gorod.ru full width by kvanton-web
Details
Authorkvanton-web
LicenseNo License
Categorywww.chitai-gorod.ru
Created
Updated
Size3.2 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
test only on firefox 1080p
Source code
/* ==UserStyle==
@name chitai-gorod.ru full width
@version 20240723.0.3
@namespace userstyles.world/user/kvanton-web
@description full width catalog and product page, remove some ui trash
@author kvanton-web
@license No License
==/UserStyle== */
@-moz-document url-prefix("https://www.chitai-gorod.ru/") {
.product-detail-features__item {
justify-content: flex-start;
align-items: flex-end;
min-height: auto;
max-height: 25px;
}
.scroll-button:not(.scroll-button--full) {
right: 70px;
}
.product-detail-features__item-value {
white-space: preserve-breaks;
}
.search-page {
max-width: unset;
}
.catalog-list .products-list {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
margin: 0;
gap: 30px;
padding-right: 100px;
}
.catalog-search-products__list .products-list .product {
margin: 0;
width: 100%;
justify-content: space-between;
}
.app-catalog-page {
max-width: 100%;
}
.app-wrapper__content {
max-width: 100vw !important;
padding: 0 60px !important;
}
.product-card__price {
min-height: auto;
margin-bottom: 0;
}
.product-price__old {
display: none;
}
.product-card {
height: 100%
}
.product-card__text {
min-height: auto;
margin: 0;
}
.pagination {
justify-content: center;
margin-top: 20px;
margin-bottom: 20px;
}
.app-catalog-page__breadcrumbs,
.app-catalog-page__title {
margin: 0;
}
}
@-moz-document url-prefix("https://www.chitai-gorod.ru/sales") {
.badge-notice,
.product-card__rating,
.app-catalog-page__description {
display: none;
}
.product-title__head {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
@-moz-document url-prefix("https://www.chitai-gorod.ru/product") {
.detail-product__wrapper {
padding: 0;
max-width: 100%;
}
.detail-product__header {
flex-direction: row;
gap: 80px;
align-items: center;
padding-left: 60px;
}
.detail-product__header-badges {
margin: 0;
margin-left: 100px;
}
.product-info-age {
user-select: none;
position: absolute;
left: 0;
}
.product-description-short__text {
max-height: 300px;
font-size: 16px;
}
.detail-product__description-wrapper {
display: flex;
flex-direction: column;
}
.detail-product__reason-to-buy {
order: 1;
margin-top: 60px;
}
.detail-description__text {
font-size: 18px;
line-height: 1.5;
max-width: 800px;
}
.product-reviews__cards {
max-width: 800px;
}
.card-slider__carousel .embla__button--right {
left: calc(100% - 30px);
}
.detail-product__slider .embla__button--left {
left: 20px;
}
}