Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- /* code by puppy/@permanent available on pastebin and discord, please credit if using or adapting */
- /* setting botcard backgrounds to transparent */
- .pp-cc-wrapper, .pp-cc-wrapper>*:not(.css-1s5evre){
- background: transparent !important;
- }
- /* adjusting botcard autopopulated layout */
- .pp-cc-list-container{
- display: flex;
- flex-flow: row wrap;
- justify-content: center;
- }
- /* sizing of the botcard */
- .pp-cc-wrapper{
- flex: 0 1 350px;
- width: 350px;
- height: 350px;
- transition: all 300ms ease;
- }
- .css-1s5evre a{
- display: contents;
- }
- .css-1s5evre{
- background: transparent; /* change this for a background colour */
- display: grid;
- grid-template-columns: 1fr 1fr;
- grid-template-rows: 1fr 1fr;
- gap: 0px;
- }
- /* botcard image */
- .css-1q7rmf0 {
- grid-area: 1 / 1 / 3 / 2;
- margin: 2px;
- border-radius: 0;
- overflow: visible;
- }
- .pp-cc-avatar {
- border-radius: 0;
- }
- .css-199gcrh, .pp-cc-tags{
- max-height: 160px;
- height: 100%;
- overflow: hidden auto;
- }
- /* botcard description */
- .css-199gcrh{
- grid-area: 1 / 2 / 2 / 3;
- margin: 0;
- }
- /* botcard tags */
- .pp-cc-tags{
- grid-area: 2 / 2 / 3 / 3;
- margin-bottom: 0;
- padding-bottom: 1rem;
- }
- /* getting rid of the star separator and username */
- .pp-cc-star-line, .pp-cc-creator-name{
- display: none;
- }
- /* bot name */
- .css-nlxhw4{
- grid-area: 2 / 1 / 3 / 2;
- display: flex;
- align-items: flex-end;
- justify-content: center;
- max-width: 175px;
- z-index: 2;
- }
- /* chat ribbon positioning and some styling */
- .css-10cv7r2 {
- right: unset;
- display: flex;
- top: 0;
- justify-content: center;
- width: 50%;
- }
- .pp-cc-ribbon {
- filter: none;
- position: relative;
- inset: auto;
- }
- .pp-cc-ribbon-wrap {
- clip-path: none;
- background: transparent;
- box-shadow: none;
- padding: 0;
- }
- /* tokens */
- .css-1c9wmts {
- justify-content: center;
- width: 50%;
- right: 0;
- left: unset;
- }
- /* botcard effect on hover */
- .pp-cc-wrapper:hover{
- transform: scale(1.05);
- }
- </style>
Advertisement