Skip to content

VK NFT Simplify by dp0sk

Details

Authordp0sk

LicenseNo License

Categoryvk.com

Created

Updated

Size1.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Simplify VK NFT avatar

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         VK NFT Simplify
@version      20221220.13.12
@namespace    userstyles.world/user/dp0sk
@description  Simplify VK NFT avatar
@author       dp0sk
@license      No License
@preprocessor stylus

@var select roundNFT "NFT Avatars Shape" ["hex:Hexagon", "round:Round"]
==/UserStyle== */

@-moz-document domain("vk.com") {
.AvatarRich__heptagonUnderlay {
    display: none !important;
}
.OwnerPageAvatar--nft .OwnerPageAvatar__underlay:not(.OwnerPageAvatar__underlay--outlined) {
    top: calc(var(--stroke-width, 4px)*-1);
    bottom: calc(var(--stroke-width, 4px)*-1);
    left: calc(var(--stroke-width, 4px)*-1);
    right: calc(var(--stroke-width, 4px)*-1);
}

.AvatarRich--nft .AvatarRich__img,
.AvatarRich--nft .AvatarRich__background,
.AvatarRich--nft .AvatarRich__children,
.OwnerPageAvatar--nft .OwnerPageAvatar__underlay {
    if roundNFT == hex {
      /*default theme*/
    } else if roundNFT == round {
    -webkit-clip-path: none !important;
    clip-path: none !important;
    border-radius: 50% !important;
    }
  }
}

Reviews

No reviews yet.