@import "tailwindcss"; @tailwind base; @tailwind components; @tailwind utilities; @theme { --font-header: "Garamond", serif; } body * { @apply transition-colors duration-1000; } @keyframes rotateAnimation { 0% { transform: rotateX(6deg) rotateY(-20deg); } 50% { transform: rotateX(10deg) rotateY(-15deg); } 100% { transform: rotateX(6deg) rotateY(-20deg); } } @layer components { .body { @apply p-4 leading-tight max-w-2xl mx-auto; } } @layer base { h1 { @apply text-5xl; @apply my-8; @apply font-header; @apply tracking-tight; @apply dark:text-gray-200; } h2 { @apply text-4xl; @apply my-7; @apply font-header; @apply dark:text-gray-200; } h3 { @apply text-3xl; @apply my-6; @apply font-header; @apply dark:text-white; @apply dark:text-gray-200; } h4 { @apply text-2xl; @apply my-5; /* @apply font-header; */ @apply dark:text-gray-200; } img { @apply drop-shadow-md; @apply my-6; @apply mx-auto; } p { @apply text-xl; line-height: 1.4; @apply mb-4; @apply dark:text-gray-200; } td, th { @apply text-xl; line-height: 1.4; @apply dark:text-gray-200; } ul { @apply list-disc; @apply my-4; @apply ml-6; @apply dark:text-gray-200; } label { @apply dark:text-gray-200; @apply font-header; } li { line-height: 1.4; @apply mb-4; @apply dark:text-gray-200; } a { @apply italic; @apply font-bold; @apply text-sky-700; @apply dark:text-teal-400; } pre { background-color: #f5f5f5; @apply overflow-x-auto; @apply p-4; @apply rounded-md; @apply my-4; @apply dark:text-gray-200; @apply dark:bg-gray-600; } hr { @apply my-16; @apply dark:text-gray-200; } input { @apply p-2; @apply dark:text-gray-200; @apply border-gray-200; @apply border-b-2; @apply focus:outline-none; @apply focus:border-sky-700; @apply focus:dark:border-teal-400; } textarea { @apply p-1; @apply rounded; } button { @apply dark:text-gray-200; @apply border-2; @apply p-2; @apply rounded; } summary { @apply dark:text-gray-200; } .markdown a { @apply not-italic; @apply font-sans; @apply font-normal; } blockquote { font-family: 'Georgia', serif; font-size: 1.1em; line-height: 1.6; color: #333; max-width: 600px; margin: 30px auto; padding: 30px 40px; position: relative; @apply bg-gray-100; @apply dark:bg-gray-800; @apply dark:text-gray-200; border-left: 5px solid #6b7a8f; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } blockquote::before { content: '\201C'; /* Opening quotation mark */ font-family: 'Georgia', serif; font-size: 60px; position: absolute; left: 10px; top: -10px; color: #6b7a8f; opacity: 0.6; } blockquote::after { content: '\201D'; /* Closing quotation mark */ font-family: 'Georgia', serif; font-size: 60px; position: absolute; right: 10px; bottom: -40px; color: #6b7a8f; opacity: 0.6; } blockquote p { margin-bottom: 10px; } blockquote cite { display: block; font-size: 0.9em; font-style: italic; text-align: right; margin-top: 15px; @apply dark:text-gray-200; } blockquote cite::before { content: '— '; } }