Advertisement
soxxx

011 - light

Dec 8th, 2024 (edited)
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.83 KB | None | 0 0
  1. [comment]code by sox
  2.  
  3. [font=Spline Sans Mono]titles[/font]
  4. [font=Thasadith]body[/font]
  5.  
  6. [/comment][div=height:auto; width:100%; overflow-x:auto; overflow-y:hidden;
  7.  
  8. /*---- COLORS: choose your palette! updating the color names as you go will make life easier ----*/
  9. --accent0: #fff; /*white*/
  10. --accent1: #000; /*black*/
  11. --accent2: #ccddeb; /*blue*/
  12. --accent4: #d696a8; /*pink*/
  13. --accent5: #1e2423; /*dark gray teal*/
  14. --accent6: #5f6e6b; /*gray teal*/
  15.  
  16.  
  17.  
  18. /*---- VALUES: things to customize! color assignments, text sizes, etc. ----*/
  19. --canvas: ; /*container color for whole code including overflow elements; empty by default*/
  20. --border0: 2px solid var(--accent1); /*main border style & color*/
  21. --framebkgd: var(--accent0); /*grid frame bkgd color*/
  22.  
  23. /*bottom right quadrant*/
  24. --2Bbkgd: var(--accent2); /*bkgd color*/
  25. --text: var(--accent6); /*text color*/
  26.  
  27. /*title text & icon*/
  28. --titlecolor: var(--accent5); /*text color*/
  29. --titleiconcolor: var(--accent4);
  30. --titlesize: 12px; /*font size*/
  31. --titlelh: 12px; /*line height*/
  32.  
  33. /*intro text*/
  34. --introcolor: var(--text); /*text color*/
  35. --introsize: 8px; /*font size*/
  36. --introlh: 8px; /*line height*/
  37.  
  38. /*role & faceclaim details*/
  39. --detailcolor: var(--accent6); /*text color*/
  40. --detailtagcolor: var(--accent4); /*tag color*/
  41. --detailstroke: 0px var(--accent1); /*stroke style & color - optional*/
  42. --detailsize: 8px; /*font size*/
  43. --detaillh: 9px; /*line height*/
  44. --detailspacing: 0.5px; /*letter spacing*/
  45.  
  46. /*floating quotes*/
  47. --quotecolor: var(--accent4); /*text color*/
  48. --quotestroke: 5px var(--accent0); /*stroke style & color*/
  49. --quotesize: 12px; /*font size*/
  50. --quotelh: 19px; /*line height*/
  51.  
  52. /*corner icon decorations*/
  53. --decocolor: var(--accent5); /*text color*/
  54. --decostroke: 3px var(--accent0); /*stroke style & color*/
  55.  
  56. /*top left large icon*/
  57. --1ALGsize: 60px; /*font size*/
  58. --1ALGlh: 50px; /*line height*/
  59. --1ALGtilt: rotate(-10deg); /*tilt angle*/
  60.  
  61. /*top left small icon*/
  62. --1ASMsize: 30px; /*font size*/
  63. --1ASMlh: 30px; /*line height*/
  64. --1ASMtilt: rotate(-55deg); /*tilt angle*/
  65.  
  66. /*bottom right large icon*/
  67. --2BLGsize: 50px; /*font size*/
  68. --2BLGlh: 50px; /*line height*/
  69. --2BLGtilt: rotate(-10deg); /*tilt angle*/
  70.  
  71. /*bottom right small icon*/
  72. --2BSMsize: 18px; /*font size*/
  73. --2BSMlh: 30px; /*line height*/
  74. --2BSMtilt: rotate(30deg); /*tilt angle*/
  75.  
  76.  
  77.  
  78. /*---- PICS ----*/
  79. --texturebkgd: url('https://i.imgur.com/ysrbXhk.jpeg'); /*texture bkgd picture*/
  80. --textureposition: 50% 50%; /*positioning*/
  81.  
  82. --mainpic: url('https://i.imgur.com/eyaJ0BZ.jpeg'); /*character picture*/
  83. --mainpicposition: 50% 50%; /*positioning*/
  84.  
  85. --aestheticpic1B: url('https://i.imgur.com/2bQfVXT.jpeg'); /*top right aesthetic picture*/
  86. --aesthetic1Bposition: 50% 50%; /*positioning*/
  87.  
  88. --aestheticpic2A: url('https://i.imgur.com/ks4QOYG.jpeg'); /*bottom left aesthetic picture*/
  89. --aesthetic2Aposition: 50% 50%; /*positioning*/
  90.  
  91.  
  92.  
  93. /*---- FONTS ----*/
  94. --font1: 'Spline Sans Mono', sans-serif; /*titles text*/
  95. --font2: 'Thasadith', sans-serif; /*intro blurb text*/
  96.  
  97.  
  98.  
  99.  
  100. ][div=margin:auto; position:relative; width:400px; height:400px; margin-top:10px; margin-bottom:10px; background:var(--canvas); box-sizing:border-box; overflow:hidden; cursor: url(https://imgur.com/5ex8RXq.png), auto;][nobr]
  101.  
  102. [comment]---- background texture ----[/comment]
  103. [div=position:absolute; left:10px; top:10px; width:380px; height:380px; background:var(--texturebkgd); background-size:cover; background-position:var(--textureposition); border: var(--border0); box-sizing:border-box;][/div]
  104.  
  105. [comment]---- frame ----[/comment]
  106. [div=position:absolute; left:25px; top:25px; width:350px; height:350px; background:var(--framebkgd); border: var(--border0); box-sizing:border-box;][/div]
  107.  
  108.  
  109. [comment]---- quadrants start ----
  110.  
  111. QUANDRANT LABELS for reference:
  112.  
  113. 1A | 1B
  114. ———
  115. 2A | 2B
  116.  
  117. ------------- [/comment]
  118. [div=position:absolute; left:45px; top:45px; width:310px; height:310px; box-sizing:border-box; overflow:hidden; display:grid; grid-template-rows: repeat(2, minmax(150px, 1fr)); grid-template-columns: 150px 1fr; grid-template-areas: "a b" "c d"; grid-gap: 10px; scroll-snap-align:start;]
  119.  
  120. [comment]---- 1A: character pic ----[/comment]
  121. [div=grid-area:a; border:var(--border0); box-sizing:border-box; background:var(--mainpic); background-size:cover; background-position:var(--mainpicposition);][/div]
  122.  
  123.  
  124. [comment]---- 1B: top aesthetic pic ----[/comment]
  125. [div=grid-area:b; border:var(--border0); box-sizing:border-box; background:var(--aestheticpic1B); background-size:cover; background-position:var(--aesthetic1Bposition);][/div]
  126.  
  127.  
  128. [comment]---- 2A: bottom aesthetic pic ----[/comment]
  129. [div=grid-area:c; border:var(--border0); box-sizing:border-box; background:var(--aestheticpic2A); background-size:cover; background-position:var(--aesthetic2Aposition);][/div]
  130.  
  131.  
  132. [comment]---- 2B: text section start ----[/comment]
  133. [div=grid-area:d; border:var(--border0); box-sizing:border-box; background:var(--2Bbkgd); background-size:cover; background-position:50% 50%;]
  134.  
  135. [comment]---- character icon ----[/comment]
  136. [div=position:absolute; top:190px; width:148px; height:12px; font-family:var(--font1); font-size:var(--titlesize); line-height:var(--titlelh); text-align:center; text-transform:uppercase; color:var(--titleiconcolor); font-weight:bold; overflow:hidden;][comment]
  137.  
  138.  
  139. ---- CHARACTER ICON HERE ----
  140. [/comment][fa]fas fa-seedling[/fa][/div]
  141.  
  142.  
  143. [comment]---- character name ----[/comment]
  144. [div=position:absolute; top:210px; width:148px; height:12px; font-family:var(--font1); font-size:var(--titlesize); line-height:var(--titlelh); text-align:center; text-transform:uppercase; color:var(--titlecolor); font-weight:bold; overflow:hidden;][comment]
  145.  
  146.  
  147. ---- CHARACTER NAME HERE ----
  148. [/comment]cha hakyeon.[/div]
  149.  
  150.  
  151. [comment]---- character intro ----[/comment]
  152. [div=position:absolute; left:160px; top:230px; width:120px; height:70px; padding:0px 15px 0px 15px; font-family:var(--font2); font-size:var(--introsize); line-height:var(--introlh); text-align:justify; text-align-last:center; text-transform:lowercase; color:var(--introcolor); font-weight:bold; overflow:hidden;][comment]
  153.  
  154.  
  155. ---- CHARACTER INTRO HERE: (may appear off-center in preview mode) ----
  156. [/comment]a brief quote or informative blurb about the character, however specific or vague, to introduce them to our hand-woven world.
  157.  
  158.  
  159. [/div][/div][comment]---- 2B text section end----[/comment]
  160. [/div][comment]---- quadrants end ----[/comment]
  161.  
  162.  
  163.  
  164.  
  165. [comment]---- border details start ----[/comment]
  166. [comment]---- role/title start ----[/comment]
  167.  
  168. [div=position:absolute; right:0px; top:-0.2px; width:300px; height:9px; padding-right:11px; font-family:var(--font1); font-size:var(--detailsize); line-height:var(--detaillh); text-align:right; text-transform:uppercase; color:var(--detailtagcolor); font-weight:bold; letter-spacing:var(--detailspacing); overflow:hidden; -webkit-text-stroke:var(--detailstroke); paint-order:stroke fill;][comment]
  169.  
  170.  
  171. ---- ROLE/TITLE TAG HERE ----
  172. [/comment]role:
  173.  
  174.  
  175. [div=display:inline; color:var(--detailcolor);][comment]
  176.  
  177.  
  178. ---- ROLE/TITLE HERE ----
  179. [/comment]the leader
  180.  
  181.  
  182. [/div][/div]
  183. [comment]---- role/title end ----[/comment]
  184. [comment]---- faceclaim start ----[/comment]
  185.  
  186. [div=position:absolute; left:0px; bottom:-1px; width:300px; height:9px; padding-left:11px; font-family:var(--font1); font-size:var(--detailsize); line-height:var(--detaillh); text-align:left; text-transform:uppercase; color:var(--detailtagcolor); font-weight:bold; letter-spacing:var(--detailspacing); overflow:hidden; -webkit-text-stroke:var(--detailstroke); paint-order:stroke fill;][comment]
  187.  
  188.  
  189. ---- FACECLAIM TAG HERE ----
  190. [/comment]fc:
  191.  
  192.  
  193. [div=display:inline; color:var(--detailcolor);][comment]
  194.  
  195.  
  196. ---- FACECLAIM NAME HERE ----
  197. [/comment]name here
  198.  
  199.  
  200. [/div][/div]
  201. [comment]---- faceclaim end ----[/comment]
  202. [comment]---- border details end----[/comment]
  203.  
  204.  
  205.  
  206.  
  207. [comment]---- decorations start ----[/comment]
  208. [comment]---- quotes start ----[/comment]
  209.  
  210. [comment]---- 1B: quote ----[/comment]
  211. [div=position:absolute; right:0px; top:155px; width:200px; height:44px; padding-right:3px; font-family:var(--font1); font-size:var(--quotesize); line-height:var(--quotelh); text-align:right; text-transform:uppercase; color:var(--quotecolor); font-weight:bold; overflow:hidden; -webkit-text-stroke:var(--quotestroke); paint-order: stroke fill;][comment]
  212.  
  213.  
  214. ---- 1B QUOTE HERE ----
  215. [/comment]are we [I]nothing[/I] at all?[/div]
  216.  
  217.  
  218. [comment]---- 2A: quote ----[/comment]
  219. [div=position:absolute; left:0px; top:225px; width:200px; height:44px; padding-left:3px; font-family:var(--font1); font-size:var(--quotesize); line-height:var(--quotelh); text-align:left; text-transform:uppercase; color:var(--quotecolor); font-weight:bold; overflow:hidden; -webkit-text-stroke:var(--quotestroke); paint-order: stroke fill;][comment]
  220.  
  221.  
  222. ---- 2A QUOTE HERE ----
  223. [/comment][I]ill-fated[/I] to the end...[/div]
  224.  
  225.  
  226. [comment]---- quotes end----[/comment]
  227. [comment]---- 1A: icons start ----[/comment]
  228.  
  229. [comment]---- big heart ----[/comment][div=position:absolute; left:25px; top:-3px; width:50px; height:50px; font-family:var(--font1); font-size:var(--1ALGsize); line-height:var(--1ALGlh); text-align:center; color:var(--decocolor); overflow:hidden; -webkit-text-stroke:var(--decostroke); paint-order: stroke fill; transform:var(--1ALGtilt);][comment]
  230.  
  231.  
  232. ---- LARGE ICON HERE ----
  233. [/comment]♡[/div]
  234.  
  235.  
  236. [comment]---- little heart ----[/comment][div=position:absolute; left:15px; top:30px; width:30px; height:30px; font-family:var(--font1); font-size:var(--1ASMsize); line-height:var(--1ASMlh); text-align:center; color:var(--decocolor); overflow:hidden; -webkit-text-stroke:var(--decostroke); paint-order: stroke fill; transform:var(--1ASMtilt);][comment]
  237.  
  238.  
  239. ---- SMALL ICON HERE ----
  240. [/comment]♡[/div]
  241.  
  242.  
  243. [comment]---- 1A: icons end----[/comment]
  244. [comment]---- 2B: icons start ----[/comment]
  245.  
  246. [comment]---- big flower----[/comment][div=position:absolute; left:325px; top:351px; width:50px; height:60px; font-family:var(--font1); font-size:var(--2BLGsize); line-height:var(--2BLGlh); text-align:center; color:var(--decocolor); overflow:hidden; -webkit-text-stroke:var(--decostroke); paint-order: stroke fill; transform:var(--2BLGtilt);][comment]
  247.  
  248.  
  249. ---- LARGE ICON HERE ----
  250. [/comment]❀[/div]
  251.  
  252.  
  253. [comment]---- little flower----[/comment][div=position:absolute; left:358px; top:338px; width:30px; height:30px; font-family:var(--font1); font-size:var(--2BSMsize); line-height:var(--2BSMlh); text-align:center; color:var(--decocolor); overflow:hidden; -webkit-text-stroke:var(--decostroke); paint-order: stroke fill; transform:var(--2BSMtilt);][comment]
  254.  
  255.  
  256. ---- SMALL ICON HERE ----
  257. [/comment]ꕥ[/div]
  258.  
  259.  
  260. [comment]---- 2B: icons end ----[/comment]
  261. [comment]---- decorations end ----[/comment]
  262. [/nobr][/div][/div]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement