/* assets/css/article.css */
html.theme-transition, html.theme-transition *, html.theme-transition *:before, html.theme-transition *:after { transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), border-color 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) !important; transition-delay: 0s !important; } .article-content { font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif; font-size: 1.0625rem; line-height: 1.85; color: #f4f4f5; } html.light .article-content { color: #18181b; } .article-content h1, .article-content h2, .article-content h3, .article-content h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.35; color: #ffffff; margin-top: 2.5rem; margin-bottom: 1.25rem; letter-spacing: -0.015em; position: relative; scroll-margin-top: 5rem; } html.light .article-content h1, html.light .article-content h2, html.light .article-content h3, html.light .article-content h4 { color: #09090b; } .article-content h1 { font-size: 2.25rem; } .article-content h2 { font-size: 1.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 0.65rem; } html.light .article-content h2 { border-bottom-color: #e4e4e7; } .article-content h3 { font-size: 1.35rem; } .article-content h4 { font-size: 1.15rem; } .heading-anchor-wrap { display: inline-flex; align-items: center; gap: 0.5rem; width: 100%; } .heading-share-btn { display: inline-flex; align-items: center; justify-content: center; width: 1.65rem; height: 1.65rem; border-radius: 9999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); color: #a1a1aa; font-size: 0.75rem; opacity: 0.4; transition: all 0.2s ease; cursor: pointer; vertical-align: middle; margin-left: 0.5rem; flex-shrink: 0; } .article-content h2:hover .heading-share-btn, .article-content h3:hover .heading-share-btn, .heading-share-btn:hover, .heading-share-btn:focus { opacity: 1; color: #ffffff; background: rgba(255, 255, 255, 0.2); transform: scale(1.1); } html.light .heading-share-btn { background: #f4f4f5; border-color: #e4e4e7; color: #71717a; } html.light .article-content h2:hover .heading-share-btn, html.light .article-content h3:hover .heading-share-btn, html.light .heading-share-btn:hover { color: #09090b; background: #e4e4e7; } .article-content p { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; margin-bottom: 1.5rem; color: #f4f4f5; } html.light .article-content p { color: #18181b; } .article-content strong, .article-content b { font-weight: 700; color: #ffffff; } html.light .article-content strong, html.light .article-content b { color: #000000; } .article-content em, .article-content i { font-style: italic; color: #f4f4f5; } html.light .article-content em, html.light .article-content i { color: #27272a; } .font-arabic, .arabic-text, .quran-verse, [dir="rtl"], .article-content .arabic, .article-content [lang="ar"] { font-family: 'Amiri', 'Scheherazade New', 'Traditional Arabic', serif !important; direction: rtl; text-align: right; line-height: 2.2 !important; font-feature-settings: "cv01", "cv02", "liga", "calt"; } .quran-callout { position: relative; margin: 2rem 0; padding: 1.5rem 1.75rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.2); } html.light .quran-callout { background: #fafafa; border-color: #e4e4e7; box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05); } .quran-callout .quran-arabic { font-family: 'Amiri', 'Scheherazade New', serif; font-size: 1.5rem; font-weight: 700; line-height: 2.2; color: #ffffff; text-align: right; direction: rtl; margin-bottom: 0.75rem; } html.light .quran-callout .quran-arabic { color: #09090b; } .quran-callout .quran-translation { font-size: 0.9375rem; font-style: italic; line-height: 1.7; color: #d4d4d8; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 0.75rem; } html.light .quran-callout .quran-translation { color: #3f3f46; border-top-color: #e4e4e7; } .article-content blockquote { position: relative; margin: 2rem 0; padding: 1.25rem 1.75rem; border-left: 3px solid #ffffff; background: rgba(255, 255, 255, 0.03); border-radius: 0 0.75rem 0.75rem 0; font-style: italic; color: #f4f4f5; } html.light .article-content blockquote { border-left-color: #000000; background: #f4f4f5; color: #18181b; } .article-content blockquote p:last-child { margin-bottom: 0; } .book-scan-figure { margin: 2.5rem auto; text-align: center; max-width: 22rem; } .book-scan-figure .book-scan-container { aspect-ratio: 1 / 1; border-radius: 1rem; overflow: hidden; background: #09090b; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3); } html.light .book-scan-figure .book-scan-container { background: #f4f4f5; border-color: #e4e4e7; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); } .book-scan-figure img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; border-radius: 0 !important; border: none !important; } .book-scan-figure figcaption { font-size: 0.8125rem; line-height: 1.5; color: #a1a1aa; margin-top: 0.75rem; font-weight: 500; } html.light .book-scan-figure figcaption { color: #52525b; } .article-video-embed { position: relative; margin: 2.5rem 0; aspect-ratio: 16 / 9; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15); background: #000000; box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.4); } html.light .article-video-embed { border-color: #e4e4e7; box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.15); } .article-video-embed iframe, .article-video-embed video { width: 100%; height: 100%; border: 0; } .article-citation-ref { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 0.8125rem; font-weight: 700; margin: 0 0.2rem; color: #ffffff; text-decoration: none; vertical-align: super; } html.light .article-citation-ref { color: #09090b; } .article-citation-ref a { text-decoration: none !important; color: inherit !important; padding: 0 0.15rem; border-radius: 0.25rem; background: rgba(255, 255, 255, 0.1); } html.light .article-citation-ref a { background: #e4e4e7; } .article-references-section { margin-top: 3.5rem; padding-top: 2rem; border-top: 2px solid rgba(255, 255, 255, 0.15); } html.light .article-references-section { border-top-color: #e4e4e7; } .article-references-section h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; font-bold: 700; color: #ffffff; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; } html.light .article-references-section h3 { color: #09090b; } .article-references-list { list-style: none !important; padding-left: 0 !important; margin: 0 !important; font-size: 0.875rem; line-height: 1.7; color: #d4d4d8; } html.light .article-references-list { color: #3f3f46; } .article-references-list li { padding: 0.65rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: flex-start; gap: 0.65rem; } html.light .article-references-list li { border-bottom-color: #f4f4f5; } .article-references-list li:last-child { border-bottom: none; } .ref-number { font-family: ui-monospace, SFMono-Regular, monospace; font-weight: 700; color: #ffffff; flex-shrink: 0; } html.light .ref-number { color: #09090b; } .article-content ul, .article-content ol { margin: 1.5rem 0; padding-left: 1.75rem; } .article-content ul { list-style-type: disc; } .article-content ol { list-style-type: decimal; } .article-content li { margin-bottom: 0.65rem; line-height: 1.75; } .article-content a:not(.heading-share-btn):not(.no-prose-link) { color: #047857; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; transition: opacity 0.15s ease; } html.dark .article-content a:not(.heading-share-btn):not(.no-prose-link) { color: #34d399; } .article-content a:not(.heading-share-btn):not(.no-prose-link):hover { opacity: 0.8; } .article-content .blog-callout { margin: 1.75rem 0; padding: 1.25rem 1.4rem; border-radius: 1rem; border: 1px solid #d4d4d8; border-left: 4px solid #059669; background: #fafafa; } html.dark .article-content .blog-callout { background: rgba(24, 24, 27, 0.85); border-color: #27272a; border-left-color: #10b981; } .article-content .blog-callout-title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: #065f46; margin-bottom: 0.35rem; } html.dark .article-content .blog-callout-title { color: #6ee7b7; } .article-content mark, .article-content mark.article-user-highlight, .article-content mark.article-query-highlight { background-color: #fef08a; color: #18181b; padding: 0.08rem 0.3rem; border-radius: 0.3rem; } html.dark .article-content mark, html.dark .article-content mark.article-user-highlight, html.dark .article-content mark.article-query-highlight { background-color: rgba(250, 204, 21, 0.32); color: #fef08a; } .article-content mark.article-user-highlight { cursor: pointer; border-bottom: 2px solid #eab308; } .article-content h4 { scroll-margin-top: 5rem; font-weight: 700; font-size: 1.1rem; margin-top: 1.75rem; margin-bottom: 0.6rem; }
/* assets/css/scroll-animations.css */
@charset "UTF-8"; html { scroll-behavior: smooth; } .scroll-reveal { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; } .scroll-reveal.is-revealed, .scroll-reveal.is-visible { opacity: 1 !important; transform: translate3d(0, 0, 0) !important; } .scroll-reveal-left { opacity: 0; transform: translate3d(-35px, 0, 0); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; } .scroll-reveal-left.is-revealed, .scroll-reveal-left.is-visible { opacity: 1 !important; transform: translate3d(0, 0, 0) !important; } .scroll-reveal-right { opacity: 0; transform: translate3d(35px, 0, 0); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; } .scroll-reveal-right.is-revealed, .scroll-reveal-right.is-visible { opacity: 1 !important; transform: translate3d(0, 0, 0) !important; } .scroll-reveal-scale { opacity: 0; transform: scale3d(0.94, 0.94, 1); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; } .scroll-reveal-scale.is-revealed, .scroll-reveal-scale.is-visible { opacity: 1 !important; transform: scale3d(1, 1, 1) !important; } .scroll-reveal-stagger > * { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; } .scroll-reveal-stagger.is-revealed > *, .scroll-reveal-stagger.is-visible > * { opacity: 1 !important; transform: translate3d(0, 0, 0) !important; } .scroll-reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.04s; } .scroll-reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.09s; } .scroll-reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.14s; } .scroll-reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.19s; } .scroll-reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.24s; } .scroll-reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.29s; } .scroll-reveal-stagger.is-revealed > *:nth-child(7) { transition-delay: 0.34s; } .scroll-reveal-stagger.is-revealed > *:nth-child(8) { transition-delay: 0.39s; } .scroll-reveal-stagger.is-revealed > *:nth-child(9) { transition-delay: 0.44s; } .scroll-reveal-stagger.is-revealed > *:nth-child(10) { transition-delay: 0.49s; } .scroll-reveal-stagger.is-revealed > *:nth-child(11) { transition-delay: 0.54s; } .scroll-reveal-stagger.is-revealed > *:nth-child(12) { transition-delay: 0.59s; } .admission-pulse-highlight { outline: none !important; box-shadow: none !important; } @media (prefers-reduced-motion: reduce) { .scroll-reveal, .scroll-reveal-left, .scroll-reveal-right, .scroll-reveal-scale, .scroll-reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; } .admission-pulse-highlight { animation: none !important; } }
