Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 3. Horizontal bot cards (username on top)
- <style>
- /* Creates a low-opacity image container locked strictly to the right side */
- .css-1s5evre::before {
- content: "" !important;
- position: absolute !important;
- top: 0;
- right: 0;
- width: 50%;
- height: 100%;
- opacity: 0.15;
- background-image: url("https://files.catbox.moe/xfpsnm.png") !important;
- background-size: contain !important;
- background-position: bottom right !important;
- background-repeat: no-repeat !important;
- z-index: 1;
- pointer-events: none;
- }
- </style>
- <style>
- /* code by @Strawbunniz (Modified to match user sketch) */
- /* setting botcard backgrounds to transparent */
- .pp-cc-wrapper, .pp-cc-wrapper>*:not(.css-1s5evre){
- background: transparent !important;
- }
- /* Default 2-column grid layout for desktop, laptops, and tablets */
- .pp-cc-list-container {
- display: grid !important;
- grid-template-columns: repeat(2, minmax(0, 550px)) !important;
- gap: 20px;
- justify-content: center !important;
- align-items: start !important;
- width: 100% !important;
- }
- /* sizing of the botcard */
- .pp-cc-wrapper{
- width: 100% !important;
- max-width: 550px;
- height: 450px;
- margin-left: auto !important;
- margin-right: auto !important;
- display: block !important;
- transition: all 300ms ease;
- position: relative;
- }
- .css-1s5evre a{
- display: contents;
- }
- .css-1s5evre{
- background: black;
- display: grid;
- grid-template-columns: 1.2fr 1fr;
- grid-template-rows: auto 1fr; /* Changed to auto rows so elements bunch up instead of stretching evenly */
- gap: 0px;
- height: 100%;
- margin: 15px auto !important;
- border-radius: 10px;
- position: relative;
- outline: 1px solid lightgray;
- outline-offset: -3px;
- z-index: 5;
- align-items: start !important; /* Align to the start to allow natural flow rather than forcing full height stretch */
- }
- /* Image column (Avatar Container) */
- .css-1q7rmf0{
- grid-area: 1 / 1 / 3 / 2;
- margin: 55px 15px 15px 15px !important;
- height: calc(100% - 70px) !important;
- overflow: hidden !important;
- position: relative;
- border-radius: 8px !important;
- align-self: stretch !important; /* Keeps image full-height regardless of text box crowding */
- border: 2px solid lightgray; /* Adds a border around the bot avatar */
- }
- /* Avatar wrapper */
- .css-1q7rmf0 > *{
- width: 100% !important;
- height: 100% !important;
- object-fit: cover !important;
- }
- /* Bot Name - Positioned horizontally at the top left */
- .pp-cc-name {
- position: absolute;
- left: 15px;
- top: 15px;
- z-index: 10;
- color: #ffffff;
- font-size: 25px;
- text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
- font-weight: bold;
- pointer-events: none;
- font-family: "Times New Roman", Times, serif;
- }
- /* Bot card Description container */
- .profile-character-card-description-box {
- grid-area: 1 / 2 / 2 / 3;
- margin: 0;
- margin-top: 55px; /* Moved margin from padding for container background alignment */
- padding: 10px 15px 10px 10px;
- max-height: 190px;
- overflow: hidden auto;
- background: rgba(255, 255, 255, 0.07); /* Adds a subtle background to the description */
- border-radius: 6px;
- }
- /* botcard tags - Arranged horizontally underneath description */
- .pp-cc-tags{
- grid-area: 2 / 2 / 3 / 3;
- margin-top: 15px !important; /* Moves tags box closer right up against the description */
- padding-right: 15px;
- padding-bottom: 50px; /* Leave space for chat ribbon at bottom */
- max-height: 150px;
- overflow: hidden auto;
- display: flex !important; /* Aligns tags horizontally */
- flex-wrap: wrap; /* Allows them to wrap to the next line naturally */
- gap: 8px; /* Adds space between horizontal tags */
- }
- .pp-cc-tags-item {
- color: white;
- border-radius: 30px;
- padding: 4px 10px; /* Ensures the individual tags have proper padding */
- background: rgba(255, 255, 255, 0.15); /* Fallback background for visibility */
- }
- /* getting rid of the star separator and username */
- .pp-cc-star-line, .pp-cc-creator-name{
- display: none;
- }
- /* botcard effect on hover */
- .pp-cc-wrapper:hover{
- transform: scale(1.05);
- }
- .pp-cc-description p::first-letter {
- font-size: 30px;
- font-family: cursive;
- }
- /* Limitless Tag Reset - Stripped custom position styles to treat it like a normal tag */
- .pp-cc-tags-wrap:has(.pp-tag-limitless) {
- position: static !important;
- bottom: auto !important;
- right: auto !important;
- z-index: auto !important;
- pointer-events: auto !important;
- }
- .pp-tag-limitless {
- position: static !important;
- bottom: auto !important;
- right: auto !important;
- z-index: auto !important;
- text-transform: none !important;
- opacity: 1 !important;
- font-weight: normal !important;
- font-size: inherit !important;
- color: inherit !important;
- Border: none;
- }
- /* --- CHAT RIBBON POSITIONING AND BADGE SHAPE --- */
- /* Anchored to the bottom right corner exactly like the sketch */
- .profile-character-card-stats-box{
- position: absolute !important;
- right: 15px !important;
- bottom: 15px !important;
- top: auto !important;
- left: auto !important;
- transform: none !important;
- z-index: 10 !important;
- width: auto !important;
- }
- /* Outer Container Layout Reset */
- .pp-cc-ribbon, .profile-character-card-ribbon {
- position: relative !important;
- top: auto !important;
- right: auto !important;
- left: auto !important;
- bottom: auto !important;
- }
- /* The Dark Badge Shape */
- .pp-cc-ribbon-wrap, .profile-character-card-ribbon-wrap {
- background: rgba(15, 15, 15, 0.85) !important;
- padding: 4px 10px !important;
- border-radius: 8px !important;
- clip-path: none !important;
- -webkit-clip-path: none !important;
- border: 1px solid rgba(255, 255, 255, 0.15) !important;
- }
- /* Text Container adjustment */
- .pp-cc-chats, .profile-character-card-chats- {
- display: flex !important;
- align-items: center !important;
- justify-content: center !important;
- gap: 4px;
- color: #ffffff !important;
- }
- /* Chat text size and color */
- .pp-cc-chats-count, .profile-character-card-chats-count {
- color: #ffffff !important;
- font-weight: 600;
- font-size: 13px;
- font-family: sans-serif;
- }
- /* Cleaning up */
- .pp-cc-wrapper:hover, .pp-cc-wrapper[data-hover]{box-shadow:none}
- .css-1s5evre a{display:contents}
- .css-1awld45,.css-1cui3us,.css-1wqmh16,.css-1x04uxb,.css-5v5qgx,.css-8828od,.css-nip9dx,.css-xrg4vd,.pp-cc-creator-name{display:none}
- .pp-cc-wrapper>*{box-shadow:none!important}
- .pp-cc-star-line{visibility:hidden}
- div:has(> .css-1s5evre),div:has(~ .css-1s5evre){background:0 0!important}
- .css-0,.css-1henxb,.css-effh3d{background:0 0!important}
- ._content_1chl9_11 {box-shadow:none;background:0 0;}
- .pp-cc-tokens-count, .profile-character-card-box {
- display: none;
- }
- /* --- MOBILE & IPHONE RESPONSIVE OVERRIDES --- */
- @media (max-width: 768px) {
- .pp-cc-list-container {
- grid-template-columns: 1fr !important;
- justify-items: center !important;
- gap: 20px;
- }
- }
- </style>
Add Comment
Please, Sign In to add comment