dotunion

ranaki forum code (main forum post)

Apr 29th, 2025 (edited)
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.60 KB | None | 0 0
  1. [sc=bg][sc=box][sc=banner][/sc]
  2. [sc=icon][img]ICON IMAGE LINK[/img][/sc]
  3. [sc=tabbed_interface horizontal]
  4. [ul]
  5. [li]Title 1[/li]
  6. [li]Title 2[/li]
  7. [li]Title 3[/li]
  8. [/ul][
  9. ][sc=tab-active]contents 1[/sc][
  10.  
  11. ][sc=tab]contents 2[/sc][
  12.  
  13. ][sc=tab]contents 3[/sc][/sc]
  14. [sc=credit][pit="[img]https://64.media.tumblr.com/93c7067973c69cbbed20666d543c6e2c/73ba3e95d9991f31-ed/s75x75_c1/b3ef74dd01444ee0d95a29bddb1dc6c6eb678c42.gifv[/img]"]- code by [url=https://pfq.link/@J3dF]union[/url], for [url=https://pfq.link/@JNm1]ranaki's[/url] use only
  15. - jellyfish pixel form [url=https://www.tumblr.com/wiltyrose/749596368887234560/divinity-of-the?source=share]wiltyrose[/url]
  16. - ninomae ina'nis artwork by [url=https://x.com/ninomaeinanis/status/1344794186508222466]ina'nis[/url] herself
  17. - icon credit here![/pit][/sc]
  18. [/sc][/sc]
  19.  
  20. [style]
  21.  
  22. @font-face {
  23. font-family: 'Quicksand';
  24. src: url(https://fonts.gstatic.com/s/quicksand/v36/6xKtdSZaM9iE8KbpRA_hK1QN.woff2) format('woff2');
  25. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  26. }
  27.  
  28. .bg {
  29. background-image: url("https://i.imgur.com/WC3Is18.png");
  30. background-size: cover;
  31. border: 2px solid #4f4647;
  32. padding: 3px;
  33. }
  34.  
  35. .box {
  36. background-color: #34303e90;
  37. }
  38.  
  39. .banner {
  40. background-image: url("https://i.imgur.com/nLRutQH.jpeg");
  41. height: 130px;
  42. background-size: 100%;
  43. background-position: 80% 30%;
  44. border: 2px solid #494e6b;
  45. }
  46.  
  47. .icon {
  48. width: 140px;
  49. height: 140px;
  50. border-radius: 100%;
  51. overflow: hidden;
  52. margin-left: 8px;
  53. margin-top: -110px;
  54. border: 2px solid #494e6b;
  55. }
  56.  
  57. .tabbed_interface>ul {
  58. margin-top: -30px;
  59. background: none;
  60. width: 75%;
  61. }
  62.  
  63. .tabbed_interface>ul li {
  64. font-family: 'Quicksand';
  65. font-weight: 700;
  66. cursor: pointer;
  67. text-align: center;
  68. padding: 5px;
  69. margin-left: 5px;
  70. margin-right: 5px;
  71. margin-bottom: -35px;
  72. position: relative;
  73. left: 33%;
  74. bottom: 50px;
  75. border: 2px solid #494e6b;
  76. background-color: #cebbb5;
  77. color: #000;
  78. transition: .3s;
  79. }
  80.  
  81. .tabbed_interface>ul>li.tab-active {
  82. border: 2px solid #cebbb5;
  83. background-color: #494e6b;
  84. color: #fff;
  85. text-decoration: 2px underline dotted;
  86. }
  87.  
  88. .tabbed_interface>div {
  89. font-family: 'Quicksand';
  90. font-weight: 500;
  91. box-shadow: none;
  92. width: 96%;
  93. padding: 5px;
  94. margin: auto;
  95. border: 2px solid #cebbb5;
  96. background-color: #494e6b;
  97. text-align: center;
  98. color: #fff;
  99. }
  100.  
  101. u {
  102. text-decoration: underline double;
  103. }
  104.  
  105. a {
  106. text-decoration-style: dotted;
  107. color: #fff;
  108. }
  109.  
  110. div.tooltip_content {
  111. padding: 6px;
  112. font-weight: 500;
  113. width: auto;
  114. border: 2px solid #494e6b;
  115. background-color: #cebbb5;
  116. color: #000;
  117. border-radius: 0px;
  118. font-size: 16px;
  119. box-shadow: none;
  120. }
  121.  
  122. .bbcode_tooltip {
  123. border-bottom: 1px dotted #fff;
  124. cursor: help;
  125. }
  126.  
  127. .panel {
  128. background: none;
  129. margin: auto;
  130. box-shadow: none;
  131. border: none;
  132. &>h3 {
  133. &>a {
  134. color: #359d92;
  135. text-decoration: none;
  136. font-weight: normal;
  137. color: #000;
  138. }
  139. font-weight: normal;
  140. text-align: center;
  141. background: #dccdd0;
  142. font-size: 16px;
  143. border-radius: 0px;
  144. border: 4px double #cebbb5;
  145. color: #000;
  146. }
  147. &>div {
  148. background-color: #494e6b;
  149. display: block;
  150. padding: 4px;
  151. color: #fff;
  152. border: 2px solid #cebbb5;
  153. border-top: none;
  154. }
  155. }
  156.  
  157. .expbar {
  158. margin-top: -5px;
  159. margin-bottom: -5px;
  160. background: none;
  161. border-radius: 0px;
  162. border: 4px double #cebbb5;
  163. color: #000;
  164. >span {
  165. font-size: 14px;
  166. font-weight: normal;
  167. padding: 2px;
  168. font-weight: 500;
  169. }
  170. >div {
  171. margin: 3px;
  172. background: #dccdd0;
  173. border-right: 1px solid #dccdd0;
  174. }
  175. }
  176.  
  177. table {
  178. margin: auto;
  179. width: 100%;
  180. border: none;
  181. border-collapse: separate;
  182. th, td {
  183. text-align: center;
  184. padding: 3px;
  185. border-radius: 0px;
  186. font-weight: 500;
  187. }
  188. th {
  189. border: 2px solid #4f4647;
  190. background-color: #cebbb5;
  191. color: #000;
  192. }
  193. td {
  194. border: 2px solid #cebbb5;
  195. background-color: #494e6b;
  196. }
  197. }
  198.  
  199. @platform-base: #494e6b;
  200. @platform-border: #cebbb5;
  201. @name-color: #000;
  202. @name-background: #cebbb5;
  203. @name-border: #cebbb5;
  204. @berry-background: @col-flavour-up;
  205. @berry-border: #cebbb5;
  206. /* Set to "block" to show, "none" to hide */
  207. @display-item: block;
  208. @display-berries: block;
  209.  
  210. .party {
  211. display: inline-block;
  212. &,>div {
  213. padding: 0;
  214. margin: 0;
  215. background: transparent;
  216. width: 120px !important;
  217. height: 120px;
  218. overflow: hidden;
  219. border: none;
  220. border-radius: 0;
  221. box-shadow: none;
  222. }
  223. >div {
  224. &::after {
  225. display: none;
  226. }
  227. .pkmn {
  228. margin: 0 10px;
  229. float: unset;
  230. &::before {
  231. background-color: @platform-base;
  232. border-color: @platform-border;
  233. }
  234. .helditem {
  235. display: @display-item;
  236. .itemsprite {
  237. cursor: unset;
  238. }
  239. .tooltip_content {
  240. display: none;
  241. }
  242. }
  243. }
  244. .name {
  245. background-color: @name-background;
  246. border: 1.5px solid @name-border;
  247. border-radius: 5px;
  248. margin-top: 0px;
  249. height: 16px;
  250. display: flex;
  251. flex-wrap: nowrap;
  252. box-shadow: none;
  253. a {
  254. color: @name-color;
  255. font-weight: normal;
  256. margin: 0 2px;
  257. width: 80px !important;
  258. flex-grow: 99;
  259. font-size: 14px;
  260. }
  261. img {
  262. display: none;
  263. }
  264. img:nth-last-of-type(-n+2) {
  265. display: inline;
  266. margin: 0;
  267. }
  268. }
  269. .action {
  270. display: @display-berries;
  271. position: absolute;
  272. left: 88px;
  273. top: 70px;
  274. height: unset;
  275. width: unset;
  276. .berrybuttons[data-up="any"]>a[data-berry="aspear"],
  277. .berrybuttons[data-up="sour"]>a[data-berry="aspear"],
  278. .berrybuttons[data-up="spicy"]>a[data-berry="cheri"],
  279. .berrybuttons[data-up="dry"]>a[data-berry="chesto"],
  280. .berrybuttons[data-up="sweet"]>a[data-berry="pecha"],
  281. .berrybuttons[data-up="bitter"]>a[data-berry="rawst"] {
  282. display: inline-block;
  283. }
  284. .berrybuttons {
  285. >a {
  286. display: none;
  287. width: 20px;
  288. height: 20px;
  289. line-height: 20px;
  290. padding: 5px;
  291. background-color: @berry-background;
  292. border-radius: 20px;
  293. >img {
  294. vertical-align: top;
  295. max-height: 20px;
  296. max-width: 20px;
  297. }
  298. }
  299. >a[data-berry="pecha"] img {
  300. /* this berry is short */
  301. margin-top: 1px;
  302. }
  303. }
  304. &.working {
  305. opacity: 0.5;
  306. }
  307. table, a[data-evolve] {
  308. /* "thank you" message and evolve button */
  309. display: none;
  310. }
  311. }
  312. .expbar, .taste, .extra {
  313. display: none;
  314. }
  315. }
  316. >div:hover>.action a[data-berry]:after {
  317. border-color: @berry-border;
  318. }
  319. }
  320.  
  321. .credit {
  322. margin-right: 5px;
  323. margin-bottom: -30px;
  324. text-align: right;
  325. user-select: none;
  326. position: relative;
  327. bottom: 15px;
  328. width: auto;
  329. height: auto;
  330.  
  331. div.tooltip_content {
  332. font-family: 'Quicksand';
  333. width: 90%;
  334. bottom: 0px;
  335. margin-left: 10px;
  336. font-size: 16px;
  337. padding: 5px;
  338. border: 2px solid #cebbb5;
  339. background-color: #494e6b;
  340. color: #fff;
  341. text-align: left;
  342.  
  343. }
  344. .bbcode_tooltip {
  345. border-bottom: none;
  346. }
  347. }
  348.  
  349. [/style]
Advertisement
Add Comment
Please, Sign In to add comment