snail-legs

25. stacks

Oct 17th, 2021
1,014
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="container" style="max-width: 650px;">
  2.   <!-- top image -->
  3.   <div class="card bg-default m-1" style="background-image: url(https://images.unsplash.com/photo-1526781100743-007e0dc2b474); background-size: cover; background-position: center; height: 75px;"></div>
  4.  
  5.   <!-- header  -->
  6.   <div class="card bg-default p-2 m-1">
  7.     <div>
  8.       <h1 style="display: inline;" class="text-primary">charcter name</h1>
  9.       <p class="text-secondary pl-1" style="display: inline; text-transform: uppercase;">pro/nouns</p>
  10.     </div>
  11.   </div>
  12.  
  13.   <!-- content -->
  14.   <div class="card bg-default p-2 m-1" style="max-height: 400px; overflow-y: auto;">
  15.     <div class="row no-gutters">
  16.        
  17.       <!-- the basics -->
  18.       <div class="col-md-5 p-1">
  19.         <p class="text-center mb-0 text-primary" style="text-transform: uppercase; border-bottom: 1px dotted #808080;">the basics</p>
  20.         <div class="card border-0 bg-faded p-1 pr-2 pl-2 mt-1"><p>
  21.              
  22.           <span class="text-secondary" style="float: left; text-transform: uppercase;">names</span>
  23.           <span style="float: right;">name, "nickname"</span>
  24.            
  25.         </p></div>
  26.         <div class="card border-0 bg-faded p-1 pr-2 pl-2 mt-1"><p>
  27.              
  28.           <span class="text-secondary" style="float: left; text-transform: uppercase;">pronouns</span>
  29.           <span style="float: right;">pro/nouns</span>
  30.            
  31.           </p>
  32.         </div>
  33.         <div class="card border-0 bg-faded p-1 pr-2 pl-2 mt-1"><p>
  34.            
  35.           <span class="text-secondary" style="float: left; text-transform: uppercase;">species</span>
  36.           <span style="float: right;">species</span>
  37.            
  38.         </p></div>
  39.         <div class="card border-0 bg-faded p-1 pr-2 pl-2 mt-1"><p>
  40.          
  41.           <span class="text-secondary" style="float: left; text-transform: uppercase;">theme song</span>
  42.           <span style="float: right;"><a href="#" style="text-decoration: underline;">songname, artist</a></span>
  43.          
  44.         </p></div>
  45.         <div class="card border-0 bg-faded p-1 pr-2 pl-2 mt-1"><p>
  46.            
  47.           <span class="text-secondary" style="float: left; text-transform: uppercase;">story</span>
  48.           <span style="float: right;">story name</span>
  49.          
  50.         </p></div>
  51.       </div>
  52.      
  53.       <!-- bio text -->
  54.       <div class="col-md-7 p-1">
  55.         <p class="text-center mb-0 text-primary" style="text-transform: uppercase; border-bottom: 1px dotted #808080;">biography</p>
  56.         <p>
  57.             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.
  58.         </p>
  59.         <p>
  60.             Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sollicitudin elit sed tellus blandit viverra sed eget odio.
  61.         </p>
  62.       </div>
  63.     </div>
  64.   </div>
  65.  
  66.   <!-- footer -->
  67.   <div class="card bg-default p-2 m-1">
  68.     <div>
  69.       <p class="text-secondary" style="text-align: right;">code by <a href="https://toyhou.se/snail-legs" style="text-decoration: underline;">snail-legs</a>,
  70.         images from <a href="https://unsplash.com/" style="text-decoration: underline;">unsplash</a>
  71.       </p>
  72.     </div>
  73.   </div>
  74.  
  75.   <!-- bottom image -->
  76.   <div class="card bg-default m-1" style="background-image: url(https://images.unsplash.com/photo-1526781100743-007e0dc2b474); background-size: cover; background-position: bottom; height: 75px;">
  77.   </div>
  78. </div>
RAW Paste Data