Skip to content

VK Old Style — раздельные посты (2024) by Desynci

Screenshot of VK Old Style — раздельные посты (2024)

Details

AuthorDesynci

LicenseNo License

Categoryvk.com

Created

Updated

Size1.8 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Разделяет посты в ленте
Возвращает текст наверх, картинки - вниз (отключается в настройках)
Добавляет баги

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           VK Old Style
@namespace      1337
@version        4
@author         idesync
@preprocessor   stylus

@var checkbox swap-text-media "Поменять местами текст и картинки" 1
==/UserStyle== */

@-moz-document url-prefix("https://vk.com/") {
    
        /* swap text & media */
    if (swap-text-media) {
        .PostContentContainer__contentContainer--vnF3X {
            display: flex;
            flex-direction: column;
        
            :last-child {
                order: -1;
            }
        }
    }
    
    /* remove chained feed wall */

        /* remove shared bg */
    .feed_wall--no-islands:not(.feed_notifications) {
        background: none;
    }
    
        /* remove padding for the 1st post */
    #page_wall_posts div:first-of-type {
        margin-top: 0px !important;
    }
    
        /* setup unlinked posts */
    .Post--redesign:not(.wall_module) {
        background: var(--vkui--color_background_content) !important;
        margin-top: 20px !important;
        box-shadow: var(--page-block-shadow) !important;
    }
    
        /* public "all posts" button area */
    .wall_module .page_block {
        margin-bottom: 0px !important;
        box-shadow: var(--page-block-shadow) !important;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    
   .page_block_h2 {
        background: var(--vkui--color_background_content) !important;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
   }
   
        /* borders */
    .feed_row > .post, .post_fixed {
        border-radius: 12px !important;
    }
    
    .feed_wall--no-islands:not(.feed_notifications) {
        box-shadow: none;
    }
}

Reviews

No reviews yet.