Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2. Horizontal Bot Cards (Slide-In Animation)
- <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%; /* Covers exactly the right half where the text boxes are */
- height: 100%;
- opacity: 0.15; /* Perfectly controls the low opacity of your image */
- 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; /* Sits cleanly behind the text so it doesn't block readability */
- pointer-events: none; /* Prevents the image from blocking clicks/text selection */
- }
- </style>
- <style>
- /* code by @Strawbunniz */
- /* setting botcard backgrounds to transparent */
- .pp-cc-wrapper, .pp-cc-wrapper>*:not(.css-1s5evre){
- background: transparent !important;
- }
- /* adjusting botcard autopopulated layout and centering */
- .pp-cc-list-container{
- display: flex !important;
- flex-flow: row wrap;
- justify-content: center !important;
- align-items: center !important;
- width: 100% !important;
- }
- /* sizing of the botcard */
- .pp-cc-wrapper{
- flex: 0 1 550px;
- width: 550px;
- height: 380px; /* Increased slightly to account for the bubble at the bottom */
- 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.5fr 1fr;
- grid-template-rows: 1fr 1fr;
- gap: 0px;
- margin: 15px auto !important;
- border-radius: 10px;
- outline: 1px solid lightgray;
- outline-offset: -5px;
- position: relative;
- z-index: 2;
- overflow: hidden; /* Prevents text from leaking outside before sliding in */
- }
- /* "Hover to reveal details" Placeholder text setup (Shining & Blinking) */
- .css-1s5evre::after {
- content: "hover to reveal details";
- position: absolute;
- right: 0;
- top: 0;
- width: 40%; /* Aligns over the right side text pane */
- height: 100%;
- background: transparent;
- /* Shining effect using a linear gradient on the text */
- background-image: linear-gradient(to right, #a0a0a0 20%, #ffffff 40%, #ffffff 60%, #a0a0a0 80%);
- background-size: 200% auto;
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- background-clip: text;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 14px;
- font-family: inherit;
- z-index: 15;
- /* Combines the slide/fade transitions with the loops for shining and blinking */
- transition: transform 400ms ease, opacity 300ms ease;
- animation: shine 3s linear infinite, blink 2s ease-in-out infinite;
- pointer-events: none;
- padding: 10px;
- box-sizing: border-box;
- text-align: center;
- }
- /* Hide the placeholder text panel on hover and pause animations */
- .pp-cc-wrapper:hover .css-1s5evre::after {
- transform: translateX(100%);
- opacity: 0;
- animation: none;
- }
- /* Smooth Shining Animation */
- @keyframes shine {
- to {
- background-position: 200% center;
- }
- }
- /* Smooth Blinking Animation */
- @keyframes blink {
- 0%, 100% {
- opacity: 0.4;
- }
- 50% {
- opacity: 1;
- }
- }
- /* botcard image container */
- .css-1q7rmf0 {
- grid-area: 1 / 1 / 3 / 2;
- margin: 2px;
- border-radius: 0;
- overflow: visible;
- position: relative;
- mask-image: linear-gradient(to right, #000 50%, transparent);
- -webkit-mask-image: linear-gradient(to right, #000 50%, transparent);
- }
- /* Bot Name */
- .pp-cc-name {
- position: absolute;
- left: 10px;
- top: 20px;
- z-index: 10;
- max-width: 150px;
- color: #ffffff;
- font-size: 25px;
- writing-mode: vertical-rl;
- transform: rotate(180deg);
- 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 & bot tags container */
- .profile-character-card-description-box, .pp-cc-tags{
- max-height: 150px;
- height: 100%;
- overflow: hidden auto;
- }
- /* Bot card Description setup for sliding animation */
- .profile-character-card-description-box {
- grid-area: 1 / 2 / 2 / 3;
- margin: 1px;
- z-index: 5;
- opacity: 0;
- transform: translateX(40px);
- transition: transform 400ms ease, opacity 400ms ease;
- }
- /* Reveal description on hover */
- .pp-cc-wrapper:hover .profile-character-card-description-box {
- opacity: 1;
- transform: translateX(0);
- }
- /* botcard tags container */
- .pp-cc-tags{
- grid-area: 2 / 2 / 3 / 3;
- margin-bottom: 0;
- padding-bottom: 1rem;
- position: static !important; /* CHANGED: Keeps absolute children from scrolling */
- }
- /* Standard tags hover movement (excluding limitless) */
- .pp-cc-tags-wrap-regular, .pp-cc-tags-wrap-custom span {
- display: inline-block;
- opacity: 0;
- transform: translateX(40px);
- transition: transform 400ms ease, opacity 400ms ease;
- }
- /* Smoothly reveals regular tags on hover */
- .pp-cc-wrapper:hover .pp-cc-tags-wrap-regular,
- .pp-cc-wrapper:hover .pp-cc-tags-wrap-custom span {
- opacity: 1;
- transform: translateX(0);
- }
- .pp-cc-tags-item {
- color: white;
- border-radius: 30px;
- }
- /* 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-avatar {
- width: 100%;
- height: 100%;
- object-fit: cover;
- border-radius: 10px;
- outline: 1px solid lightgray;
- outline-offset: -5px;
- }
- .pp-cc-description p {
- /* style here */
- }
- .pp-cc-description p::first-letter {
- font-size: 30px;
- font-family: cursive;
- }
- /* Limitless Tag Styling - Isolated completely from the animations */
- .pp-cc-tags-wrap:has(.pp-tag-limitless) {
- position: absolute;
- bottom: 5px;
- right: 15px;
- z-index: 20 !important; /* Raised to remain perfectly visible over the gray background block */
- pointer-events: none;
- }
- .pp-tag-limitless {
- position: absolute;
- bottom: 5px;
- right: 45px;
- z-index: 20 !important;
- text-transform: uppercase;
- opacity: 0.25;
- font-weight: bold;
- font-size: 25px;
- color: white;
- }
- /* --- CHAT RIBBON POSITIONING AND BADGE SHAPE --- */
- .profile-character-card-stats-box{
- position:absolute !important;
- right:35px !important;
- Top:340px !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;
- }
- </style>
Add Comment
Please, Sign In to add comment