Advertisement
mochiroll

Cradle.of.Desire.IC.Post

Feb 17th, 2024
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 KB | None | 0 0
  1. [comment]
  2. Designed and coded by [USER=20950]@Nano[/USER].
  3.  
  4. Please do not remove the credits or claim the code as your own work.
  5.  
  6. If you found this code outside of my public workshop, please don't use it.
  7. I'd greatly appreciate it if you used the version of the code in that thread.
  8. If this code is not in the thread, that means I currently DO NOT wish for it to be used by other people.
  9.  
  10. [font=Fleur De Leah]cursive[/font]
  11. [font=Nunito]sans-serif[/font]
  12.  
  13. [/comment][div=
  14.  
  15. /* <--------------------------------- general accents ---------------------------------> */
  16.  
  17. /* colors */
  18. --Color01: #ccb4d3;
  19. --Color02: #acc8f4;
  20. --Color03: #faf1ab;
  21. --Black: #555555;
  22. --White: #fefefe;
  23.  
  24. /* fonts */
  25. --TitleSize: 6.0em;
  26. --HeaderFont: 'Fleur De Leah', cursive;
  27. --HeaderSize: 3.5em;
  28. --BodyFont: 'Nunito', sans-serif;
  29. --BodySize: .9em;
  30.  
  31. /* <--------------------------------- images ---------------------------------> */
  32. --mainIMG: url('https://i.imgur.com/kTfIaHV.png') center/auto 100% no-repeat;
  33. --backgroundIMG: url('https://i.imgur.com/rDJ2piR.jpg') repeat;
  34. --Constellation: url('https://i.imgur.com/VAbvfML.png') right bottom/contain no-repeat;
  35.  
  36. /* <--------------------------------- shell (don't touch) ---------------------------------> */
  37.  
  38. margin: 0 auto;
  39. width: 100%;
  40. min-width: 300px;
  41. background: var(--backgroundIMG);
  42. font-size: initial;
  43. overflow: hidden;
  44. position: relative;][comment]
  45.  
  46. ---------- start of background ---------- >
  47.  
  48. [/comment][div=border-radius: 50%; width: 600px; aspect-ratio: 1; background-image: linear-gradient(145deg, var(--Color01), var(--Color02)); position: absolute; left: 50%; top: 100px; transform: translateX(-50%);][/div][div=width: 100%; background: var(--mainIMG); height: 600px; position: absolute; top: -50px;][/div][comment]
  49.  
  50. < ---------- end of background ----------
  51.  
  52. [/comment][comment]
  53.  
  54. ---------- start of title wrapper ---------- >
  55.  
  56. [/comment][div=margin: 0 auto; width: 90%; height: 550px; display: flex; justify-content: center; align-items: center; position: relative;][div=font-size: initial; position: relative;][comment]
  57.  
  58. -------------------- start of main title -------------------- >
  59.  
  60. [/comment][div=font-family: var(--HeaderFont); font-size: var(--TitleSize); line-height: 50%; color: var(--White); text-transform: lowercase; -webkit-text-stroke: 1px var(--Black); text-stroke: 1px var(--Black);
  61.  
  62.  
  63.  
  64.  
  65. /* title here -> */]Cradle of Desire[/div][comment]
  66.  
  67. < -------------------- end of main title --------------------
  68.  
  69. [/comment][comment]
  70.  
  71. -------------------- start of sub title -------------------- >
  72.  
  73. [/comment][div=padding: 4px 7px; font-family: var(--BodyFont); font-size: var(--BodySize); line-height: 100%; color: var(--Black); text-transform: uppercase; background: var(--Color03); position: absolute; right: 5px; bottom: -27px;
  74.  
  75.  
  76.  
  77.  
  78. /* subtitle here -> */]Scene 001[/div][comment]
  79.  
  80. < -------------------- end of sub title --------------------
  81.  
  82. [/comment][/div][/div][comment]
  83.  
  84. < ---------- end of title wrapper ----------
  85.  
  86. [/comment][comment]
  87.  
  88. ---------- start of post content box ---------- >
  89.  
  90. [/comment][div=margin: -125px auto 75px; border-radius: 10px; width: 100%; max-width: 700px; background: var(--Color03); position: relative;][div=margin-left: 7px; padding: min(10%, 50px); border-radius: 10px; width: calc(100% - 7px); background: var(--White); font-family: var(--BodyFont); font-size: var(--BodySize); line-height: 150%; color: var(--Black); text-align: justify; position: relative; overflow: hidden; box-sizing: border-box;
  91.  
  92.  
  93.  
  94.  
  95. /* write text here -> */]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vitae tellus neque. Curabitur a felis placerat, dapibus libero in, sodales tellus. Nulla facilisi. Nullam non purus eu justo fermentum ornare at eu eros. Quisque aliquet justo ut dui ornare mollis. [div=display: inline; color: var(--Color01); font-weight: 700;]"Nullam at congue lacus, et ornare ante. Cras dignissim eros nec ex gravida, sed consectetur augue imperdiet."[/div] Nulla faucibus dui at metus lobortis, quis molestie ligula lobortis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at placerat mauris. Nam at placerat elit. Phasellus nisl erat, cursus sed erat at, porttitor malesuada dolor. Etiam placerat sagittis dolor, quis posuere ipsum venenatis a. Pellentesque ut lectus nec mi tincidunt pulvinar. Duis at sollicitudin eros.
  96.  
  97. Fusce gravida at mauris non sollicitudin. Nullam eu odio at eros auctor mollis vitae sed dui. Sed bibendum diam quis augue gravida, nec placerat ligula gravida. Nulla eget ipsum nec arcu mollis consectetur vitae et nulla. Cras suscipit, odio vel laoreet gravida, sem arcu dapibus nulla, sit amet tristique nulla mi et lorem. Donec vitae lectus sapien. Fusce vehicula eu erat efficitur facilisis. Aliquam euismod lobortis turpis, non luctus nulla malesuada eget. Nunc accumsan pellentesque sapien, et varius ex molestie a. Quisque vel ornare neque. Nam sapien urna, placerat sed nulla accumsan, sodales euismod lacus. Nam laoreet, ipsum pretium sollicitudin volutpat, nisl nibh posuere est, eget fermentum sapien turpis nec dui. Quisque et sapien dictum est facilisis iaculis id nec nulla.[comment]
  98.  
  99. -------------------- start of decor -------------------- >
  100.  
  101. [/comment][div=background: var(--Constellation); opacity: .05; width: 75%; aspect-ratio: 2/1; position: absolute; bottom: -25px; right: -15px;][/div][comment]
  102.  
  103. < -------------------- end of decor --------------------
  104.  
  105. [/comment][/div][/div][comment]
  106.  
  107. < ---------- end of post content box ----------
  108.  
  109. [/comment][/div][comment]
  110.  
  111. ---------- start of credits ---------- >
  112.  
  113. [/comment][border=0; padding: 0; margin-top: 5px; width: 100%; font-family: var(--mainfont); font-size: .6em; line-height: 100%; text-align: center; text-transform: uppercase; opacity: .6;]Code by Nano[comment][USER=20950]@Nano[/USER][/comment][/border][comment]
  114.  
  115. < ---------- end of credits ----------
  116.  
  117. [/comment]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement