dotunion

msg code

Sep 1st, 2024 (edited)
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.62 KB | None | 0 0
  1. [sc=body][sc=icon][/sc][sc=mainbubble]this is the main bubble[/sc]
  2. [sc=speech-bubble]this is a second speech bubble![/sc]
  3. [sc=cr][url=https://pfq.link/@J3dF]code[/url] | [url=https://pokefarm.com/forum/post/6000778]pkmn panel[/url] | official hsr art[/sc]
  4. [/sc]
  5. [style]
  6.  
  7. @font-face {
  8. font-family: "Chirp";
  9. src: url(https://abs.twimg.com/fonts/chirp-regular-web.woff) format("woff");
  10. }
  11.  
  12. .body {
  13. width: 64%;
  14. height: auto;
  15. padding: 5px;
  16.  
  17. @media only screen and (max-width: 1024px) {
  18. width: 83%;
  19. }
  20. }
  21.  
  22. .icon {
  23. width: 90px;
  24. height: 90px;
  25. border: 1px solid #000;
  26. border-radius: 10px;
  27. display: inline-block;
  28.  
  29. background-image: url("https://64.media.tumblr.com/f8817582264fa88a2efed9ff8b65e320/ca1f8eff647f18a0-1b/s400x600/e98e7437a4566fc680e8e82551a9f09adfa4b908.pnj");
  30. background-size: 90px 90px;
  31. }
  32.  
  33. .mainbubble {
  34. width: 275px;
  35. height: auto;
  36. padding-left: 5px;
  37. padding-right: 5px;
  38. padding-top: 5px;
  39. padding-bottom: 10px;
  40. margin-left: 5px;
  41. margin-top: 25px;
  42. float: right;
  43. background-color: #fff;
  44. border: 1px solid #000;
  45. border-radius: 3px;
  46. display: inline-block;
  47.  
  48. font-family: "Chirp";
  49. font-size: 14px;
  50. color: #000;
  51.  
  52. @media only screen and (max-width: 1024px) {
  53. width: 200px;
  54. }
  55. }
  56.  
  57. .speech-bubble {
  58. margin-top: 5px;
  59. position: relative;
  60. background: #fff;
  61. border: 1px solid #000;
  62. border-radius: 3px;
  63. display: inline-block;
  64. float: right;
  65. width: 275px;
  66. padding-left: 5px;
  67. padding-right: 5px;
  68. padding-top: 5px;
  69. padding-bottom: 10px;
  70.  
  71. font-family: "Chirp";
  72. font-size: 14px;
  73. color: #000;
  74.  
  75. @media only screen and (max-width: 1024px) {
  76. width: 200px;
  77. }
  78. }
  79.  
  80. .speech-bubble:after {
  81. content: '';
  82. position: absolute;
  83. left: 0;
  84. top: 50%;
  85. width: 0;
  86. height: 0;
  87. border: 10px solid transparent;
  88. border-right-color: #fff;
  89. border-left: 0;
  90. border-top: 0;
  91. margin-left: -10px;
  92. margin-top: -10px;
  93. }
  94.  
  95. .cr {
  96. display: inline-block;
  97. float: right;
  98. width: 193px;
  99. font-size: 8pt;
  100. color: #000;
  101. }
  102.  
  103.  
  104. /* links */
  105.  
  106. a {
  107. display: inline-block;
  108. text-decoration: #000 double underline;
  109. color: #000;
  110. }
  111.  
  112. div.tooltip_content {
  113. background: rgba(0, 0, 0, 00);
  114. color: @col-fg1;
  115. }
  116.  
  117. div.tooltip_content {
  118. width: auto;
  119. margin: auto;
  120. position: absolute;
  121. font-size: 14px;
  122. word-spacing: 2px;
  123. background: #fff;
  124. color: #000;
  125. border: solid 1.5px #000;
  126. border-radius: 3px;
  127. text-align: left;
  128. }
  129.  
  130. .bbcode_tooltip {
  131. border-bottom: #000 underline dotted;
  132. }
  133.  
  134. /* progress bar */
  135.  
  136. .expbar {
  137. background: none;
  138. border-radius: 0px;
  139. width: 80%;
  140. height: 7%;
  141. border: 1.5px solid #000;
  142. color: #000;
  143. >div {
  144. background: #fff;
  145. border-right: 1.5px solid #000;
  146. }
  147. }
  148.  
  149. /* panel */
  150.  
  151. .panel {
  152. Width: 90%;
  153. margin: auto;
  154. border-radius: 3px;
  155. box-shadow: none;
  156. border: 1px solid #000;
  157. &>h3 {
  158. color: #000;
  159. &>a {
  160. color: #000;
  161. text-decoration: none;
  162. }
  163. text-align: center;
  164. background: #fff;
  165. font-size: 14px;
  166. border-radius: 3px;
  167. border: 1px solid #000;
  168. }
  169. &>div {
  170. background: #fff;
  171. display: block;
  172. margin: 0;
  173. padding: 6px;
  174. color: #000;
  175. border: 1px solid #000;
  176. }
  177. }
  178.  
  179. table {
  180. border: none;
  181. padding: 4px;
  182. border-collapse: separate;
  183. width: 90%;
  184.  
  185. th, td {
  186. text-align: center;
  187. padding: 5px;
  188. border-radius: 0px;
  189. border: 1px solid #000;
  190. color: #000;
  191. }
  192. th {
  193. background-color: #000;
  194. color: #fff;
  195. }
  196. td {
  197. background-color: #fff;
  198. color: #000;
  199. }
  200. }
  201. table {
  202. margin: 0 auto;
  203. }
  204.  
  205. /* pkmn panel */
  206.  
  207. @platform-base: #fff;
  208. @platform-border: #000;
  209. @name-color: #000;
  210. @name-background: #fff;
  211. @name-border: #000;
  212. @berry-background: @col-flavour-up;
  213. @berry-border: #000;
  214. @display-item: block;
  215. @display-berries: block;
  216.  
  217. .party {
  218. display: inline-block;
  219. &,>div {
  220. padding: 0;
  221. margin: 0;
  222. background: transparent;
  223. width: 120px !important;
  224. height: 120px;
  225. overflow: hidden;
  226. border: none;
  227. border-radius: 0;
  228. box-shadow: none;
  229. }
  230. >div {
  231. &::after {
  232. display: none;
  233. }
  234. .pkmn {
  235. margin: 0 10px;
  236. float: unset;
  237. &::before {
  238. background-color: @platform-base;
  239. border-color: @platform-border;
  240. }
  241. .helditem {
  242. display: @display-item;
  243. .itemsprite {
  244. cursor: unset;
  245. }
  246. .tooltip_content {
  247. display: none;
  248. }
  249. }
  250. }
  251. .name {
  252. background-color: @name-background;
  253. border: 1px solid @name-border;
  254. border-radius: 5px;
  255. margin-top: 1px;
  256. height: 16px;
  257. display: flex;
  258. flex-wrap: nowrap;
  259. a {
  260. color: @name-color;
  261. text-shadow: 0px 0px 0px #00000000;
  262. font-weight: normal;
  263. margin: 0 2px;
  264. width: 80px !important;
  265. flex-grow: 99;
  266. font-size: 12px;
  267. text-decoration: none;
  268. }
  269. a:hover {
  270. transform: none;
  271. }
  272. img {
  273. display: none;
  274. }
  275. img:nth-last-of-type(-n+2) {
  276. display: inline;
  277. margin: 0;
  278. }
  279. }
  280. .action {
  281. display: @display-berries;
  282. position: absolute;
  283. left: 88px;
  284. top: 70px;
  285. height: unset;
  286. width: unset;
  287. .berrybuttons[data-up="any"]>a[data-berry="aspear"],
  288. .berrybuttons[data-up="sour"]>a[data-berry="aspear"],
  289. .berrybuttons[data-up="spicy"]>a[data-berry="cheri"],
  290. .berrybuttons[data-up="dry"]>a[data-berry="chesto"],
  291. .berrybuttons[data-up="sweet"]>a[data-berry="pecha"],
  292. .berrybuttons[data-up="bitter"]>a[data-berry="rawst"] {
  293. display: inline-block;
  294. }
  295. .berrybuttons {
  296. >a {
  297. display: none;
  298. width: 20px;
  299. height: 20px;
  300. line-height: 20px;
  301. padding: 5px;
  302. background-color: @berry-background;
  303. border-radius: 20px;
  304. >img {
  305. vertical-align: top;
  306. max-height: 20px;
  307. max-width: 20px;
  308. }
  309. }
  310. >a[data-berry="pecha"] img {
  311. /* this berry is short */
  312. margin-top: 1px;
  313. }
  314. }
  315. &.working {
  316. opacity: 0.5;
  317. }
  318. table, a[data-evolve] {
  319. /* "thank you" message and evolve button */
  320. display: none;
  321. }
  322. }
  323. .expbar, .taste, .extra {
  324. display: none;
  325. }
  326. }
  327. >div:hover>.action a[data-berry]:after {
  328. border-color: @berry-border;
  329. }
  330. }
  331.  
  332.  
  333. [/style]
Advertisement
Add Comment
Please, Sign In to add comment