/
scamii
/
scam-dev
Обзор
Документация
Войти
/
scamii
/
scam-dev
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
1
CI/CD
Аналитика
Безопасность
develop
assets/scss/style.css
759 строк
19 KB
scamII
feat: add matrix registration, donate inline template, and various theme improvements
27 июн 2026, 15:46
27 июн 2026, 15:46
04a1707
Код
Авторство
О чём код?
@import "tailwindcss"; @import "./theme-vars.css"; @source "../**/*.php"; @layer base { html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; } body { @apply antialiased; background: var(--color-bg); color: var(--color-text); font-family: system-ui, -apple-system, sans-serif; transition: var(--transition-theme); overflow-x: hidden; max-width: 100%; } iframe, embed, object, video { max-width: 100%; } ::selection { background: rgba(255,87,67,0.3); color: var(--color-text); } } /* ===== Components ===== */ .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.9375rem; border-radius: 0.75rem; transition: all 0.2s; cursor: pointer; text-decoration: none; border: none; letter-spacing: 0.01em; } .btn-primary { background: #ff5743; color: #19253b; box-shadow: 0 0 20px rgba(220, 1, 85, 0.3); } .btn-primary:hover { background: #e64530; box-shadow: 0 0 30px rgba(220, 1, 85, 0.5); transform: translateY(-1px); } .btn-secondary { background: rgba(255,255,255,0.06); color: #e8e8e8; border: 1px solid rgba(255,255,255,0.1); } .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); } .btn-outline { background: transparent; color: #ff5743; border: 1.5px solid rgba(220, 1, 85, 0.3); } .btn-outline:hover { background: rgba(220, 1, 85, 0.08); border-color: #ff5743; box-shadow: 0 0 15px rgba(220, 1, 85, 0.15); } .glass { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem; } .glass-hover { transition: all 0.3s; } .glass-hover:hover { background: rgba(255,255,255,0.06); border-color: rgba(220, 1, 85, 0.2); box-shadow: 0 0 30px rgba(220, 1, 85, 0.08); transform: translateY(-2px); } .card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem; overflow: hidden; transition: all 0.3s; } .card:hover { background: rgba(255,255,255,0.06); border-color: rgba(220, 1, 85, 0.25); box-shadow: 0 0 40px rgba(220, 1, 85, 0.08); transform: translateY(-2px); } .blog-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem; overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; } .blog-card:hover { border-color: rgba(220, 1, 85, 0.25); transform: translateY(-3px); box-shadow: 0 8px 40px rgba(0,0,0,0.3); } .blog-card img { transition: transform 0.7s; } .blog-card:hover img { transform: scale(1.05); } [data-theme="light"] .blog-card { background: #fff; border-color: rgba(0,0,0,0.06); box-shadow: 0 1px 3px rgba(0,0,0,0.04); } [data-theme="light"] .blog-card:hover { border-color: rgba(255,87,67,0.3); box-shadow: 0 8px 30px rgba(0,0,0,0.12); } .card-body { padding: 1.5rem; } .divider { width: 3rem; height: 3px; background: linear-gradient(90deg, #ff5743, transparent); border-radius: 9999px; } .badge-coral { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.75rem; background: rgba(255,87,67,0.1); color: #ff7a6b; border: 1px solid rgba(255,87,67,0.2); border-radius: 9999px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; } .badge-coral::before { content: ""; display: inline-block; width: 6px; height: 6px; background: #ff5743; border-radius: 50%; box-shadow: 0 0 6px #ff5743; } .badge-orange { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.75rem; background: rgba(245, 158, 11, 0.1); color: #ffb84d; border: 1px solid rgba(245, 158, 11, 0.2); border-radius: 9999px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; } /* ===== Header ===== */ .sticky-header { position: fixed; top: 0; left: 5%; right: 5%; z-index: 40; margin: 0.75rem 0; border-radius: 9999px; overflow: visible; background: linear-gradient(180deg, rgba(30,45,70,0.98) 0%, rgba(25,37,59,0.92) 100%); backdrop-filter: blur(20px); border: 2.5px solid rgba(255,87,67,0.2); box-shadow: 0 4px 24px rgba(255,87,67,0.18), 0 8px 32px rgba(0,0,0,0.5); } /* ===== Terminal Effect ===== */ .terminal-line { font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; color: #ff7a6b; opacity: 0.7; } .cursor-blink::after { content: "_"; animation: blink 1s step-end infinite; color: #ff5743; font-weight: 700; } @keyframes blink { 50% { opacity: 0; } } .glitch-text { text-shadow: 0 0 10px rgba(255,87,67,0.3), 0 0 20px rgba(255,87,67,0.1); } /* ===== Grid Background ===== */ .grid-bg { background-image: linear-gradient(rgba(255,87,67,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,87,67,0.03) 1px, transparent 1px); background-size: 60px 60px; } /* ===== Particles ===== */ .particles { position: absolute; inset: 0; overflow: hidden; } .particle { position: absolute; width: 2px; height: 2px; background: #ff5743; border-radius: 50%; animation: float 6s infinite ease-in-out; opacity: 0; } @keyframes float { 0%, 100% { transform: translateY(100%) scale(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 0.5; } 100% { transform: translateY(-100%) scale(1); opacity: 0; } } /* ===== Horses Section ===== */ .horses-section { background: linear-gradient(135deg, #1a120a 0%, #0f0a05 50%, #19253b 100%); border-top: 1px solid rgba(245, 158, 11, 0.1); border-bottom: 1px solid rgba(245, 158, 11, 0.1); } /* ===== Prose (Content) ===== */ .prose { color: #e8e8e8; line-height: 1.8; max-width: none; } .prose h1 { font-size: 2.5rem; font-weight: 800; color: #f0f0f0; margin-bottom: 1.5rem; margin-top: 2.5rem; } .prose h2 { font-size: 1.875rem; font-weight: 700; color: #f0f0f0; margin-bottom: 1rem; margin-top: 2rem; } .prose h3 { font-size: 1.5rem; font-weight: 600; color: #e8e8e8; margin-bottom: 0.75rem; margin-top: 1.5rem; } .prose h4 { font-size: 1.25rem; font-weight: 600; color: #e8e8e8; margin-bottom: 0.5rem; margin-top: 1rem; } .prose p { margin-bottom: 1.25rem; } .prose a { color: #ff7a6b; text-decoration: underline; text-decoration-color: rgba(255,87,67,0.3); text-underline-offset: 2px; } .prose a:hover { color: #ff5743; text-decoration-color: #ff5743; } .prose strong { color: #f0f0f0; } .prose code { background: rgba(255,87,67,0.08); color: #ff7a6b; padding: 0.125rem 0.375rem; border-radius: 0.375rem; font-size: 0.875em; font-family: "JetBrains Mono", ui-monospace, monospace; border: 1px solid rgba(255,87,67,0.1); } .prose pre { background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); padding: 1.5rem; border-radius: 0.75rem; overflow-x: auto; margin: 1.5rem 0; font-size: 0.875rem; line-height: 1.7; } .prose pre code { background: none; border: none; padding: 0; color: #e8e8e8; } .prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; } .prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; } .prose li { margin-bottom: 0.25rem; } .prose blockquote { border-left: 3px solid rgba(255,87,67,0.4); padding: 1rem 1.5rem; margin: 1.5rem 0; font-style: italic; color: #d0d0d0; background: rgba(255,87,67,0.03); border-radius: 0 0.5rem 0.5rem 0; } .prose hr { margin: 2.5rem 0; border: 0; border-top: 1px solid rgba(255,255,255,0.06); } .prose img { border-radius: 0.75rem; margin: 1.5rem 0; } .prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; } .prose th { background: rgba(255,255,255,0.03); text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); font-weight: 600; color: #e8e8e8; } .prose td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); } /* ===== Forms ===== */ input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], textarea, select { width: 100%; padding: 0.75rem 1rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.75rem; color: #e8e8e8; font-size: 0.9375rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; } input::placeholder, textarea::placeholder { color: #707080; } input:focus, textarea:focus, select:focus { border-color: rgba(255,87,67,0.4); box-shadow: 0 0 0 3px rgba(255,87,67,0.1); } /* Prevent global input rules from overriding utility padding on Matrix-register fields */ .mx-input { text-align: left; direction: ltr; } button[type="submit"], input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.9375rem; border-radius: 0.75rem; background: #ff5743; color: #19253b; border: none; cursor: pointer; transition: all 0.2s; } .search-form { position: relative; } .search-form input[type="search"] { padding-right: 3rem; border-radius: 9999px; } .search-form button[type="submit"] { position: absolute; right: 0.375rem; top: 50%; transform: translateY(-50%); padding: 0.5rem 1rem; background: rgba(255,87,67,0.15); color: #ff7a6b; border: none; border-radius: 9999px; font-size: 0.875rem; cursor: pointer; } /* ===== Misc ===== */ .skip-link { @apply sr-only focus:not-sr-only focus:absolute focus:z-50 focus:top-4 focus:left-4 focus:px-4 focus:py-2 focus:bg-pink-500 focus:text-black focus:rounded-lg; } .screen-reader-text { @apply sr-only; } .social-icon { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; border-radius: 9999px; background: rgba(255,255,255,0.04); transition: all 0.2s; } .social-icon:hover { background: rgba(255,87,67,0.1); transform: scale(1.1); } .line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } .text-balance { text-wrap: balance; } .pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; } .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 500; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); color: #a0a0b0; transition: all 0.2s; text-decoration: none; } .page-numbers:hover { background: rgba(255,255,255,0.06); color: #e8e8e8; } .page-numbers.current { background: rgba(255,87,67,0.1); border-color: rgba(255,87,67,0.3); color: #ff7a6b; } .widget { margin-bottom: 1.5rem; } .widget ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; } .widget ul li a { color: #d0d0d0; transition: color 0.2s; } .widget ul li a:hover { color: #ff7a6b; } .widget-title { font-size: 1rem; font-weight: 600; color: #e8e8e8; margin-bottom: 1rem; } .aligncenter { margin-left: auto; margin-right: auto; } .alignwide { max-width: 80rem; margin-left: auto; margin-right: auto; } .alignfull { max-width: 100vw; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; } .wp-block-image img { height: auto; max-width: 100%; } .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.9375rem; border-radius: 0.75rem; background: #ff5743; color: #19253b; border: none; text-decoration: none; transition: all 0.2s; } .wp-block-button__link:hover { background: #e64530; } .is-style-outline .wp-block-button__link { background: transparent; color: #ff5743; border: 1.5px solid rgba(220, 1, 85, 0.3); } .is-style-outline .wp-block-button__link:hover { background: rgba(220, 1, 85, 0.08); border-color: #ff5743; } /* ===== Section Title ===== */ .section-title { font-size: 2rem; font-weight: 800; color: #f0f0f0; letter-spacing: -0.02em; } @media (min-width: 768px) { .section-title { font-size: 2.5rem; } } .section-subtitle { font-size: 1.125rem; color: #a0a0b0; max-width: 36rem; } /* ===== Post Meta ===== */ .posts-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; } @media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1024px) { .posts-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } } /* ===== Comment ===== */ .comment-list { list-style: none; padding: 0; } .comment-list .comment { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 1.5rem; } .comment-list .comment-body { display: flex; gap: 1rem; } .comment-list .comment-author img { width: 3rem; height: 3rem; border-radius: 9999px; } .comment-list .comment-metadata { font-size: 0.875rem; color: #a0a0b0; margin-top: 0.25rem; } .comment-list .comment-content { margin-top: 0.75rem; } .comment-list .reply a { font-size: 0.875rem; color: #ff7a6b; } .comment-list .children { margin-top: 1.5rem; margin-left: 2rem; padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,0.05); list-style: none; } .comment-respond { margin-top: 3rem; padding: 2rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 1rem; } .comment-form p { margin-bottom: 1rem; } .comment-form label { display: block; font-size: 0.875rem; font-weight: 500; color: #e8e8e8; margin-bottom: 0.375rem; } .clearfix::after { content: ""; display: table; clear: both; } /* ===== Footer ===== */ .site-footer { background: rgba(10,10,15,0.92); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.05); } /* ===== Text Gradient ===== */ .text-gradient { background: linear-gradient(135deg, #ff7a6b 0%, #ff5743 50%, #e64530 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* ===== Status Bar ===== */ .status-bar { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.06); border-radius: 9999px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.75rem; color: #a0a0b0; } .status-dot { width: 6px; height: 6px; background: #ff5743; border-radius: 50%; box-shadow: 0 0 6px rgba(255,87,67,0.5); animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } [data-theme="light"] .sticky-header { background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,249,252,0.94) 100%); border-color: rgba(255,87,67,0.3); box-shadow: 0 4px 24px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06); } [data-theme="light"] .sticky-header a { color: #1a1d2e; } [data-theme="light"] .sticky-header a:hover { color: var(--color-accent); } [data-theme="light"] .card { background: #fff; border-color: rgba(0,0,0,0.06); box-shadow: 0 1px 3px rgba(0,0,0,0.04); } [data-theme="light"] .card:hover { border-color: rgba(255,87,67,0.3); box-shadow: 0 4px 20px rgba(0,0,0,0.08); } [data-theme="light"] .glass { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); } [data-theme="light"] .btn-secondary { color: #1a1d2e; background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); } [data-theme="light"] .btn-secondary:hover { background: rgba(0,0,0,0.08); } [data-theme="light"] .prose { color: #1a1d2e; } [data-theme="light"] .prose h1, [data-theme="light"] .prose h2, [data-theme="light"] .prose h3, [data-theme="light"] .prose h4 { color: #1a1d2e; } [data-theme="light"] .prose strong { color: #1a1d2e; } [data-theme="light"] .prose pre { background: #1a1d2e; color: #e8e8e8; } [data-theme="light"] .prose pre code { color: #e8e8e8; } [data-theme="light"] .prose blockquote { color: #555a6e; background: rgba(255,87,67,0.03); } [data-theme="light"] .site-footer { background: rgba(248,249,252,0.95); border-top-color: rgba(0,0,0,0.06); } [data-theme="light"] input[type="text"], [data-theme="light"] input[type="email"], [data-theme="light"] input[type="search"], [data-theme="light"] textarea, [data-theme="light"] select { background: #fff; border-color: rgba(0,0,0,0.1); color: #1a1d2e; } [data-theme="light"] input:focus, [data-theme="light"] textarea:focus, [data-theme="light"] select:focus { border-color: rgba(255,87,67,0.4); box-shadow: 0 0 0 3px rgba(255,87,67,0.1); } [data-theme="light"] .section-title { color: #1a1d2e; } [data-theme="light"] .section-subtitle { color: #555a6e; } [data-theme="light"] .horses-section { background: linear-gradient(135deg, #fef9f5 0%, #fdf6f0 50%, #f8f9fc 100%); border-top-color: rgba(255,153,32,0.15); border-bottom-color: rgba(255,153,32,0.15); } [data-theme="light"] .widget-title { color: #1a1d2e; } [data-theme="light"] .widget ul li a { color: #555a6e; } [data-theme="light"] .widget ul li a:hover { color: var(--color-accent); } [data-theme="light"] .page-numbers { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06); color: #555a6e; } [data-theme="light"] .page-numbers:hover { background: rgba(0,0,0,0.06); color: #1a1d2e; } [data-theme="light"] .status-bar { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.06); color: #555a6e; } [data-theme="light"] .terminal-line { color: var(--color-accent); } [data-theme="light"] .social-icon { background: rgba(0,0,0,0.04); } [data-theme="light"] .social-icon:hover { background: rgba(255,87,67,0.08); } [data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3, [data-theme="light"] h4, [data-theme="light"] h5, [data-theme="light"] h6, [data-theme="light"] .section-title, [data-theme="light"] .entry-title, [data-theme="light"] .widget-title, [data-theme="light"] .comment-form label, [data-theme="light"] .prose h1, [data-theme="light"] .prose h2, [data-theme="light"] .prose h3, [data-theme="light"] .prose h4, [data-theme="light"] .prose strong, [data-theme="light"] .prose th, [data-theme="light"] .comment-respond label { color: #1a1d2e !important; } [data-theme="light"] .text-white { color: #1a1d2e !important; } [data-theme="light"] .text-gray-300 { color: #1a1d2e !important; } [data-theme="light"] .sticky-header a.text-white { color: #1a1d2e !important; } [data-theme="light"] .sticky-header a.text-gray-300 { color: #1a1d2e !important; } [data-theme="light"] .sticky-header a:hover { color: var(--color-accent) !important; } [data-theme="light"] .text-gradient { background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 50%, var(--color-accent-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } [data-theme="light"] .grid-bg { background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px); } #hs-input { background: var(--color-bg); } [data-theme="light"] #hs-input { background: var(--color-bg); }