unified: Phantom Protocol 2025 complete archive integration
This commit is contained in:
252
website/css/desktop-fix.css
Normal file
252
website/css/desktop-fix.css
Normal file
@@ -0,0 +1,252 @@
|
||||
/* ==========================================
|
||||
DESKTOP GRID FIX
|
||||
Исправление проблемы с колонками на компьютерах
|
||||
Применяется на экранах 992px и больше
|
||||
========================================== */
|
||||
|
||||
/* === КРИТИЧЕСКОЕ ИСПРАВЛЕНИЕ BOOTSTRAP GRID === */
|
||||
|
||||
/* Принудительно включаем flex для строк на десктопе */
|
||||
@media (min-width: 992px) {
|
||||
.row {
|
||||
display: flex !important;
|
||||
flex-wrap: wrap !important;
|
||||
margin-right: -15px !important;
|
||||
margin-left: -15px !important;
|
||||
}
|
||||
|
||||
/* Все колонки должны быть flex-элементами */
|
||||
[class*="col-"] {
|
||||
position: relative !important;
|
||||
width: 100% !important;
|
||||
padding-right: 15px !important;
|
||||
padding-left: 15px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
/* Колонки на больших экранах (lg) */
|
||||
.col-lg-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; }
|
||||
.col-lg-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; }
|
||||
.col-lg-3 { flex: 0 0 25% !important; max-width: 25% !important; }
|
||||
.col-lg-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
|
||||
.col-lg-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; }
|
||||
.col-lg-6 { flex: 0 0 50% !important; max-width: 50% !important; }
|
||||
.col-lg-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; }
|
||||
.col-lg-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; }
|
||||
.col-lg-9 { flex: 0 0 75% !important; max-width: 75% !important; }
|
||||
.col-lg-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; }
|
||||
.col-lg-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; }
|
||||
.col-lg-12 { flex: 0 0 100% !important; max-width: 100% !important; }
|
||||
|
||||
/* Колонки на средних экранах (md) - для совместимости */
|
||||
.col-md-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; }
|
||||
.col-md-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; }
|
||||
.col-md-3 { flex: 0 0 25% !important; max-width: 25% !important; }
|
||||
.col-md-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
|
||||
.col-md-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; }
|
||||
.col-md-6 { flex: 0 0 50% !important; max-width: 50% !important; }
|
||||
.col-md-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; }
|
||||
.col-md-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; }
|
||||
.col-md-9 { flex: 0 0 75% !important; max-width: 75% !important; }
|
||||
.col-md-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; }
|
||||
.col-md-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; }
|
||||
.col-md-12 { flex: 0 0 100% !important; max-width: 100% !important; }
|
||||
|
||||
/* Автоматические колонки */
|
||||
.col,
|
||||
.col-auto {
|
||||
flex: 1 1 0 !important;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
.col-auto {
|
||||
flex: 0 0 auto !important;
|
||||
width: auto !important;
|
||||
max-width: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* === ДОПОЛНИТЕЛЬНО ДЛЯ ОЧЕНЬ БОЛЬШИХ ЭКРАНОВ === */
|
||||
@media (min-width: 1200px) {
|
||||
.col-xl-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; }
|
||||
.col-xl-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; }
|
||||
.col-xl-3 { flex: 0 0 25% !important; max-width: 25% !important; }
|
||||
.col-xl-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
|
||||
.col-xl-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; }
|
||||
.col-xl-6 { flex: 0 0 50% !important; max-width: 50% !important; }
|
||||
.col-xl-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; }
|
||||
.col-xl-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; }
|
||||
.col-xl-9 { flex: 0 0 75% !important; max-width: 75% !important; }
|
||||
.col-xl-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; }
|
||||
.col-xl-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; }
|
||||
.col-xl-12 { flex: 0 0 100% !important; max-width: 100% !important; }
|
||||
}
|
||||
|
||||
/* === ИСПРАВЛЕНИЕ КОНТЕЙНЕРОВ === */
|
||||
@media (min-width: 992px) {
|
||||
.container {
|
||||
max-width: 960px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.container {
|
||||
max-width: 1140px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1400px) {
|
||||
.container {
|
||||
max-width: 1320px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* === FLEX UTILITIES === */
|
||||
@media (min-width: 992px) {
|
||||
.d-lg-flex { display: flex !important; }
|
||||
.d-lg-block { display: block !important; }
|
||||
.d-lg-none { display: none !important; }
|
||||
|
||||
.flex-lg-row { flex-direction: row !important; }
|
||||
.flex-lg-column { flex-direction: column !important; }
|
||||
|
||||
.justify-content-lg-start { justify-content: flex-start !important; }
|
||||
.justify-content-lg-end { justify-content: flex-end !important; }
|
||||
.justify-content-lg-center { justify-content: center !important; }
|
||||
.justify-content-lg-between { justify-content: space-between !important; }
|
||||
.justify-content-lg-around { justify-content: space-around !important; }
|
||||
|
||||
.align-items-lg-start { align-items: flex-start !important; }
|
||||
.align-items-lg-end { align-items: flex-end !important; }
|
||||
.align-items-lg-center { align-items: center !important; }
|
||||
.align-items-lg-baseline { align-items: baseline !important; }
|
||||
.align-items-lg-stretch { align-items: stretch !important; }
|
||||
}
|
||||
|
||||
/* === MARGIN & PADDING UTILITIES === */
|
||||
@media (min-width: 992px) {
|
||||
.m-lg-0 { margin: 0 !important; }
|
||||
.m-lg-1 { margin: 0.25rem !important; }
|
||||
.m-lg-2 { margin: 0.5rem !important; }
|
||||
.m-lg-3 { margin: 1rem !important; }
|
||||
.m-lg-4 { margin: 1.5rem !important; }
|
||||
.m-lg-5 { margin: 3rem !important; }
|
||||
|
||||
.mt-lg-0 { margin-top: 0 !important; }
|
||||
.mt-lg-1 { margin-top: 0.25rem !important; }
|
||||
.mt-lg-2 { margin-top: 0.5rem !important; }
|
||||
.mt-lg-3 { margin-top: 1rem !important; }
|
||||
.mt-lg-4 { margin-top: 1.5rem !important; }
|
||||
.mt-lg-5 { margin-top: 3rem !important; }
|
||||
|
||||
.mb-lg-0 { margin-bottom: 0 !important; }
|
||||
.mb-lg-1 { margin-bottom: 0.25rem !important; }
|
||||
.mb-lg-2 { margin-bottom: 0.5rem !important; }
|
||||
.mb-lg-3 { margin-bottom: 1rem !important; }
|
||||
.mb-lg-4 { margin-bottom: 1.5rem !important; }
|
||||
.mb-lg-5 { margin-bottom: 3rem !important; }
|
||||
|
||||
.p-lg-0 { padding: 0 !important; }
|
||||
.p-lg-1 { padding: 0.25rem !important; }
|
||||
.p-lg-2 { padding: 0.5rem !important; }
|
||||
.p-lg-3 { padding: 1rem !important; }
|
||||
.p-lg-4 { padding: 1.5rem !important; }
|
||||
.p-lg-5 { padding: 3rem !important; }
|
||||
}
|
||||
|
||||
/* === TEXT UTILITIES === */
|
||||
@media (min-width: 992px) {
|
||||
.text-lg-left { text-align: left !important; }
|
||||
.text-lg-right { text-align: right !important; }
|
||||
.text-lg-center { text-align: center !important; }
|
||||
}
|
||||
|
||||
/* === СПЕЦИАЛЬНЫЕ ИСПРАВЛЕНИЯ ДЛЯ PHANTOM PROTOCOL === */
|
||||
|
||||
/* Hero Section - должна быть в две колонки на десктопе */
|
||||
@media (min-width: 992px) {
|
||||
.hero-section .row {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
.hero-section .col-lg-6,
|
||||
.hero-section .col-md-6 {
|
||||
flex: 0 0 50% !important;
|
||||
max-width: 50% !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Feature cards - должны быть в 3 колонки */
|
||||
@media (min-width: 992px) {
|
||||
.features-grid .col-lg-4,
|
||||
.features-grid .col-md-4 {
|
||||
flex: 0 0 33.333333% !important;
|
||||
max-width: 33.333333% !important;
|
||||
}
|
||||
|
||||
.features-grid .col-lg-6,
|
||||
.features-grid .col-md-6 {
|
||||
flex: 0 0 50% !important;
|
||||
max-width: 50% !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Comparison table - должна быть во всю ширину */
|
||||
@media (min-width: 992px) {
|
||||
.comparison-section .col-lg-12 {
|
||||
flex: 0 0 100% !important;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Stats - должны быть в ряд */
|
||||
@media (min-width: 992px) {
|
||||
.hero-stats .row {
|
||||
display: flex !important;
|
||||
justify-content: space-around !important;
|
||||
}
|
||||
|
||||
.hero-stats .col-md-4,
|
||||
.hero-stats .col-lg-4 {
|
||||
flex: 0 0 33.333333% !important;
|
||||
max-width: 33.333333% !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Footer columns */
|
||||
@media (min-width: 992px) {
|
||||
.footer .col-lg-4 {
|
||||
flex: 0 0 33.333333% !important;
|
||||
max-width: 33.333333% !important;
|
||||
}
|
||||
|
||||
.footer .col-lg-2 {
|
||||
flex: 0 0 16.666667% !important;
|
||||
max-width: 16.666667% !important;
|
||||
}
|
||||
|
||||
.footer .col-lg-3 {
|
||||
flex: 0 0 25% !important;
|
||||
max-width: 25% !important;
|
||||
}
|
||||
|
||||
.footer .col-lg-6 {
|
||||
flex: 0 0 50% !important;
|
||||
max-width: 50% !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* === ОТЛАДКА (временно отключено) === */
|
||||
/* Раскомментируйте если нужно проверить границы колонок
|
||||
@media (min-width: 992px) {
|
||||
.row {
|
||||
border: 1px solid rgba(0, 240, 255, 0.1) !important;
|
||||
}
|
||||
|
||||
[class*="col-"] {
|
||||
border: 1px solid rgba(122, 62, 255, 0.1) !important;
|
||||
min-height: 50px;
|
||||
}
|
||||
}
|
||||
*/
|
||||
468
website/css/responsive.css
Normal file
468
website/css/responsive.css
Normal file
@@ -0,0 +1,468 @@
|
||||
/* ==========================================
|
||||
Phantom Protocol - Адаптивные стили
|
||||
Дополнительные responsive breakpoints
|
||||
© NeroWorld AI, 2025
|
||||
========================================== */
|
||||
|
||||
/* === Extra Large Devices (1400px+) === */
|
||||
@media (min-width: 1400px) {
|
||||
.container {
|
||||
max-width: 1320px;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 4.5rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* === Large Devices (992px - 1199px) === */
|
||||
@media (max-width: 1199px) {
|
||||
.hero-title {
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
.feature-card,
|
||||
.doc-card,
|
||||
.community-card {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.comparison-table {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* === Medium Devices (768px - 991px) === */
|
||||
@media (max-width: 991px) {
|
||||
/* Навигация */
|
||||
.navbar-collapse {
|
||||
background: rgba(10, 10, 15, 0.98);
|
||||
backdrop-filter: blur(20px);
|
||||
padding: 1.5rem;
|
||||
border-radius: var(--border-radius);
|
||||
margin-top: 1rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
padding: 0.75rem 1rem !important;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.nav-link:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* Hero */
|
||||
.hero-title {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.hero-cta {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.hero-cta .btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Секции */
|
||||
.section-padding {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
/* Архитектура */
|
||||
.arch-layer {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.layer-icon {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
/* Демо */
|
||||
.demo-container {
|
||||
padding: 2rem 1.5rem;
|
||||
}
|
||||
|
||||
#demoCanvas {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Статистика */
|
||||
.hero-stats .col-md-4,
|
||||
.demo-stats .col-md-3 {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer .col-lg-4,
|
||||
.footer .col-lg-2,
|
||||
.footer .col-md-6 {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* === Small Devices (576px - 767px) === */
|
||||
@media (max-width: 767px) {
|
||||
/* Типографика */
|
||||
h1 { font-size: 2rem; }
|
||||
h2 { font-size: 1.75rem; }
|
||||
h3 { font-size: 1.5rem; }
|
||||
h4 { font-size: 1.25rem; }
|
||||
|
||||
/* Hero */
|
||||
.hero-title {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.badge-container {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.badge-pill {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.stat-number {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
/* Кнопки */
|
||||
.btn {
|
||||
padding: 0.65rem 1.5rem;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.btn-lg {
|
||||
padding: 0.75rem 2rem;
|
||||
}
|
||||
|
||||
/* Карточки */
|
||||
.feature-icon,
|
||||
.doc-icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.glass-card {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
/* Таблица сравнения */
|
||||
.comparison-table {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.comparison-table th,
|
||||
.comparison-table td {
|
||||
padding: 0.75rem 0.5rem;
|
||||
}
|
||||
|
||||
/* Код */
|
||||
.code-block {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.code-block pre {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.copy-btn {
|
||||
position: static;
|
||||
width: 100%;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
/* Демо */
|
||||
.demo-visualization {
|
||||
min-height: 350px;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#demoCanvas {
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.demo-stat .stat-value {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
/* Testimonials */
|
||||
.testimonial-text {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quote-icon {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
/* Recognition badges */
|
||||
.recognition-badges {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.recognition-badge {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer-bottom .col-md-6 {
|
||||
text-align: center !important;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.social-links {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* === Extra Small Devices (< 576px) === */
|
||||
@media (max-width: 575px) {
|
||||
/* Hero */
|
||||
.hero-section {
|
||||
min-height: auto;
|
||||
padding: 100px 0 50px;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.hero-stats {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.stat-item {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
/* Секции */
|
||||
.section-padding {
|
||||
padding: 3rem 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
/* Навигация */
|
||||
.navbar-brand {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.navbar-brand i {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
/* Архитектура */
|
||||
.arch-layer {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.layer-number {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.layer-content h4 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.layer-content p {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
/* Демо */
|
||||
.demo-container {
|
||||
padding: 1.5rem 1rem;
|
||||
}
|
||||
|
||||
.demo-controls .btn {
|
||||
width: 100%;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.demo-controls .btn-lg {
|
||||
font-size: 0.9rem;
|
||||
padding: 0.65rem 1.5rem;
|
||||
}
|
||||
|
||||
#demoCanvas {
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
/* Платформы */
|
||||
.platform-card i {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.platform-card h5 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.platform-card p {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
padding: 3rem 0 1.5rem;
|
||||
}
|
||||
|
||||
.footer-brand {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* === Touch Devices === */
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
/* Убираем hover-эффекты на touch устройствах */
|
||||
.glass-card:hover {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.feature-card:hover,
|
||||
.doc-card:hover,
|
||||
.community-card:hover {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.stat-item:hover {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* Увеличиваем область нажатия */
|
||||
.btn {
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
min-height: 44px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.copy-btn {
|
||||
min-height: 44px;
|
||||
}
|
||||
}
|
||||
|
||||
/* === Print Styles === */
|
||||
@media print {
|
||||
/* Скрываем ненужные элементы */
|
||||
.navbar,
|
||||
.scroll-indicator,
|
||||
.demo-controls,
|
||||
#heroBackground,
|
||||
.theme-toggle,
|
||||
.social-links {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Оптимизация для печати */
|
||||
body {
|
||||
background: white;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.glass-card {
|
||||
background: white;
|
||||
border: 1px solid #ddd;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
||||
/* Показываем ссылки */
|
||||
a[href]:after {
|
||||
content: " (" attr(href) ")";
|
||||
}
|
||||
}
|
||||
|
||||
/* === High Contrast Mode === */
|
||||
@media (prefers-contrast: high) {
|
||||
:root {
|
||||
--color-bg: #000000;
|
||||
--color-text: #ffffff;
|
||||
--color-accent: #00ffff;
|
||||
}
|
||||
|
||||
.glass-card {
|
||||
border: 2px solid var(--color-accent);
|
||||
}
|
||||
}
|
||||
|
||||
/* === Reduced Motion === */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
|
||||
.scroll-indicator {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.pulse-btn {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* === Landscape Orientation (Mobile) === */
|
||||
@media (max-width: 991px) and (orientation: landscape) {
|
||||
.hero-section {
|
||||
min-height: auto;
|
||||
padding: 120px 0 40px;
|
||||
}
|
||||
|
||||
.hero-stats {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.section-padding {
|
||||
padding: 3rem 0;
|
||||
}
|
||||
}
|
||||
1119
website/css/style.css
Normal file
1119
website/css/style.css
Normal file
File diff suppressed because it is too large
Load Diff
427
website/css/vendor-prefixes.css
Normal file
427
website/css/vendor-prefixes.css
Normal file
@@ -0,0 +1,427 @@
|
||||
/**
|
||||
* Vendor Prefixes for Cross-Browser Compatibility
|
||||
* Phantom Protocol
|
||||
*
|
||||
* Этот файл содержит vendor prefixes для поддержки старых браузеров
|
||||
* Safari, Firefox, Chrome, Edge
|
||||
*/
|
||||
|
||||
/* ========================================
|
||||
BACKDROP FILTER (Safari требует -webkit-)
|
||||
======================================== */
|
||||
|
||||
.navbar.glass-nav {
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
backdrop-filter: blur(20px);
|
||||
}
|
||||
|
||||
.glass-card,
|
||||
.card.glass-card {
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
backdrop-filter: blur(20px);
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
-webkit-backdrop-filter: blur(30px);
|
||||
backdrop-filter: blur(30px);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
USER SELECT (предотвращение выделения)
|
||||
======================================== */
|
||||
|
||||
.btn,
|
||||
button {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
TRANSFORM (трансформации)
|
||||
======================================== */
|
||||
|
||||
.card:hover,
|
||||
.glass-card:hover {
|
||||
-webkit-transform: translateY(-10px);
|
||||
-moz-transform: translateY(-10px);
|
||||
-ms-transform: translateY(-10px);
|
||||
-o-transform: translateY(-10px);
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
|
||||
.hover-lift:hover {
|
||||
-webkit-transform: translateY(-5px);
|
||||
-moz-transform: translateY(-5px);
|
||||
-ms-transform: translateY(-5px);
|
||||
-o-transform: translateY(-5px);
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
TRANSITION (плавные переходы)
|
||||
======================================== */
|
||||
|
||||
.navbar,
|
||||
.nav-link,
|
||||
.btn,
|
||||
.card,
|
||||
a {
|
||||
-webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
-moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
-ms-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
-o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
ANIMATION (анимации)
|
||||
======================================== */
|
||||
|
||||
@-webkit-keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
@-moz-keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
@-o-keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
@-webkit-keyframes pulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.5; }
|
||||
}
|
||||
|
||||
@-moz-keyframes pulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.5; }
|
||||
}
|
||||
|
||||
@-o-keyframes pulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.5; }
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.5; }
|
||||
}
|
||||
|
||||
.pulse-dot {
|
||||
-webkit-animation: pulse 2s infinite;
|
||||
-moz-animation: pulse 2s infinite;
|
||||
-o-animation: pulse 2s infinite;
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
FLEXBOX (старые браузеры)
|
||||
======================================== */
|
||||
|
||||
.d-flex,
|
||||
.navbar-brand,
|
||||
.nav {
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.flex-column {
|
||||
-webkit-flex-direction: column;
|
||||
-moz-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.justify-content-center {
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
-ms-justify-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.align-items-center {
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
BOX-SHADOW (тени с цветным свечением)
|
||||
======================================== */
|
||||
|
||||
.card:hover,
|
||||
.glass-card:hover {
|
||||
-webkit-box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3);
|
||||
-moz-box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3);
|
||||
box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3);
|
||||
}
|
||||
|
||||
.btn-gradient {
|
||||
-webkit-box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
|
||||
-moz-box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
|
||||
box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
GRADIENT (градиенты)
|
||||
======================================== */
|
||||
|
||||
.btn-gradient {
|
||||
background: -webkit-linear-gradient(135deg, #00f0ff 0%, #7a3eff 100%);
|
||||
background: -moz-linear-gradient(135deg, #00f0ff 0%, #7a3eff 100%);
|
||||
background: -o-linear-gradient(135deg, #00f0ff 0%, #7a3eff 100%);
|
||||
background: linear-gradient(135deg, #00f0ff 0%, #7a3eff 100%);
|
||||
}
|
||||
|
||||
.text-gradient {
|
||||
background: -webkit-linear-gradient(90deg, #00f0ff, #7a3eff, #ff2a6d);
|
||||
background: -moz-linear-gradient(90deg, #00f0ff, #7a3eff, #ff2a6d);
|
||||
background: -o-linear-gradient(90deg, #00f0ff, #7a3eff, #ff2a6d);
|
||||
background: linear-gradient(90deg, #00f0ff, #7a3eff, #ff2a6d);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
BORDER-RADIUS (скругленные углы)
|
||||
======================================== */
|
||||
|
||||
.card,
|
||||
.btn,
|
||||
.form-control,
|
||||
input,
|
||||
textarea {
|
||||
-webkit-border-radius: 8px;
|
||||
-moz-border-radius: 8px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.glass-card {
|
||||
-webkit-border-radius: 16px;
|
||||
-moz-border-radius: 16px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
APPEARANCE (удаление нативных стилей)
|
||||
======================================== */
|
||||
|
||||
input,
|
||||
textarea,
|
||||
select,
|
||||
button {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
SCROLLBAR (кастомный скроллбар - только WebKit)
|
||||
======================================== */
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--color-accent);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--color-accent-secondary);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
PLACEHOLDER (placeholder стили)
|
||||
======================================== */
|
||||
|
||||
::-webkit-input-placeholder {
|
||||
color: var(--color-text-muted);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
::-moz-placeholder {
|
||||
color: var(--color-text-muted);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
:-ms-input-placeholder {
|
||||
color: var(--color-text-muted);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
::placeholder {
|
||||
color: var(--color-text-muted);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
OBJECT-FIT (изображения)
|
||||
======================================== */
|
||||
|
||||
img {
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
FILTER (фильтры изображений)
|
||||
======================================== */
|
||||
|
||||
img:hover {
|
||||
-webkit-filter: brightness(1.1);
|
||||
-moz-filter: brightness(1.1);
|
||||
-o-filter: brightness(1.1);
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
POSITION: STICKY (липкие элементы)
|
||||
======================================== */
|
||||
|
||||
.sticky-top {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
CALC (математические вычисления)
|
||||
======================================== */
|
||||
|
||||
.full-height {
|
||||
height: -webkit-calc(100vh - 80px);
|
||||
height: -moz-calc(100vh - 80px);
|
||||
height: calc(100vh - 80px);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
POINTER-EVENTS (взаимодействие с элементами)
|
||||
======================================== */
|
||||
|
||||
.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
BOX-SIZING (модель блока)
|
||||
======================================== */
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
WILL-CHANGE (оптимизация производительности)
|
||||
======================================== */
|
||||
|
||||
.card,
|
||||
.btn,
|
||||
.nav-link {
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
OPACITY (прозрачность с анимацией)
|
||||
======================================== */
|
||||
|
||||
.fade-in {
|
||||
-webkit-animation: fadeIn 0.5s ease-in-out;
|
||||
-moz-animation: fadeIn 0.5s ease-in-out;
|
||||
-o-animation: fadeIn 0.5s ease-in-out;
|
||||
animation: fadeIn 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
TEXT-SHADOW (тени текста для cyberpunk стиля)
|
||||
======================================== */
|
||||
|
||||
h1,
|
||||
h2,
|
||||
.display-3,
|
||||
.display-4 {
|
||||
text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
CLIP-PATH (обрезка элементов - современные браузеры)
|
||||
======================================== */
|
||||
|
||||
.hero-background::before {
|
||||
-webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
|
||||
clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
GRID LAYOUT (сетка - старые браузеры)
|
||||
======================================== */
|
||||
|
||||
.container,
|
||||
.row {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
MEDIA QUERIES для ПОДДЕРЖКИ
|
||||
======================================== */
|
||||
|
||||
/* IE 10-11 */
|
||||
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
.glass-card {
|
||||
background: rgba(15, 15, 30, 0.9);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
/* Edge 12-18 */
|
||||
@supports (-ms-ime-align:auto) {
|
||||
.glass-card {
|
||||
background: rgba(15, 15, 30, 0.9);
|
||||
}
|
||||
}
|
||||
|
||||
/* Firefox Fallback для backdrop-filter */
|
||||
@-moz-document url-prefix() {
|
||||
.glass-card,
|
||||
.navbar.glass-nav {
|
||||
background: rgba(15, 15, 30, 0.95);
|
||||
}
|
||||
}
|
||||
|
||||
/* Safari 9+ */
|
||||
@media not all and (min-resolution:.001dpcm) {
|
||||
@supports (-webkit-appearance:none) {
|
||||
.glass-card {
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
}
|
||||
}
|
||||
}
|
||||
625
website/css/visual-fixes.css
Normal file
625
website/css/visual-fixes.css
Normal file
@@ -0,0 +1,625 @@
|
||||
/**
|
||||
* Визуальные исправления для Phantom Protocol
|
||||
* Исправляет проблемы с читаемостью и наложением блоков
|
||||
* Version: 2.1.0
|
||||
*/
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ КОНТРАСТНОСТИ ТЕКСТА
|
||||
========================================== */
|
||||
|
||||
/* Основной текст - увеличенная контрастность */
|
||||
body {
|
||||
color: #e6e6ff;
|
||||
}
|
||||
|
||||
/* Заголовки - яркий белый цвет */
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: #ffffff !important;
|
||||
text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
|
||||
}
|
||||
|
||||
/* Текст на карточках - улучшенная читаемость */
|
||||
.card, .glass-card {
|
||||
color: #e6e6ff !important;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
color: #ffffff !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.card-text, .card-body p {
|
||||
color: #d0d0e8 !important;
|
||||
}
|
||||
|
||||
/* Мутированный текст - более читаемый */
|
||||
.text-muted {
|
||||
color: #b0b0d0 !important;
|
||||
}
|
||||
|
||||
.card .text-muted {
|
||||
color: #c0c0dd !important;
|
||||
}
|
||||
|
||||
/* Текст на темном фоне */
|
||||
.bg-dark .text-muted,
|
||||
.bg-dark p,
|
||||
.bg-dark small {
|
||||
color: #d0d0e8 !important;
|
||||
}
|
||||
|
||||
/* Lead текст - более заметный */
|
||||
.lead {
|
||||
color: #f0f0ff !important;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* Ссылки - улучшенная видимость */
|
||||
a {
|
||||
color: #00f0ff !important;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #7a3eff !important;
|
||||
}
|
||||
|
||||
/* Ссылки в карточках */
|
||||
.card a, .glass-card a {
|
||||
color: #00f0ff !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ НАЛОЖЕНИЯ БЛОКОВ
|
||||
========================================== */
|
||||
|
||||
/* Navbar - правильный z-index */
|
||||
.navbar {
|
||||
z-index: 1030 !important;
|
||||
position: fixed !important;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/* Hero section - отступ сверху для navbar */
|
||||
.hero-section,
|
||||
section[class*="hero"] {
|
||||
margin-top: 80px !important;
|
||||
padding-top: 80px !important;
|
||||
}
|
||||
|
||||
/* Основные секции - правильные отступы */
|
||||
section {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 80px 0;
|
||||
}
|
||||
|
||||
section:first-of-type {
|
||||
padding-top: 120px;
|
||||
}
|
||||
|
||||
/* Карточки - правильный z-index */
|
||||
.card, .glass-card {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
/* Sticky sidebar - правильный z-index */
|
||||
.sticky-top {
|
||||
z-index: 10 !important;
|
||||
top: 100px !important;
|
||||
}
|
||||
|
||||
/* Footer - не налазит на контент */
|
||||
.footer {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-top: 80px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* Модальные окна */
|
||||
.modal {
|
||||
z-index: 1050 !important;
|
||||
}
|
||||
|
||||
.modal-backdrop {
|
||||
z-index: 1040 !important;
|
||||
}
|
||||
|
||||
/* Dropdown меню */
|
||||
.dropdown-menu {
|
||||
z-index: 1000 !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ SPACING
|
||||
========================================== */
|
||||
|
||||
/* Контейнеры - правильные отступы */
|
||||
.container {
|
||||
padding-left: 15px !important;
|
||||
padding-right: 15px !important;
|
||||
}
|
||||
|
||||
/* Строки - убираем переполнение */
|
||||
.row {
|
||||
margin-left: -15px !important;
|
||||
margin-right: -15px !important;
|
||||
}
|
||||
|
||||
/* Колонки - правильные отступы */
|
||||
[class*="col-"] {
|
||||
padding-left: 15px !important;
|
||||
padding-right: 15px !important;
|
||||
}
|
||||
|
||||
/* Margin между секциями */
|
||||
section + section {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* Padding в карточках */
|
||||
.card-body {
|
||||
padding: 2rem !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
УЛУЧШЕНИЕ КАРТОЧЕК (GLASS CARDS)
|
||||
========================================== */
|
||||
|
||||
.glass-card {
|
||||
background: rgba(19, 19, 26, 0.85) !important;
|
||||
backdrop-filter: blur(20px) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
|
||||
}
|
||||
|
||||
/* Hover эффект для карточек */
|
||||
.glass-card:hover {
|
||||
background: rgba(19, 19, 26, 0.95) !important;
|
||||
border-color: rgba(0, 240, 255, 0.3) !important;
|
||||
box-shadow: 0 12px 48px rgba(0, 240, 255, 0.2) !important;
|
||||
}
|
||||
|
||||
/* Карточки Bootstrap */
|
||||
.card {
|
||||
background: rgba(19, 19, 26, 0.85) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
||||
color: #e6e6ff !important;
|
||||
}
|
||||
|
||||
.card-header {
|
||||
background: rgba(0, 240, 255, 0.1) !important;
|
||||
border-bottom: 1px solid rgba(0, 240, 255, 0.2) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ ТАБЛИЦ
|
||||
========================================== */
|
||||
|
||||
.table {
|
||||
color: #e6e6ff !important;
|
||||
}
|
||||
|
||||
.table-dark {
|
||||
background-color: rgba(19, 19, 26, 0.8) !important;
|
||||
color: #e6e6ff !important;
|
||||
}
|
||||
|
||||
.table-dark thead th {
|
||||
background-color: rgba(0, 240, 255, 0.1) !important;
|
||||
color: #ffffff !important;
|
||||
border-color: rgba(0, 240, 255, 0.2) !important;
|
||||
}
|
||||
|
||||
.table-dark tbody tr {
|
||||
border-color: rgba(255, 255, 255, 0.1) !important;
|
||||
}
|
||||
|
||||
.table-dark td {
|
||||
color: #d0d0e8 !important;
|
||||
}
|
||||
|
||||
/* Hover эффект для строк */
|
||||
.table-hover tbody tr:hover {
|
||||
background-color: rgba(0, 240, 255, 0.05) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ ФОРМ
|
||||
========================================== */
|
||||
|
||||
.form-control {
|
||||
background-color: rgba(19, 19, 26, 0.8) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2) !important;
|
||||
color: #e6e6ff !important;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
background-color: rgba(19, 19, 26, 0.9) !important;
|
||||
border-color: var(--color-accent) !important;
|
||||
color: #ffffff !important;
|
||||
box-shadow: 0 0 0 0.2rem rgba(0, 240, 255, 0.25) !important;
|
||||
}
|
||||
|
||||
.form-control::placeholder {
|
||||
color: #9999b8 !important;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ КНОПОК
|
||||
========================================== */
|
||||
|
||||
/* Все кнопки - улучшенная контрастность */
|
||||
.btn {
|
||||
font-weight: 500;
|
||||
border: none;
|
||||
padding: 0.75rem 1.5rem;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: linear-gradient(135deg, #00f0ff 0%, #7a3eff 100%) !important;
|
||||
color: #ffffff !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.btn-outline-light {
|
||||
border: 2px solid rgba(255, 255, 255, 0.3) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.btn-outline-light:hover {
|
||||
background: rgba(255, 255, 255, 0.1) !important;
|
||||
border-color: var(--color-accent) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.btn-gradient {
|
||||
background: linear-gradient(135deg, #00f0ff 0%, #7a3eff 100%) !important;
|
||||
color: #ffffff !important;
|
||||
border: none !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ НАВИГАЦИИ
|
||||
========================================== */
|
||||
|
||||
.navbar {
|
||||
background: rgba(10, 10, 15, 0.95) !important;
|
||||
backdrop-filter: blur(20px) !important;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
color: #ffffff !important;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: #d0d0e8 !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.nav-link:hover,
|
||||
.nav-link.active {
|
||||
color: #00f0ff !important;
|
||||
}
|
||||
|
||||
/* Theme toggle button */
|
||||
.theme-toggle {
|
||||
background: rgba(255, 255, 255, 0.1) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.theme-toggle:hover {
|
||||
background: rgba(0, 240, 255, 0.2) !important;
|
||||
border-color: var(--color-accent) !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ FOOTER
|
||||
========================================== */
|
||||
|
||||
.footer {
|
||||
background: rgba(10, 10, 15, 0.95) !important;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
color: #d0d0e8 !important;
|
||||
}
|
||||
|
||||
.footer h5, .footer h6 {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: #d0d0e8 !important;
|
||||
}
|
||||
|
||||
.footer a:hover {
|
||||
color: #00f0ff !important;
|
||||
}
|
||||
|
||||
.footer-title {
|
||||
color: #ffffff !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.footer-links a {
|
||||
color: #d0d0e8 !important;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.footer-links a:hover {
|
||||
color: #00f0ff !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ BADGES
|
||||
========================================== */
|
||||
|
||||
.badge {
|
||||
font-weight: 600;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.badge.bg-primary {
|
||||
background: linear-gradient(135deg, #00f0ff 0%, #7a3eff 100%) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.badge.bg-success {
|
||||
background: var(--color-success) !important;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.badge.bg-warning {
|
||||
background: var(--color-warning) !important;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.badge.bg-danger {
|
||||
background: var(--color-error) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.badge.bg-info {
|
||||
background: var(--color-accent) !important;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ ALERTS
|
||||
========================================== */
|
||||
|
||||
.alert {
|
||||
border: 1px solid;
|
||||
background-color: rgba(19, 19, 26, 0.8) !important;
|
||||
}
|
||||
|
||||
.alert-info {
|
||||
border-color: rgba(0, 240, 255, 0.5) !important;
|
||||
background-color: rgba(0, 240, 255, 0.1) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.alert-warning {
|
||||
border-color: rgba(255, 184, 0, 0.5) !important;
|
||||
background-color: rgba(255, 184, 0, 0.1) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
border-color: rgba(0, 255, 157, 0.5) !important;
|
||||
background-color: rgba(0, 255, 157, 0.1) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.alert-danger {
|
||||
border-color: rgba(255, 42, 109, 0.5) !important;
|
||||
background-color: rgba(255, 42, 109, 0.1) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ ACCORDION
|
||||
========================================== */
|
||||
|
||||
.accordion-item {
|
||||
background: rgba(19, 19, 26, 0.8) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
||||
}
|
||||
|
||||
.accordion-button {
|
||||
background: rgba(19, 19, 26, 0.9) !important;
|
||||
color: #ffffff !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.accordion-button:not(.collapsed) {
|
||||
background: rgba(0, 240, 255, 0.1) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.accordion-body {
|
||||
background: rgba(19, 19, 26, 0.7) !important;
|
||||
color: #d0d0e8 !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ИСПРАВЛЕНИЕ CODE BLOCKS
|
||||
========================================== */
|
||||
|
||||
pre {
|
||||
background: rgba(10, 10, 15, 0.9) !important;
|
||||
border: 1px solid rgba(0, 240, 255, 0.2) !important;
|
||||
border-radius: 8px;
|
||||
padding: 1.5rem !important;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
code {
|
||||
color: #00f0ff !important;
|
||||
background: rgba(0, 240, 255, 0.1) !important;
|
||||
padding: 0.2rem 0.5rem;
|
||||
border-radius: 4px;
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
|
||||
pre code {
|
||||
background: transparent !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
LIGHT THEME ИСПРАВЛЕНИЯ
|
||||
========================================== */
|
||||
|
||||
[data-theme="light"] body {
|
||||
color: #1a1a2e !important;
|
||||
}
|
||||
|
||||
[data-theme="light"] h1,
|
||||
[data-theme="light"] h2,
|
||||
[data-theme="light"] h3,
|
||||
[data-theme="light"] h4,
|
||||
[data-theme="light"] h5,
|
||||
[data-theme="light"] h6 {
|
||||
color: #1a1a2e !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
[data-theme="light"] .glass-card,
|
||||
[data-theme="light"] .card {
|
||||
background: rgba(255, 255, 255, 0.95) !important;
|
||||
color: #1a1a2e !important;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1) !important;
|
||||
}
|
||||
|
||||
[data-theme="light"] .text-muted {
|
||||
color: #6b6b8f !important;
|
||||
}
|
||||
|
||||
[data-theme="light"] .navbar {
|
||||
background: rgba(248, 249, 255, 0.95) !important;
|
||||
}
|
||||
|
||||
[data-theme="light"] .nav-link {
|
||||
color: #1a1a2e !important;
|
||||
}
|
||||
|
||||
[data-theme="light"] .nav-link:hover,
|
||||
[data-theme="light"] .nav-link.active {
|
||||
color: #00f0ff !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
RESPONSIVE ИСПРАВЛЕНИЯ
|
||||
========================================== */
|
||||
|
||||
@media (max-width: 991px) {
|
||||
/* Убираем наложения на планшетах */
|
||||
.sticky-top {
|
||||
position: relative !important;
|
||||
top: 0 !important;
|
||||
}
|
||||
|
||||
/* Увеличиваем padding в карточках */
|
||||
.card-body {
|
||||
padding: 1.5rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
/* Мобильные устройства - увеличиваем отступы */
|
||||
section {
|
||||
padding: 60px 0;
|
||||
}
|
||||
|
||||
section:first-of-type {
|
||||
padding-top: 100px;
|
||||
}
|
||||
|
||||
/* Уменьшаем padding в карточках на мобильных */
|
||||
.card-body {
|
||||
padding: 1rem !important;
|
||||
}
|
||||
|
||||
/* Убираем сложные эффекты на мобильных */
|
||||
.glass-card {
|
||||
backdrop-filter: none !important;
|
||||
background: rgba(19, 19, 26, 0.95) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ДОПОЛНИТЕЛЬНЫЕ ИСПРАВЛЕНИЯ
|
||||
========================================== */
|
||||
|
||||
/* Убираем переполнение */
|
||||
* {
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/* Убираем горизонтальный скролл */
|
||||
body, html {
|
||||
overflow-x: hidden !important;
|
||||
}
|
||||
|
||||
/* Плавные переходы для всех изменений */
|
||||
* {
|
||||
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
|
||||
}
|
||||
|
||||
/* Улучшенная видимость focus */
|
||||
*:focus {
|
||||
outline: 2px solid var(--color-accent) !important;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
button:focus,
|
||||
a:focus {
|
||||
outline: 2px solid var(--color-accent) !important;
|
||||
}
|
||||
|
||||
/* Убираем outline на мышиных кликах */
|
||||
*:focus:not(:focus-visible) {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ANIMATED BACKGROUND CANVAS
|
||||
========================================== */
|
||||
|
||||
/* Canvas фон на всю страницу */
|
||||
#phantomBackground {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
z-index: -2;
|
||||
pointer-events: none;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Для light темы - уменьшаем видимость фона */
|
||||
[data-theme="light"] #phantomBackground {
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
/* На мобильных уменьшаем количество частиц (через JS) */
|
||||
@media (max-width: 767px) {
|
||||
#phantomBackground {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user