组件 布局组件 布局组件组件

布局组件组件

一个受粗野主义启发的布局组件,适用于内容消费,具有柔和的配色方案和适度的复杂度,具有响应式设计和深色模式支持。

预览

HTML 代码

<div class="min-h-screen bg-pink-100 p-8 dark:bg-gray-900">
  <header class="mb-8 border-b-4 border-black pb-4 dark:border-white">
    <h1 class="text-5xl font-bold text-black drop-shadow-[6px_6px_0_rgba(0,0,0,1)] dark:text-white dark:drop-shadow-[6px_6px_0_rgba(255,255,255,1)]">
      Brutal Blog
    </h1>
  </header>

  <div class="grid grid-cols-1 gap-8 md:grid-cols-3">
    <!-- Main Content Area -->
    <main class="border-4 border-black bg-purple-200 p-6 dark:border-white dark:bg-gray-800 md:col-span-2">
      <article class="mb-8">
        <h2 class="text-3xl font-bold text-black dark:text-white">The Raw Truth of Web Design</h2>
        <p class="mb-4 text-sm text-gray-700 dark:text-gray-300">Posted on October 26, 2023</p>
        <img src="https://picsum.photos/seed/brutalism/800/400" alt="Abstract brutalist architecture" class="mb-4 w-full border-4 border-black dark:border-white" />
        <p class="mb-4 text-black dark:text-white">
          In the realm of web design, Brutalism stands as a defiant counterpoint to sleek interfaces and polished user experiences. It's a style that embraces rawness, exposes underlying structures, and often challenges conventional notions of beauty.
        </p>
        <p class="text-black dark:text-white">
          Characterized by stark typography, high-contrast colors, and a deliberate disregard for typical aesthetic norms, Brutalism can be jarring yet incredibly impactful. It screams authenticity and unfiltered expression, often using simple, unadorned HTML elements to convey its message.
        </p>
      </article>

      <article>
        <h2 class="text-3xl font-bold text-black dark:text-white">Pastel Brutalism: An Oxymoron?</h2>
        <p class="mb-4 text-sm text-gray-700 dark:text-gray-300">Posted on October 25, 2023</p>
        <img src="https://picsum.photos/seed/pastel/800/400" alt="Pastel color blocks" class="mb-4 w-full border-4 border-black dark:border-white" />
        <p class="mb-4 text-black dark:text-white">
          Combining the unyielding nature of Brutalism with the softness of pastel colors creates an intriguing paradox. The gentle hues temper the harshness, yet the underlying structural honesty remains. This approach offers a unique visual language, capable of conveying both strength and delicate nuance.
        </p>
        <p class="text-black dark:text-white">
          It's an exploration of contrasts, where the raw edges meet the subtle fades, inviting viewers to reconsider their perceptions of digital aesthetics. The goal is not to prettify, but to present an unvarnished truth, albeit one wrapped in a surprisingly gentle palette.
        </p>
      </article>
    </main>

    <!-- Sidebar / Related Content -->
    <aside class="border-4 border-black bg-green-200 p-6 dark:border-white dark:bg-gray-800">
      <h3 class="mb-4 text-2xl font-bold text-black dark:text-white">Related Reads</h3>
      <ul class="space-y-4">
        <li class="border-b-2 border-black pb-2 dark:border-white">
          <a href="#" class="block text-black hover:underline dark:text-white">The Art of Deliberate Imperfection</a>
          <p class="text-sm text-gray-700 dark:text-gray-300">Explore why imperfections can enhance design.</p>
        </li>
        <li class="border-b-2 border-black pb-2 dark:border-white">
          <a href="#" class="block text-black hover:underline dark:text-white">High Contrast & Readability</a>
          <p class="text-sm text-gray-700 dark:text-gray-300">A deep dive into accessible brutalist design.</p>
        </li>
        <li class="border-b-2 border-black pb-2 dark:border-white">
          <a href="#" class="block text-black hover:underline dark:text-white">Embracing the Unconventional Grid</a>
          <p class="text-sm text-gray-700 dark:text-gray-300">Breaking free from traditional layouts.</p>
        </li>
      </ul>

      <h3 class="mb-4 mt-8 text-2xl font-bold text-black dark:text-white">About the Author</h3>
      <div class="flex items-center space-x-4">
        <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Author Avatar" class="h-16 w-16 border-4 border-black dark:border-white" />
        <div>
          <p class="font-bold text-black dark:text-white">Maximus Code</p>
          <p class="text-sm text-gray-700 dark:text-gray-300">Digital Architect & Brutalism Enthusiast.</p>
        </div>
      </div>
    </aside>
  </div>

  <footer class="mt-8 border-t-4 border-black pt-4 text-center text-black dark:border-white dark:text-white">
    <p>&copy; 2023 Brutal Blog. All rights reserved, roughly.</p>
  </footer>
</div>

相关组件

布局组件

一个基于材料设计原则设计的响应式博客布局组件,采用单色调色板并支持黑暗模式。

打开

电子商务布局组件

一个简单、响应式的电子商务布局组件,具有灰度 Material Design 美感,具有产品网格、页眉和页脚,所有这些都支持深色模式。将 picsum.photos 用于产品图片。

打开

布局组件

一个响应式仪表板布局组件,利用微交互和柔和的色彩方案,旨在展示数据可视化和控制面板,并支持暗模式。

打开