dotunion

champion spectra forum code

Sep 22nd, 2024 (edited)
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.98 KB | None | 0 0
  1. [sc=background]
  2. [sc=title]title[/sc]
  3. [sc=headerbox]
  4. [sc=icon][img]https://www.firstbenefits.org/wp-content/uploads/2017/10/placeholder.png[/img][/sc][sc=headertext]some text here!
  5.  
  6. you can add whatever you want in this box...it's also removable :)
  7.  
  8.  
  9. height limited to about here[/sc]
  10. [/sc]
  11. [sc=tabbed_interface horizontal]
  12. [ul]
  13. [li]tab 1[/li]
  14. [li]tab 2[/li]
  15. [li]tab 3[/li]
  16. [li]tab 4[/li]
  17. [li]tab 5[/li]
  18. [li]tab 6[/li]
  19. [/ul][
  20. ][sc=tab-active]contents 1[/sc][
  21.  
  22. ][sc=tab]contents 2[/sc][
  23.  
  24. ][sc=tab]contents 3[/sc][
  25.  
  26. ][sc=tab]contents 4[/sc][
  27.  
  28. ][sc=tab]contents 5[/sc][
  29.  
  30. ][sc=tab]contents 6[/sc]
  31. [/sc]
  32. [sc=credit][pit="[img]https://www.pokencyclopedia.info/sprites/menu-icons/ico-a_gb/ico-a_1_025.gif[/img]"]- code by [url=https://pfq.link/@J3dF]union[/url], for [url=https://pokefarm.com/user/Champion_Spectra]champion spectra's[/url] use only
  33. add more here :][/pit][/sc]
  34. [/sc]
  35.  
  36. [style]
  37.  
  38. @font-face {
  39. font-family: 'Silkscreen';
  40. src: url(https://fonts.gstatic.com/s/silkscreen/v4/m8JUjfVPf62XiF7kO-i9aAhAfmyi2A.woff2) format('woff2');
  41. 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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  42. }
  43.  
  44. @font-face {
  45. src: url(https://dl.dropbox.com/scl/fi/eu2nd8wyjz1720wr96hei/pkmnrbg.ttf?rlkey=pft7nb1nahb80i7hcyodj71jk);
  46. font-family: 'RBY';
  47. }
  48.  
  49. .background {
  50. background-image: url("https://static.wikia.nocookie.net/glitches/images/a/ab/Glitchcitymapone-full.jpg");
  51. }
  52.  
  53. .title {
  54. text-align: center;
  55. font-size: 2.5em;
  56. color: #000;
  57. font-family: 'Silkscreen';
  58. -webkit-text-stroke: 1px #fff;
  59. text-stroke: 1px #fff;
  60. margin-bottom: -10px;
  61. }
  62.  
  63. .headerbox {
  64. width: 94%;
  65. margin: auto;
  66. background: white;
  67. background-clip: padding-box;
  68. border-image: url("https://i.imgur.com/K7H6Afr.png");
  69. border-image-slice: 30%;
  70. border-width: 11px;
  71. border-style: solid;
  72. }
  73.  
  74. .icon {
  75. width: 120px;
  76. height: 120px;
  77. border-image: url("https://i.imgur.com/K7H6Afr.png");
  78. background-clip: padding-box;
  79. border-image-slice: 30%;
  80. border-width: 11px;
  81. border-style: solid;
  82. margin-left: 20px;
  83. margin-top: -10px;
  84. margin-bottom: 10px;
  85. display: inline-block;
  86.  
  87. @media only screen and (max-width: 1280px) {
  88. width: 100px;
  89. height: 100px;
  90. margin-left: 10px;
  91. }
  92. }
  93.  
  94. .headertext {
  95. float: right;
  96. width: 70%;
  97. font-family: 'RBY';
  98. font-size: 14px;
  99. text-align: left;
  100. color: #000;
  101.  
  102. @media only screen and (max-width: 1024px) {
  103. font-size: 12px;
  104. width: 60%;
  105. margin-top: -10px;
  106. }
  107. }
  108.  
  109. .tabbed_interface>ul {
  110. background-color: inherit;
  111. margin-top: -30px;
  112. }
  113.  
  114. .tabbed_interface>ul li { /* tabs */
  115. font-family: 'RBY';
  116. border: 4px double #000;
  117.  
  118. cursor: pointer;
  119. margin: 5px 3px;
  120. padding: 0px;
  121. margin-bottom: 10px;
  122. width: auto;
  123. font-size: 14px;
  124. text-align: center;
  125. color: #000;
  126. background-color: #fff;
  127. transition: .3s;
  128. }
  129.  
  130. .tabbed_interface>ul>li.tab-active {
  131. color: #000;
  132. border: 4px double #000;
  133. background: #fff;
  134. background-clip: padding-box;
  135. }
  136.  
  137. .tabbed_interface>ul>li.tab-active:before {
  138. content: url("https://i.postimg.cc/Hss4QXS7/arrow.gif");
  139. margin-right: 3px;
  140. }
  141.  
  142. .tab-active { /* content */
  143. font-family: 'RBY';
  144. line-height: 1.3;
  145. text-align: left;
  146. padding: 2px;
  147. margin: auto;
  148. width: 95%;
  149. height: auto;
  150. background-color: #fff;
  151. color: #000;
  152. box-shadow: none;
  153. font-size: 12px;
  154. background-clip: padding-box;
  155. border-image: url("https://i.imgur.com/K7H6Afr.png");
  156. border-image-slice: 30%;
  157. border-width: 11px;
  158. border-style: solid;
  159. }
  160.  
  161. /* links */
  162.  
  163. a {
  164. display: inline-block;
  165. transition: .2s ease;
  166. text-decoration: #000 solid underline;
  167. color: #000;
  168. }
  169.  
  170. /* tooltip */
  171.  
  172. div.tooltip_content {
  173. background: #fff;
  174. color: #000;
  175. }
  176.  
  177. div.tooltip_content {
  178. width: auto;
  179. margin: auto;
  180. position: absolute;
  181. z-index: 1;
  182. font-size: 13px;
  183. word-spacing: 2px;
  184. background: #fff;
  185. color: #000;
  186. border: double 4px #000;
  187. border-radius: 0px;
  188. text-align: center;
  189. }
  190.  
  191. /* progress bar */
  192.  
  193. .expbar {
  194. margin-bottom: -10px;
  195. background: none;
  196. border-radius: 0px;
  197. width: 85%;
  198. height: 7%;
  199. border: 4px double #000;
  200. color: #000;
  201. >div {
  202. background: #fff;
  203. border-right: 1px solid #000;
  204. }
  205. }
  206.  
  207. /* panel */
  208.  
  209. .panel {
  210. width: 90%;
  211. margin: auto;
  212. border-radius: 0px;
  213. box-shadow: none;
  214. background: none;
  215. border: none;
  216. &>h3 {
  217. &>a {
  218. color: #000;
  219. text-decoration: none;
  220. }
  221. text-align: center;
  222. background: #fff;
  223. font-size: 14px;
  224. background-clip: padding-box;
  225. border-image: url("https://i.imgur.com/K7H6Afr.png");
  226. border-image-slice: 30%;
  227. border-width: 11px;
  228. border-style: solid;
  229. color: #000;
  230. }
  231. &>div {
  232. background: #fff;
  233. display: block;
  234. margin: 0;
  235. padding: 6px;
  236. color: #000;
  237. border: 4px double #000;
  238. }
  239. }
  240.  
  241. table {
  242. width: 90%;
  243. border: none;
  244. padding: 4px;
  245. border-collapse: separate;
  246. th, td {
  247. text-align: center;
  248. padding: 5px;
  249. border-radius: 0px;
  250. border: 4px double #000;
  251. color: #000;
  252. }
  253. th {
  254. background-color: #000;
  255. color: #fff;
  256. }
  257. td {
  258. background-color: #fff;
  259. color: #000;
  260. }
  261. }
  262. table {
  263. margin: 0 auto;
  264. }
  265.  
  266. /* party panel */
  267.  
  268. @platform-base: #000;
  269. @platform-border: #fff;
  270. @name-color: #000;
  271. @name-background: #fff;
  272. @name-border: #000;
  273. @berry-background: @col-flavour-up;
  274. @berry-border: #000;
  275. /* Set to "block" to show, "none" to hide */
  276. @display-item: block;
  277. @display-berries: block;
  278.  
  279. .party {
  280. display: inline-block;
  281. &,>div {
  282. padding: 0;
  283. margin: 0;
  284. background: transparent;
  285. width: 120px !important;
  286. height: 120px;
  287. overflow: hidden;
  288. border: none;
  289. border-radius: 0;
  290. box-shadow: none;
  291. }
  292. >div {
  293. &::after {
  294. display: none;
  295. }
  296. .pkmn {
  297. margin: 0 10px;
  298. float: unset;
  299. &::before {
  300. background-color: @platform-base;
  301. border-color: @platform-border;
  302. }
  303. .helditem {
  304. display: @display-item;
  305. .itemsprite {
  306. cursor: unset;
  307. }
  308. .tooltip_content {
  309. display: none;
  310. }
  311. }
  312. }
  313. .name {
  314. background-color: @name-background;
  315. border: 1.5px solid @name-border;
  316. border-radius: 5px;
  317. margin-top: 1px;
  318. height: 16px;
  319. display: flex;
  320. flex-wrap: nowrap;
  321. a {
  322. color: @name-color;
  323. font-weight: normal;
  324. margin: 0 2px;
  325. width: 80px !important;
  326. flex-grow: 99;
  327. font-size: 12px;
  328. }
  329. img {
  330. display: none;
  331. }
  332. img:nth-last-of-type(-n+2) {
  333. display: inline;
  334. margin: 0;
  335. }
  336. }
  337. .action {
  338. display: @display-berries;
  339. position: absolute;
  340. left: 88px;
  341. top: 70px;
  342. height: unset;
  343. width: unset;
  344. .berrybuttons[data-up="any"]>a[data-berry="aspear"],
  345. .berrybuttons[data-up="sour"]>a[data-berry="aspear"],
  346. .berrybuttons[data-up="spicy"]>a[data-berry="cheri"],
  347. .berrybuttons[data-up="dry"]>a[data-berry="chesto"],
  348. .berrybuttons[data-up="sweet"]>a[data-berry="pecha"],
  349. .berrybuttons[data-up="bitter"]>a[data-berry="rawst"] {
  350. display: inline-block;
  351. }
  352. .berrybuttons {
  353. >a {
  354. display: none;
  355. width: 20px;
  356. height: 20px;
  357. line-height: 20px;
  358. padding: 5px;
  359. background-color: @berry-background;
  360. border-radius: 20px;
  361. >img {
  362. vertical-align: top;
  363. max-height: 20px;
  364. max-width: 20px;
  365. }
  366. }
  367. >a[data-berry="pecha"] img {
  368. /* this berry is short */
  369. margin-top: 1px;
  370. }
  371. }
  372. &.working {
  373. opacity: 0.5;
  374. }
  375. table, a[data-evolve] {
  376. /* "thank you" message and evolve button */
  377. display: none;
  378. }
  379. }
  380. .expbar, .taste, .extra {
  381. display: none;
  382. }
  383. }
  384. >div:hover>.action a[data-berry]:after {
  385. border-color: @berry-border;
  386. }
  387. }
  388.  
  389. .credit {
  390. margin-right: 5px;
  391. margin-top: -20px;
  392. margin-bottom: -15px;
  393. text-align: right;
  394. font-size: 8px;
  395. user-select: none;
  396. width: auto;
  397. height: auto;
  398.  
  399. div.tooltip_content {
  400. font-family: 'RBY';
  401. bottom: 0px;
  402. right: 35px;
  403. width: 70%;
  404. font-size: 12px;
  405. padding: 4px;
  406. background-clip: padding-box;
  407. border-image: url("https://i.imgur.com/K7H6Afr.png");
  408. border-image-slice: 30%;
  409. border-width: 11px;
  410. border-style: solid;
  411. background-color: #fff;
  412. color: #000;
  413. text-align: left;
  414.  
  415. @media only screen and (max-width: 1280px) {
  416. width: 200px;
  417. position: absolute;
  418. bottom: 0px;
  419. right: 35px;
  420. }
  421. }
  422. .bbcode_tooltip {
  423. border-bottom: none;
  424. }
  425. }
  426.  
  427. [/style]
Advertisement
Add Comment
Please, Sign In to add comment