StrawbunnizJAL

1. Horizontal Bot Cards (Scaling)

Jun 25th, 2026 (edited)
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.55 KB | Source Code | 0 0
  1. 1. Horizontal Bot Cards (Scaling)
  2.  
  3. <style>
  4. /* Creates a low-opacity image container locked strictly to the right side */
  5. .css-1s5evre::before {
  6.   content: "" !important;
  7.   position: absolute !important;
  8.   top: 0;
  9.   right: 0;
  10.   width: 50%; /* Covers exactly the right half where the text boxes are */
  11.   height: 100%;
  12.   opacity: 0.15; /* Perfectly controls the low opacity of your image */
  13.   background-image: url("https://files.catbox.moe/xfpsnm.png") !important;
  14.   background-size: contain !important;
  15.   background-position: bottom right !important;
  16.   background-repeat: no-repeat !important;
  17.   z-index: 1; /* Sits cleanly behind the text so it doesn't block readability */
  18.   pointer-events: none; /* Prevents the image from blocking clicks/text selection */
  19. }
  20. </style>
  21.  
  22. <style>
  23. /* code by @Strawbunniz */
  24. /* setting botcard backgrounds to transparent */
  25. .pp-cc-wrapper, .pp-cc-wrapper>*:not(.css-1s5evre){
  26.     background: transparent !important;
  27. }
  28.  
  29. /* Default 2-column grid layout for desktop, laptops, and tablets (like iPad) */
  30. .pp-cc-list-container {
  31.     display: grid !important;
  32.     grid-template-columns: repeat(2, minmax(0, 550px)) !important;
  33.     gap: 20px;
  34.     justify-content: center !important;
  35.     align-items: start !important;
  36.     width: 100% !important;
  37. }
  38.  
  39. /* sizing of the botcard */
  40. .pp-cc-wrapper{
  41.     width: 100% !important;
  42.     max-width: 550px;    
  43.     height: 450px; /* INCREASED HEIGHT HERE */
  44.     margin-left: auto !important;  
  45.     margin-right: auto !important;
  46.     display: block !important;
  47.     transition: all 300ms ease;
  48.     position: relative;
  49. }
  50.  
  51. .css-1s5evre a{
  52.     display: contents;
  53. }
  54.  
  55. .css-1s5evre{
  56.     background: black;
  57.     display: grid;
  58.     grid-template-columns: 1.5fr 1fr;
  59.     grid-template-rows: 1fr 1fr;
  60.     gap: 0px;
  61.     height: 100%; /* Forces the card interior to fill the height */
  62.     margin: 15px auto !important;
  63.     border-radius: 10px;
  64.     position: relative;
  65.     outline: 1px solid lightgray;
  66.     outline-offset: -3px;
  67.     z-index: 5;
  68.     align-items: stretch !important;
  69. }
  70.  
  71. /* botcard image container - Set to span the full card height */
  72. /* Image column */
  73. .css-1q7rmf0{
  74.     grid-area: 1 / 1 / 3 / 2;
  75.     height: 100% !important;
  76.     min-height: 100% !important;
  77.     overflow: hidden !important;
  78.     position: relative;
  79.     border-radius: 10px 0 0 10px;
  80.     mask-image: linear-gradient(to right, #000 65%, transparent);
  81.     -webkit-mask-image: linear-gradient(to right, #000 65%, transparent);
  82. }
  83.  
  84. /* Avatar wrapper */
  85. .css-1q7rmf0 > *{
  86.     width: 100% !important;
  87.     height: 600px !important;
  88.     object-fit: cover !important;
  89. }
  90. /* Bot Name */
  91. .pp-cc-name {
  92.     position: absolute;      
  93.     left: 0px;
  94.     top: 20px;
  95.     z-index: 10;              
  96.     max-width: 150px;
  97.     color: #ffffff;
  98.     font-size: 25px;
  99.     writing-mode: vertical-rl;  
  100.     transform: rotate(180deg);  
  101.     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  102.     font-weight: bold;
  103.     pointer-events: none;
  104.     font-family: "Times New Roman", Times, serif;      
  105. }
  106.  
  107. /* Bot card Description container & bot tags container */
  108. .profile-character-card-description-box, .pp-cc-tags{
  109.     max-height: 190px; /* INCREASED MAX-HEIGHT TO MATCH NEW CARD HEIGHT */
  110.     height: 100%;
  111.     overflow: hidden auto;
  112. }
  113.  
  114. /* botcard description */
  115. .profile-character-card-description-box {
  116.     grid-area: 1 / 2 / 2 / 3;
  117.     margin: 1px;
  118. }
  119.  
  120. /* botcard tags */
  121. .pp-cc-tags{
  122.     grid-area: 2 / 2 / 3 / 3;
  123.     margin-bottom: 0;
  124.     padding-bottom: 1rem;
  125. }
  126.  
  127. .pp-cc-tags-item {
  128.     color: white;
  129.     border-radius: 30px;
  130. }
  131.  
  132. /* getting rid of the star separator and username */
  133. .pp-cc-star-line, .pp-cc-creator-name{
  134.     display: none;
  135. }
  136.  
  137. /* botcard effect on hover */
  138. .pp-cc-wrapper:hover{
  139.     transform: scale(1.05);
  140. }
  141. .pp-cc-description p {
  142.     /* style here */
  143. }
  144. .pp-cc-description p::first-letter {
  145.     font-size: 30px;
  146.     font-family: cursive;
  147. }
  148.  
  149. /* Limitless Tag Styling */
  150. .pp-cc-tags-wrap:has(.pp-tag-limitless) {
  151.     position: absolute;
  152.     bottom: 5px;
  153.     right: 15px;
  154.     z-index: 1;
  155.     pointer-events: none;
  156. }
  157.  
  158. .pp-tag-limitless {
  159.     position: absolute;
  160.     bottom: 5px;
  161.     right: 45px;
  162.     z-index: 1;
  163.     text-transform: uppercase;
  164.     opacity: 0.25;
  165.     font-weight: bold;
  166.     font-size: 25px;
  167.     color: white;
  168. }
  169.  
  170. /* --- CHAT RIBBON POSITIONING AND BADGE SHAPE --- */
  171.  
  172. .profile-character-card-stats-box{
  173.     position:absolute !important;
  174.     right:35px !important;
  175.     Top:400px !important;
  176.     left:auto !important;
  177.     transform:none !important;
  178.     z-index:10 !important;
  179.     width:auto !important;
  180. }
  181. /* Outer Container Layout Reset */
  182. .pp-cc-ribbon, .profile-character-card-ribbon {
  183.     position: relative !important;
  184.     top: auto !important;
  185.     right: auto !important;
  186.     left: auto !important;
  187.     bottom: auto !important;
  188. }
  189.  
  190. /* The Dark Badge Shape */
  191. .pp-cc-ribbon-wrap, .profile-character-card-ribbon-wrap {
  192.     background: rgba(15, 15, 15, 0.85) !important;
  193.     padding: 4px 10px !important;
  194.     border-radius: 8px !important;
  195.     clip-path: none !important;
  196.     -webkit-clip-path: none !important;
  197.     border: 1px solid rgba(255, 255, 255, 0.15) !important;
  198. }
  199.  
  200. /* Text Container adjustment */
  201. .pp-cc-chats, .profile-character-card-chats- {
  202.     display: flex !important;
  203.     align-items: center !important;
  204.     justify-content: center !important;
  205.     gap: 4px;
  206.     color: #ffffff !important;
  207. }
  208.  
  209. /* Chat text size and color */
  210. .pp-cc-chats-count, .profile-character-card-chats-count {
  211.     color: #ffffff !important;
  212.     font-weight: 600;
  213.     font-size: 13px;
  214.     font-family: sans-serif;
  215. }
  216.  
  217. /* Cleaning ๐Ÿงผ up */
  218. .pp-cc-wrapper:hover, .pp-cc-wrapper[data-hover]{box-shadow:none}
  219. .css-1s5evre a{display:contents}
  220. .css-1awld45,.css-1cui3us,.css-1wqmh16,.css-1x04uxb,.css-5v5qgx,.css-8828od,.css-nip9dx,.css-xrg4vd,.pp-cc-creator-name{display:none}
  221. .pp-cc-wrapper>*{box-shadow:none!important}
  222. .pp-cc-star-line{visibility:hidden}
  223. div:has(> .css-1s5evre),div:has(~ .css-1s5evre){background:0 0!important}
  224. .css-0,.css-1henxb,.css-effh3d{background:0 0!important}
  225. ._content_1chl9_11 {box-shadow:none;background:0 0;}
  226. .pp-cc-tokens-count, .profile-character-card-box {
  227.     display: none;
  228. }
  229.  
  230. /* --- MOBILE & IPHONE RESPONSIVE OVERRIDES --- */
  231. @media (max-width: 768px) {
  232.     /* Falling back to 1 vertical row centered only on screens smaller than tablets (e.g., iPhones) */
  233.     .pp-cc-list-container {
  234.         grid-template-columns: 1fr !important;
  235.         justify-items: center !important;
  236.         gap: 20px;
  237.     }
  238. }
  239. </style>
Tags: Janitor AI
Add Comment
Please, Sign In to add comment