|
| 1 | +[preview-new1]: https://minidiscordthemes.github.io/Snippets/ProfileBannerHeight/preview-new1.avif |
| 2 | +[preview-new2]: https://minidiscordthemes.github.io/Snippets/ProfileBannerHeight/preview-new2.avif |
| 3 | +[preview-new3]: https://minidiscordthemes.github.io/Snippets/ProfileBannerHeight/preview-new3.avif |
| 4 | +[preview-old1]: https://minidiscordthemes.github.io/Snippets/ProfileBannerHeight/preview-old1.avif |
| 5 | +[preview-old2]: https://minidiscordthemes.github.io/Snippets/ProfileBannerHeight/preview-old2.avif |
| 6 | +[preview-old3]: https://minidiscordthemes.github.io/Snippets/ProfileBannerHeight/preview-old3.avif |
| 7 | + |
| 8 | +# Profile Banner Height |
| 9 | + |
| 10 | + |
| 11 | +Customisable profile banner height. |
| 12 | + |
| 13 | +| Old profile | New profile experiment | |
| 14 | +| ----------------------------- | ----------------------------------------- | |
| 15 | +| ![Old themed][preview-old1] | ![New themed][preview-new1] | |
| 16 | +| ![Old themed][preview-old2] | ![New unthemed with status][preview-new2] | |
| 17 | +| ![Old unthemed][preview-old3] | ![New unthemed][preview-new3] | |
| 18 | + |
| 19 | +## Usage |
| 20 | +### `@import` |
| 21 | +```css |
| 22 | +@import url("https://minidiscordthemes.github.io/Snippets/ProfileBannerHeight/main.css"); |
| 23 | +``` |
| 24 | +### Replugged automatic theme |
| 25 | +[Install now](https://replugged.dev/install?identifier=net.saltssaumure.ProfileBannerHeight) |
| 26 | +### Replugged manual theme |
| 27 | +[Download now](https://github.com/MiniDiscordThemes/Snippets/releases/latest/download/net.saltssaumure.ProfileBannerHeight.asar) |
| 28 | +### Vencord online theme |
| 29 | +``` |
| 30 | +https://minidiscordthemes.github.io/Snippets/ProfileBannerHeight/main.css |
| 31 | +``` |
| 32 | + |
| 33 | +## Customisation |
| 34 | +Paste the following at the end of Custom / Quick CSS, then edit the values: |
| 35 | +```css |
| 36 | +.userProfileInner__8ff35 { |
| 37 | + /* Plain colour banner */ |
| 38 | + &:where(:not(:has(.banner__6d414[style*="background-image"]))) { |
| 39 | + --banner-height-desired: 60px; |
| 40 | + } |
| 41 | + /* Image banner */ |
| 42 | + &:where(:has(.banner__6d414[style*="background-image"])) { |
| 43 | + --banner-height-desired: 70px; |
| 44 | + } |
| 45 | + /* All banner types in new profile experiment */ |
| 46 | + &.biteSizeInnerThemed__5cdaf { |
| 47 | + --banner-height-desired: 65px; |
| 48 | + } |
| 49 | +} |
| 50 | +``` |
0 commit comments