Advertisement
LeafJelly

Small Decorative Code - Night Sky Theme - IMG BG - Short

Nov 1st, 2022 (edited)
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.94 KB | None | 0 0
  1. <!----------------------------
  2. Free to Use Small Decorative Code
  3. Night Sky Theme - Short Version
  4. IMG/Pattern Background
  5. by LeafJelly
  6.  
  7. Short Version: Mood board ONLY
  8.  
  9. Hex Codes
  10. Background 1: #00001C
  11. Background 2: #242E75
  12. Symbol: #E7EDFF
  13. Symbol 2: #B1C2F3
  14. Font: #9EBEE7
  15.  
  16. Customization
  17. fas - is the symbol weight s=solid r=regular l-light t=thin d=duotone
  18. fa-symbol changes what the symbol is using the names found here https://fontawesome.com/ search for the symbols you want here adn replace the name with it.
  19. transform:rotate(#deg) - Rotates Symbols
  20. margin: #px #px - changes the positon of the symbol in Y X order. -Y moves up -X moves left. +Y moves down +X moves right.
  21. ---------------------------->
  22. <div class="container col-md-8 col-lg-3 my-4 p-1">
  23.  
  24. <!-----Background Image----------->
  25. <div class="card col-12 border-0 mt-4 p-2" style="height:280px; min-width:380px; background:#00001C; border-radius:.6em;
  26. background:url(
  27. https://gifcity.carrd.co/assets/images/gallery128/1fc3f893.png?v=d32b0bb8
  28. ) center;">
  29.  
  30. <div class="text-center" >
  31. <!----------Decorations Left Side------------>
  32. <i class="fas fa-moon" style="position:absolute; margin:-45px -140px; font-size:60px; transform:rotate(-10deg); color:#B1C2F3;"></i>
  33. <i class="fas fa-star" style="position:absolute; margin:-25px -45px; font-size:30px; transform:rotate(-10deg); color:#B1C2F3"></i>
  34. <i class="fas fa-star" style="position:absolute; margin:20px -80px; font-size:15px; transform:rotate(30deg); color:#E7EDFF"></i>
  35. <i class="fas fa-star" style="position:absolute; margin:50px -20px; font-size:10px; transform:rotate(20deg); color:#E7EDFF"></i>
  36.  
  37. <!-----------Character Image Must be a Square Image------------->
  38. <img src="https://f2.toyhou.se/file/f2-toyhou-se/characters/16492558?1654705611"
  39. class="rounded-circle p-2 mb-1" style="height:120px; width:120px; margin-top:-50px; background:#00001C;background-attachment:fixed;
  40.  
  41. background:url(
  42. https://gifcity.carrd.co/assets/images/gallery128/1fc3f893.png?v=d32b0bb8
  43. ) center; background-attachment:fixed ">
  44. <!----------Decorations Right Side------------>
  45. <i class="fas fa-star" style="position:absolute; margin:-25px 5px; font-size:30px; transform:rotate(10deg); color:#B1C2F3"></i>
  46. <i class="fas fa-star" style="position:absolute; margin:20px 50px; font-size:15px; ; transform:rotate(-30deg); color:#E7EDFF"></i>
  47. <i class="fas fa-star" style="position:absolute; margin:50px 0px; font-size:10px; ; transform:rotate(-20deg); color:#E7EDFF"></i>
  48. <i class="fas fa-sun" style="position:absolute; margin:-30px 105px; font-size:50px; transform:rotate(-15deg); color:#B1C2F3"></i>
  49.  
  50.  
  51. </div>
  52.  
  53. <!-----------Content Box------------->
  54. <div class="card col-0 px-1 m-0 text-center" style="height:210px; overflow:hidden; font-size:12px; background:#242E75; color:#D8DEF0;">
  55. <p class="my-auto" style="color:#9EBEE7; font-size:13px">
  56. Name · Age · Pro/nouns
  57. <br>Gender · Race/Species · Occupation
  58. </p>
  59. <div class="col-auto m-1 mb-2 mx-auto p-0" style="border-bottom:1px solid #9EBEE7;width:100%;"></div>
  60.  
  61.  
  62. <!--------Mood Board Replace the URLS ------------>
  63. <div class="row no-gutters pb-1">
  64. <div class="col-4 pr-1 border-0" style="height:130px">
  65. <div class="h-100" style="background-position:center;background-size:cover;
  66. background-image:url(
  67.  
  68. https://media.tenor.com/rDWAbi_iMRwAAAAC/moon-anime.gif
  69.  
  70. )"></div>
  71. </div>
  72.  
  73. <div class="col-4 pr-1 border-0" style="height:130px">
  74. <div class="h-100" style="background-position:center;background-size:cover;
  75. background-image:url(
  76.  
  77. https://media.tenor.com/R7pAjG0dShUAAAAC/80s-anime.gif
  78.  
  79. )"></div>
  80. </div>
  81.  
  82. <div class="col-4 pr-1 border-0" style="height:130px">
  83. <div class="h-100" style="background-position:center;background-size:cover;
  84. background-image:url(
  85.  
  86. https://i.pinimg.com/originals/de/2e/2b/de2e2b6717d388a9a82737d23c1bf1e2.gif
  87.  
  88. )"></div>
  89. </div>
  90. </div>
  91.  
  92. </div>
  93. </div>
  94. <!---------Decorations at the bottom left--------------->
  95. <i class="fas fa-star" style="position:absolute; margin:-20px -20px; font-size:30px;transform:rotate(-10deg); color:#B1C2F3"></i>
  96.  
  97. <div class="text-center" >
  98. <!---------Credit do not remove--------------->
  99. <a href="/LeafJelly" title="HTML by LeafJelly" style="color:#B1C2F3"></i> <i class="fas fa-stars"></i></a>
  100.  
  101. <!---------Decorations at the bottom right--------------->
  102. <i class="fas fa-star" style="position:absolute; margin:-20px 170px; font-size:30px;transform:rotate(10deg); color:#B1C2F3"></i>
  103. </div>
  104. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement