Skip to content

D&D Beyond - Big Portrait by mstvnz

Details

Authormstvnz

LicenseMIT

Categoryhttps://www.dndbeyond.com/characters/

Created

Updated

Size1.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Makes the portrait a bit larger. Doesn't work with avatar frames.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         D&D Beyond - Big Portrait
@version      20241116.04.11
@namespace    https://userstyles.world/user/mstvnz
@description  Makes the portrait a bit larger.  Doesn't work with avatar frames.
@author       mstvnz
@license      MIT
==/UserStyle== */

@-moz-document url-prefix("https://www.dndbeyond.com/characters/") {
html {
    --portrait-modifier: 40px !important;
}

.ct-character-header-desktop__group.ct-character-header-desktop__group--share {
    display: none;
}

.ddbc-character-tidbits__avatar .ddbc-character-avatar  {
    width: 120px;
    height: 120px;
    top: calc(0px - var(--portrait-modifier));
    z-index: 99999999999;
    position: absolute;
}

.ddbc-character-avatar__portrait {
    height: 100% !important;
    width: 100% !important;
    left: unset !important;
    top: unset !important;
    border-radius: 3px !important;
    border: 2px solid var(--theme-color) !important;
}

.ddbc-character-avatar__frame {
    display: none;
}

.ddbc-character-tidbits__body {
    margin-left: 135px;    
}

.ct-character-sheet  {
    padding-top: 50px;
}

.ct-character-sheet::before {
    height: 155px
}
}

Reviews

No reviews yet.