Advertisement
snail-legs

23. haunt

Oct 16th, 2021 (edited)
2,085
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.75 KB | None | 0 0
  1. <!-- container, sets text colour -->
  2. <div class="container" style="max-width: 850px; color: #A7D2F8;">
  3.   <!-- nested cards for double-border effect -->
  4.   <div class="card" style="background-color: #405478; border: 1px solid #FFFFFF;">
  5.     <div class="card p-2" style="border: 2px solid #FFFFFF; margin: 2px; background-color: #020C39;">
  6.        
  7.       <!-- header - contains character name and pronouns -->
  8.       <div class="card-header pb-0 mb-2" style="background: none; border-bottom: 2px solid #5B8CFA;">
  9.          
  10.         <!-- name -->
  11.         <h1 class="display-3" style="display: inline; text-shadow: 0px 0px 3px #2D72FF; color: #5CB2FF; font-family: 'Georgia', serif;"><b>
  12.             character name
  13.         </b></h1>
  14.        
  15.         <!-- pronouns -->
  16.         <p class="ml-2" style="text-transform: uppercase; display: inline;">
  17.             pro/nouns
  18.         </p>
  19.       </div>
  20.      
  21.       <!-- bio content -->
  22.       <div class="card-body">
  23.         <div class="row no-gutters">
  24.           <div class="col-md-5 p-1">
  25.              
  26.             <!-- header image - change 'background-image: url(URLHERE);' - you can adjust the crop using 'background-position: X Y;' -->
  27.             <div class="card border-0 mb-1" style="background-image: url(https://media.discordapp.net/attachments/730913454726316074/899048850516492408/vent_edit_small.png); background-size: cover; background-position: 50% 25%; height: 200px;"></div>
  28.            
  29.             <!-- info fields - if you add a lot of these it'll create a scrollbox! -->
  30.             <div style="max-height: 200px; overflow: auto;">
  31.               <div class="card border-0 p-1 pr-2 pl-2 mt-1" style="background-color: #112D5F;">
  32.                 <p>
  33.                   <span style="float: left; color: #5CB2FF; text-transform: uppercase;">names</span>
  34.                   <span style="float: right;">name, nicknames</span>
  35.                 </p>
  36.               </div>
  37.               <div class="card border-0 p-1 pr-2 pl-2 mt-1" style="background-color: #112D5F;">
  38.                 <p>
  39.                   <span style="float: left; color: #5CB2FF; text-transform: uppercase;">pronouns</span>
  40.                   <span style="float: right;">pro/nouns</span>
  41.                 </p>
  42.               </div>
  43.               <div class="card border-0 p-1 pr-2 pl-2 mt-1" style="background-color: #112D5F;">
  44.                 <p>
  45.                   <span style="float: left; color: #5CB2FF; text-transform: uppercase;">species</span>
  46.                   <span style="float: right;">species</span>
  47.                 </p>
  48.               </div>
  49.               <div class="card border-0 p-1 pr-2 pl-2 mt-1" style="background-color: #112D5F;">
  50.                 <p>
  51.                   <span style="float: left; color: #5CB2FF; text-transform: uppercase;">theme song</span>
  52.                   <span style="float: right;"><a href="#" style="color: #A7D2F8; text-decoration: underline;">songname, artist</a></span>
  53.                 </p>
  54.               </div>
  55.               <div class="card border-0 p-1 pr-2 pl-2 mt-1" style="background-color: #112D5F;">
  56.                 <p>
  57.                   <span style="float: left; color: #5CB2FF; text-transform: uppercase;">story</span>
  58.                   <span style="float: right;">story name</span>
  59.                 </p>
  60.               </div>
  61.              
  62.               <!-- code credit -->
  63.               <p class="text-center" style="color: #5CB2FF;">code by <a href="https://toyhou.se/snail-legs" style="color: #5CB2FF; text-decoration: underline;">snail-legs</a></p>
  64.             </div>
  65.           </div>
  66.          
  67.           <!-- main text/bio -->
  68.           <div class="col-md-7 p-1">
  69.             <div class="card border-0 bg-default p-1 pr-2 pl-2" style="max-height: 400px; overflow: auto; background-color: #112D5F;">
  70.                
  71.               <h4 style="text-shadow: 0px 0px 2px #2D72FF; color: #5CB2FF;"><i class="fas fa-tombstone fa-sm"></i> summary</h4>
  72.               <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sollicitudin elit sed tellus blandit viverra sed eget odio. Donec accumsan tempor lacus, et venenatis elit feugiat non. Duis porta eros et velit blandit dapibus. Curabitur ac finibus eros. Duis placerat velit vitae massa sodales, eget mattis nibh pellentesque.</p>
  73.              
  74.               <h4 style="text-shadow: 0px 0px 2px #2D72FF; color: #5CB2FF;"><i class="fas fa-tombstone fa-sm"></i> background</h4>
  75.               <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sollicitudin elit sed tellus blandit viverra sed eget odio. Donec accumsan tempor lacus, et venenatis elit feugiat non. Duis porta eros et velit blandit dapibus. Curabitur ac finibus eros. Duis placerat velit vitae massa sodales, eget mattis nibh pellentesque.</p>
  76.              
  77.               <h4 style="text-shadow: 0px 0px 2px #2D72FF; color: #5CB2FF;"><i class="fas fa-tombstone fa-sm"></i> personality</h4>
  78.               <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sollicitudin elit sed tellus blandit viverra sed eget odio. Donec accumsan tempor lacus, et venenatis elit feugiat non. Duis porta eros et velit blandit dapibus. Curabitur ac finibus eros. Duis placerat velit vitae massa sodales, eget mattis nibh pellentesque.</p>
  79.             </div>
  80.           </div>
  81.         </div>
  82.       </div>
  83.     </div>
  84.   </div>
  85.  
  86.   <!-- pagedoll - you'll probably have to fiddle with the 'bottom' and 'right' style attributes to get the placement just right, especially if you don't want it to block too much text,, shouldn't be visible on mobile -->
  87.   <img src="https://cdn.discordapp.com/attachments/730913454726316074/899045199773335622/vent_ghost_boy.png" style="width: 170px; position: absolute; bottom: -75px; right: -20px; transform: rotate(10DEG); color: #FFFFFF;" class="d-none d-sm-block">
  88. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement