Skip to content

VK dense by d9k by d9k

Details

Authord9k

LicenseNo License

Categoryvk.com

Created

Updated

Size4.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

vk.com

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name       VK dense by d9k
@version    20240726.22.30
@namespace  ?
==/UserStyle== */

@-moz-document url-prefix("https://vk.com/") {
/** unblocks play button in /audio on floating music panel when scrolling down */
.audio_page_player_volume_wrap > :not(.audio_page_player_volume_slider) {
    display: none;
}

.page_post_sized_thumbs {
    height: unset !important;
}

.page_post_sized_thumbs > a {
    max-height: 120px;
}

.page_post_sized_thumbs > a:only-child {
    background-size: contain !important;
    max-height: 200px;
}

.wall_module .audio_row:not(:last-child) {
    height: 30px;
}

.wall_module .audio_row .audio_row__play_btn {
    top: 4px !important;
}

.wall_module .audio_row .audio_row__inner {
    transform: translateY(-4px);
}

.wall_module .audio_row .audio_player__place {
    top: 20px;
}

.wall_module .slider.slider_size_1 .slider_slide {
    height: 4px;
}

[dir] .wall_module .wall_text,
[dir] .wall_module.wl_postreach_wall_module .post_poster .wall_text {
    padding-bottom: 8px;
}

[dir] .like_cont {
    box-shadow: unset;
    padding-top: 4px;
}

.like_button_icon {
    opacity: 0.3;
}

.like_btn:not(:hover) .like_button_label,
.like_btn:not(:hover) .like_button_count {
    opacity: 0.6;
}

[dir] .wall_module .wall_posts.all > .all ~ .all,
[dir] .wall_module .wall_posts.all > .post:not(.unshown) ~ .post.unshown + .post:not(.unshown),
[dir] .wall_module .wall_posts.all > .all ~ .all_ads_promoted_post,
[dir] .wall_module .wall_posts.own > .own ~ .own,
[dir] .wall_module .wall_posts.own > .post:not(.unshown) ~ .post.unshown + .post:not(.unshown),
[dir] .wall_module .wall_posts.own > .own ~ .own_ads_promoted_post,
[dir] .wall_module .wall_posts.postponed > .postponed ~ .postponed,
[dir] .wall_module .wall_posts.suggested > .suggest ~ .suggest,
[dir] .wall_module .wall_posts_search > .post ~ .post {
    margin-top: 10px;
    border-radius: 8px;
}

body {
    background-color: #ECECED;
}

.wall_post_text {
    font-size: 13px;
    line-height: 1.55;
}

[dir] .wall_module .thumbed_link {
    margin-top: 4px;
}

[dir] .wall_module:not(.search_results) .post--with-likes:not(.post_copy):not(.post_btl):not(.post_wf):not(.post_fr_likes):not(.post--withActionStatusBar):not(.post--withPostBottomAction) .wall_text .PostNoBottomSpaceAttach:last-child,
[dir] .wall_module:not(.search_results) .post--with-likes:not(.post_copy):not(.post_btl):not(.post_wf):not(.post_fr_likes):not(.post--withActionStatusBar):not(.post--withPostBottomAction) .wall_text .thumbed_link:last-child,
[dir] .wall_module:not(.search_results) .post--with-likes:not(.post_copy):not(.post_btl):not(.post_wf):not(.post_fr_likes):not(.post--withActionStatusBar):not(.post--withPostBottomAction) .wall_text .media_link:last-child {
    margin-bottom: 0;
}

/*.PhotoPrimaryAttachment {
    max-height: 200px;
}*/

.PhotoPrimaryAttachment__background {
    height: 200px;
}

.PhotoPrimaryAttachment__imageElement {
    height: 200px;
}

.js-PrimaryAttachment {
    height: 200px;
}

.js-PrimaryAttachmentCarousel {
    height: 200px;
}

.js-PrimaryAttachment .PhotoPrimaryAttachment {
    height: 200px;
    padding-top: 200px;
}


.LinkSnippetPrimaryAttachmentReactBlock__root {
    height: 200px;
    padding-top: 0;
}

.LinkSnippetPrimaryAttachmentReactBlock__root div[data-testid="linkimage"] {
    position: absolute;
    top: 0;
    left: 0px;
    height: 200px;
    width: 100%;
}


/** Блок муз. альбома на стене */

.AudioPrimaryAttachmentReactBlock__root div[class^="Overlay-module__root"] {
     height: 200px;
}

.AudioPrimaryAttachmentReactBlock__root div[class^="PrimaryAttachmentAudio-module__content"] {
    height: 200px;
    padding: 0;
}


.AudioPrimaryAttachmentReactBlock__root img[class^="CoverImage-module__image"] {
    height: 200px;
}

.AudioPrimaryAttachmentReactBlock__root div[class^="PrimaryAttachmentAudio-module__textContent"] {
    position: absolute;
    top: 24px;
    
}
}

Reviews

No reviews yet.