Advertisement
NecromancerCoding

Edge Of Sleep Thread Template

Oct 12th, 2019
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.88 KB | None | 0 0
  1. <div class="edge">
  2. <div class="eheader">
  3. <h1>título del</h1>
  4. <div class="eimg" style="background-image:url(https://placehold.it/100);">
  5. </div>
  6. <span>tema aquí</span>
  7. </div>
  8. <div class="ebody">
  9. <div class="etext">
  10. Texto aquí.
  11. </div>
  12. <div class="esubtitle">Datos del tema</div>
  13. </div>
  14. </div>
  15. <a href="https://necromancercoding.tumblr.com/" class="ncredit">NC</a>
  16. <style>.edge { --bckg-1: linear-gradient(#83b5c6, #3b669c); --bckg-2: #111; --bckg-3: #fafafa; --accent-1: #3b669c; --accent-2: #83b5c6; --txt-1: #333; --txt-2: #fff; }</style>
  17. <link href="https://fonts.googleapis.com/css?family=Abril+Fatface&display=swap&subset=latin-ext" rel="stylesheet"/>
  18. <style> .edge { background: var(--bckg-1); width: 300px; margin: 0 auto; padding: 50px; } .eheader { background: var(--bckg-2); height: 50px; display: flex; align-items: center; justify-content: center; position: relative; } .eheader h1 { margin: 0 auto; position: absolute; left: 8px; width: 100px; height: 50px; font: 18px "Abril Fatface"; text-transform: uppercase; display: flex; justify-content: flex-start; align-items: center; text-align: left; color: var(--txt-2); line-height: 15px; } .eheader span { margin: 0 auto; position: absolute; right: 8px; text-align: right; width: 100px; height: 50px; font: 18px "Abril Fatface"; text-transform: uppercase; display: flex; justify-content: flex-end; align-items: center; color: var(--txt-2); line-height: 15px; } .ebody { background: var(--bckg-3); padding: 80px 50px 80px; font: 11px "Verdana"; } .ebody .etext { max-height: 240px; overflow: auto; text-align:justify; padding-right:5px; color:var(--txt-1); } .ebody .esubtitle { background: var(--bckg-2); margin: 80px -50px -80px; color: white; font: 9px calibri; text-transform: uppercase; text-align: center; padding: 10px; } .eimg { background-size: cover; width: 100px; height: 100px; -webkit-clip-path: polygon(100% 0, 0 0, 50% 100%); clip-path: polygon(100% 0, 0 0, 50% 100%); position: absolute; bottom: -30px; } .eheader:before { content: ""; -webkit-clip-path: polygon(100% 0, 0 0, 50% 100%); clip-path: polygon(100% 0, 0 0, 50% 100%); background: var(--bckg-2); width: 108px; height: 108px; display: block; position: absolute; bottom: -44px; } .etext em, .etext i { color: var(--accent-1); } .etext strong, .etext b { color: var(--accent-2); } .edge br {display:none;} .edge .etext br {display:block;} .ebody .etext::-webkit-scrollbar { width: 3px; } .ebody .etext::-webkit-scrollbar-thumb { background: var(--accent-1); border: 1px solid var(--bckg-3); border-width: 3px 1px; } .ebody .etext::-webkit-scrollbar-track { background: var(--accent-2); border-left: 1px solid var(--bckg-3); border-right: 1px solid var(--bckg-3); } .ncredit { width: 400px; text-align: center; margin: 0 auto; display: block; font-size: 10px; text-decoration: none; font: 8px verdana; color: #aaa; } .edge + br + .ncredit { margin-top: -15px; } .ncredit:before { content: "©"; }</style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement