Advertisement
_Pandora

Cave Name Box

Apr 25th, 2022 (edited)
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.31 KB | None | 0 0
  1. /* Codes made by Pandora #144118 and Kat .:Red Lion of Voltron:. #94329
  2. Codes may be edited, used in commissions or for personal use
  3. Please do not remove credit
  4. */
  5.  
  6. a[href$="unsorted.php?id=USERID"]>div.cave-grid {
  7. height: #px!important; /* This is to get rid of the text portion below the cave normally */
  8. }
  9.  
  10. a[href$="unsorted.php?id=USERID"]>.cave-grid::after {
  11. content: 'CAVENAME'!important;
  12. display:block;
  13. background-color: rgb(#,#,#); /* This is for the background square of the text. You can also use #HEXCODE like so - background-color: #000000; */
  14. color: rgb(#,#,#); /* This is the text color. You can also use #HEXCODE like so - color: #000000; */
  15. padding: #px #px; /* This is how far from the edge of the background-color the text is. It goes xpx ypx */
  16. transition: all .#s ease-out!important; /* How fast you want the text to fade in and out */
  17. border-radius: #%; /* If you want rounded corners to the background-color square */
  18. top: y#%; /* How far from the top of the cave image you want the text to show up */
  19. left: x#%; /* How far from the left of the cave image you want the text to show up */
  20. transform: translate(-x#%, -y#%); /* Moves the cave name box */
  21. position: absolute!important;
  22. opacity: 0;
  23. }
  24.  
  25.  
  26.  
  27. /* PREGNANT LIONESSES */
  28. a[href$="nesting.php"]>div.cave-grid>img {
  29. content: url('IMAGEURL')!important;
  30. height: #px!important; /* If you want to change the height of the cave image - Note, this distorts the image I believe */
  31. transition: all .#s ease-out!important; /* How fast you want the image to fade in and out */
  32. }
  33.  
  34. a[href$="nesting.php"]>div.cave-grid {
  35. height: #px!important; /* This is to get rid of the text portion below the cave normally */
  36. }
  37.  
  38. a[href$="nesting.php"]>.cave-grid::after {
  39. content: 'CAVENAME'!important;
  40. display:block;
  41. background-color: rgb(#,#,#); /* This is for the background square of the text. You can also use #HEXCODE like so - background-color: #000000; */
  42. color: rgb(#,#,#); /* This is the text color. You can also use #HEXCODE like so - color: #000000; */
  43. padding: #px #px; /* This is how far from the edge of the background-color the text is. It goes xpx ypx */
  44. transition: all .#s ease-out!important; /* How fast you want the text to fade in and out */
  45. border-radius: #%; /* If you want rounded corners to the background-color square */
  46. top: y#%; /* How far from the top of the cave image you want the text to show up */
  47. left: x#%; /* How far from the left of the cave image you want the text to show up */
  48. transform: translate(-x#%, -y#%); /* Moves the cave name box */
  49. position: absolute!important;
  50. opacity: 0;
  51. }
  52.  
  53.  
  54.  
  55. /* PRIDE OVERVIEW */
  56. a[href$="lionoverview.php?id=USERID"]>div.cave-grid>img {
  57. content: url('IMAGEURL')!important;
  58. height: #px!important; /* If you want to change the height of the cave image - Note, this distorts the image I believe */
  59. transition: all .#s ease-out!important; /* How fast you want the image to fade in and out */
  60. }
  61.  
  62. a[href$="lionoverview.php?id=USERID"]>div.cave-grid {
  63. height: #px!important; /* This is to get rid of the text portion below the cave normally */
  64. }
  65.  
  66. a[href$="lionoverview.php?id=USERID"]>.cave-grid::after {
  67. content: 'CAVENAME'!important;
  68. display:block;
  69. background-color: rgb(#,#,#); /* This is for the background square of the text. You can also use #HEXCODE like so - background-color: #000000; */
  70. color: rgb(#,#,#); /* This is the text color. You can also use #HEXCODE like so - color: #000000; */
  71. padding: #px #px; /* This is how far from the edge of the background-color the text is. It goes xpx ypx */
  72. transition: all .#s ease-out!important; /* How fast you want the text to fade in and out */
  73. border-radius: #%; /* If you want rounded corners to the background-color square */
  74. top: y#%; /* How far from the top of the cave image you want the text to show up */
  75. left: x#%; /* How far from the left of the cave image you want the text to show up */
  76. transform: translate(-x#%, -y#%); /* Moves the cave name box */
  77. position: absolute!important;
  78. opacity: 0;
  79. }
  80.  
  81.  
  82.  
  83. /* CAVES (COPY AND PASTE TO ADD MORE) */
  84. a[href$="CAVEID"]>div.cave-grid>img {
  85. content: url('IMAGEURL')!important;
  86. height: #px!important; /* If you want to change the height of the cave image - Note, this distorts the image I believe */
  87. transition: all .#s ease-out!important; /* How fast you want the image to fade in and out */
  88. }
  89.  
  90. a[href$="CAVEID"]>div.cave-grid {
  91. height: #px!important; /* This is to get rid of the text portion below the cave normally */
  92. }
  93.  
  94. a[href$="CAVEID"]>.cave-grid::after {
  95. content: 'CAVENAME'!important;
  96. display:block;
  97. background-color: rgb(#,#,#); /* This is for the background square of the text. You can also use #HEXCODE like so - background-color: #000000; */
  98. color: rgb(#,#,#); /* This is the text color. You can also use #HEXCODE like so - color: #000000; */
  99. padding: #px #px; /* This is how far from the edge of the background-color the text is. It goes xpx ypx */
  100. transition: all .#s ease-out!important; /* How fast you want the text to fade in and out */
  101. border-radius: #%; /* If you want rounded corners to the background-color square */
  102. top: y#%; /* How far from the top of the cave image you want the text to show up */
  103. left: x#%; /* How far from the left of the cave image you want the text to show up */
  104. transform: translate(-x#%, -y#%); /* Moves the cave name box */
  105. position: absolute!important;
  106. opacity: 0;
  107. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement