Jade-Everstone

folder feature (CQ August 2023)

Aug 23rd, 2023 (edited)
988
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.47 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2.  
  3. <!--Rules:
  4.  
  5. Folder Feature
  6. For the Coders Quarters August 2023 challenge
  7. Layout provided by Togo: https://toyhou.se/Togo
  8.  
  9. You may
  10. -frankenstein with other codes (as long as the creator of said code allows it)
  11. -edit/change as much as you need (example: making character codes into user codes, vice-versa)
  12.  
  13. You may not
  14. -Redistribute, resell, and/or claim its yours
  15. -Remove credit (you're allowed to move & edit it though, just keep it visible)
  16.  
  17. Misc Notes:
  18. -When editing, remember to turn WYSIWYG off! My codes may break otherwise
  19. -Some basic html knowledge is recommended for editing
  20.  
  21. Default Colors:
  22. - background div: bg-dark
  23. - Image backgrounds: bg-secondary
  24. - Accents: bg-primary
  25.  
  26. Change the colors: Ctrl+f and search for the color you want to change.
  27.  
  28. -->
  29.  
  30. <div class="mx-auto" style="max-width:1000px;">
  31.    
  32.    
  33.     <!-- /// MAIN BODY /// -->
  34.     <div class="p-2 mb-1 bg-dark" style="box-shadow:2px 2px 3px rgba(0,0,0,0.5)">
  35.        
  36.         <div class="row no-gutters">
  37.            
  38.             <!-- /// RIGHT IMAGE /// -->
  39.             <div class="col-lg-3 d-sm-none d-lg-block">
  40.                
  41.                 <!--image
  42.                Note - this section hides on mobile -->
  43.                 <div class="" style="height:375px;box-shadow:inset 0px 0px 7px rgba(0,0,0,0.5);
  44.                    background-image:url( );
  45.                    background-size:cover;
  46.                    background-position:center">
  47.                    
  48.                     <!--image credit-->
  49.                     <div style="position:relative;left:5px;">
  50.                         <a href="#" data-toggle="tooltip" title="img - credit" style="color:#ffffff;text-shadow:1px 1px 3px rgba(0,0,0,0.5);font-size:20px" target="_blank">
  51.                             <i class="fa-solid fa-image"></i>
  52.                         </a>
  53.                     </div>
  54.                    
  55.                 </div>
  56.                
  57.             </div>
  58.             <!-- /// END RIGHT IMAGE /// -->
  59.            
  60.            
  61.             <!-- /// MAIN TEXT /// -->
  62.             <div class="col-sm-8 col-lg-6">
  63.                
  64.                 <div class="card border-0 rounded-0 p-2" style="height:375px">
  65.                    
  66.                     <!--header-->
  67.                     <h1 style="font-size:3em">
  68.                         <i class="fa-duotone fa-folder-open"></i> Folder Title
  69.                     </h1>
  70.                     <div class="bg-primary mb-2" style="height:5px"></div>
  71.                    
  72.                     <!--genres, content warnings, misc. tags-->
  73.                     <div class="mb-2 text-primary" style="font-size:1.25em">
  74.                         Genre /
  75.                         <i class="fa-duotone fa-triangle-exclamation"></i> Content warnings /
  76.                         etc.
  77.                     </div>
  78.                    
  79.                     <!--info-->
  80.                     <div class="card-body p-2 table-responsive">
  81.                        
  82.                         <p>This section scrolls</p>
  83.                        
  84.                         <p>Folder/story info: 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>
  85.                        
  86.                     </div>
  87.                 </div>
  88.                
  89.             </div>
  90.             <!-- /// END MAIN TEXT /// -->
  91.            
  92.            
  93.             <!-- /// FEATURED CHARACTER /// -->
  94.             <div class="col-sm-4 col-lg-3">
  95.                
  96.                 <!--header-->
  97.                 <div class="bg-primary text-white p-2 d-flex align-items-center justify-content-center" style="min-height:50px;text-align:center">
  98.                     <h2>Featured character</h2>
  99.                 </div>
  100.                
  101.                
  102.                 <!--character image-->
  103.                 <div class="bg-secondary" style="min-height:275px;box-shadow:inset 0px 0px 7px rgba(0,0,0,0.5);
  104.                    background-image:url( );
  105.                    background-size:cover;
  106.                    background-position:center">
  107.                    
  108.                     <!--image credit-->
  109.                     <div style="position:absolute;right:5px;">
  110.                         <a href="#" data-toggle="tooltip" title="img - credit" style="color:#ffffff;text-shadow:1px 1px 3px rgba(0,0,0,0.5);font-size:20px" target="_blank">
  111.                             <i class="fa-solid fa-image"></i>
  112.                         </a>
  113.                     </div>
  114.                    
  115.                 </div>
  116.                
  117.                 <!--Character link-->
  118.                 <div class="bg-primary p-2 d-flex align-items-center justify-content-center" style="min-height:50px;text-align:center">
  119.                     <a href="#" class="text-white">
  120.                         <h2>Character Name</h2>
  121.                     </a>
  122.                 </div>
  123.                
  124.             </div>
  125.             <!-- /// FEATURED CHARACTER /// -->
  126.            
  127.         </div>
  128.        
  129.     </div>
  130.     <!-- /// END MAIN BODY /// -->
  131.    
  132.    
  133.     <!--Credit. You may move it, but please do not delete/remove-->
  134.     <p>HTML by <a href="#"><i class='fa-solid fa-heart'></i> Jade-Everstone</a> // Layout by <a href="https://toyhou.se/Togo">Togo</a></p>
  135.    
  136. </div>
Advertisement
Add Comment
Please, Sign In to add comment