Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Brutalist List</title> <style> /* ========================================================================== Styles for Demo Preview Only ========================================================================== */ body { font-family: monospace, "Courier New", Courier; background-color: #ffffff; color: #000000; margin: 0; padding: 2rem; display: flex; justify-content: center; } /* ========================================================================== Brutalist List Component Styles - Copy from here ========================================================================== */ .brutalist-list-template { --brutal-font-family: monospace, "Courier New", Courier; --brutal-text-color: #000000; --brutal-bg-color: #ffffff; --brutal-accent-color: #ffff00; --brutal-border-width: 2px; font-family: var(--brutal-font-family); color: var(--brutal-text-color); background-color: var(--brutal-bg-color); width: 100%; max-width: 600px; border: var(--brutal-border-width) solid var(--brutal-text-color); padding: 2rem; } .brutalist-list-template *, .brutalist-list-template *::before, .brutalist-list-template *::after { box-sizing: border-box; } .brutalist-list-template .list-header { text-align: center; margin-bottom: 2rem; } .brutalist-list-template .list-header h2 { font-size: 1.5rem; margin: 0; font-weight: 700; text-transform: uppercase; } .brutalist-list { list-style: none; padding: 0; margin: 0; } .brutalist-list li { margin-bottom: 1rem; } .brutalist-list li:last-child { margin-bottom: 0; } .brutalist-list a { display: block; text-decoration: none; color: inherit; padding: 1.5rem; border: var(--brutal-border-width) solid var(--brutal-text-color); transition: background-color 0.1s linear, color 0.1s linear; } .brutalist-list a:hover { background-color: var(--brutal-text-color); color: var(--brutal-bg-color); } .list-item-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; } .list-item-title { font-size: 1.25rem; font-weight: 700; margin: 0; } .list-item-date { font-size: 0.9rem; background-color: var(--brutal-accent-color); color: var(--brutal-text-color); padding: 0.25rem 0.5rem; transition: background-color 0.1s linear, color 0.1s linear; } .brutalist-list a:hover .list-item-date { background-color: var(--brutal-bg-color); color: var(--brutal-text-color); } .list-item-info { font-size: 1rem; margin: 0; } </style> </head> <body> <div class="brutalist-list-template"> <header class="list-header"> <h2>UPCOMING SHOWS // THE VOID</h2> </header> <ul class="brutalist-list"> <li> <a href="#"> <div class="list-item-header"> <h3 class="list-item-title">Static Discharge</h3> <span class="list-item-date">FRI. 07 JUNE</span> </div> <p class="list-item-info">with The Dial-Up Tones & System Crash</p> </a> </li> <li> <a href="#"> <div class="list-item-header"> <h3 class="list-item-title">Concrete Garden</h3> <span class="list-item-date">SAT. 08 JUNE</span> </div> <p class="list-item-info">with Barbed Wire Bouquet</p> </a> </li> <li> <a href="#"> <div class="list-item-header"> <h3 class="list-item-title">Panic! at the Think-Tank</h3> <span class="list-item-date">WED. 12 JUNE</span> </div> <p class="list-item-info">Policy Debates in A-Minor</p> </a> </li> </ul> </div> </body> </html>