HTMLify
typography.html
Views: 39 | Author: karbonsites
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Typography Showcase</title> <link rel="stylesheet" href="style.css"> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap" rel="stylesheet"> </head> <body> <header> <nav> <div class="logo">UI Lab</div> <div class="nav-links"> <a href="buttons.html">Buttons</a> <a href="inputs.html">Inputs</a> <a href="sliders.html">Sliders</a> <a href="colors.html">Colors</a> <a href="typography.html" class="active">Typography</a> <a href="about.html">About</a> </div> </nav> </header> <main class="container"> <section class="hero fade-in"> <h1>Typography System</h1> <p>Demonstrating font family ('Inter') usage across headings, body copy, and utility text, emphasizing clarity and hierarchy.</p> </section> <section class="component-section fade-in" id="typography"> <h2>Text Styles</h2> <div class="grid-container" style="grid-template-columns: 1fr;"> <div class="text-sample fade-in-delay-1"> <h1>H1: Headline (3rem)</h1> <p>Used for main page titles. Bold, commanding, and visually distinct.</p> </div> <div class="text-sample fade-in-delay-2"> <h2>H2: Section Title (1.8rem)</h2> <p>Used to segment major component areas. Clearly marked with an accent border.</p> </div> <div class="text-sample fade-in-delay-3"> <h3>H3: Subheading (e.g., Card Title)</h3> <p class="small-body">H3 is used for smaller grouping titles, often seen within components.</p> </div> <div class="text-sample fade-in-delay-1"> <p class="large-body">This is large body copy (Slightly increased base size for readability). Used for important contextual paragraphs.</p> </div> <div class="text-sample fade-in-delay-2"> <p>This is standard body copy, used for general content, maintaining excellent contrast against the dark background.</p> </div> <div class="text-sample fade-in-delay-3"> <p class="small-body">This is small body copy (0.9rem). Used for captions, secondary labels, and helper text, ensuring it doesn't compete with main content.</p> <code>Inline code elements for technical terms.</code> </div> </div> </section> </main> <script src="script.js" defer></script> <a href="https://karbonsites.space/home" target="_blank" id="karbon-promo-banner"> <span>✨</span> <div>Built with <b>Karbon Sites</b></div> </a> </body> </html> |