Skip to content

Commit fc25b75

Browse files
committed
Changed the footer
1 parent 65be556 commit fc25b75

13 files changed

Lines changed: 627 additions & 2936 deletions

File tree

src/css/custom.css

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,66 +1409,6 @@ html {
14091409
color: inherit;
14101410
}
14111411

1412-
/* ===== BASIC FOOTER PROTECTION ===== */
1413-
/* Prevent global dark theme container rule from affecting footer */
1414-
[data-theme="dark"] .enhanced-footer .container {
1415-
background-color: transparent !important;
1416-
}
1417-
1418-
/* ===== FOOTER BACKGROUND PROTECTION ===== */
1419-
/* Ensure footer maintains its gradient background in dark mode */
1420-
[data-theme="dark"] .enhanced-footer {
1421-
background: linear-gradient(135deg,
1422-
#0f0f23 0%,
1423-
#1a1a2e 25%,
1424-
#16213e 50%,
1425-
#0f3460 75%,
1426-
#533483 100%) !important;
1427-
color: #e2e8f0 !important;
1428-
}
1429-
1430-
/* ===== STEP 5: FOOTER SECTION PROTECTION ===== */
1431-
/* Protect specific footer sections from global overrides */
1432-
[data-theme="dark"] .enhanced-footer .footer-links-section {
1433-
background: rgba(0, 0, 0, 0.15) !important;
1434-
}
1435-
1436-
[data-theme="dark"] .enhanced-footer .footer-bottom {
1437-
background: rgba(0, 0, 0, 0.2) !important;
1438-
}
1439-
1440-
/* ===== STEP 6: MAXIMUM SPECIFICITY PROTECTION ===== */
1441-
/* Override the exact problematic global rule with same specificity */
1442-
[data-theme="dark"] body:not(:has(.community-page)) .enhanced-footer .container {
1443-
background-color: transparent !important;
1444-
}
1445-
1446-
[data-theme="dark"] body:not(:has(.community-page)) .enhanced-footer {
1447-
background: linear-gradient(135deg,
1448-
#0f0f23 0%,
1449-
#1a1a2e 25%,
1450-
#16213e 50%,
1451-
#0f3460 75%,
1452-
#533483 100%) !important;
1453-
color: #e2e8f0 !important;
1454-
}
1455-
1456-
/* ===== STEP 7: COMPREHENSIVE ELEMENT PROTECTION ===== */
1457-
/* Protect all footer elements from any global overrides */
1458-
[data-theme="dark"] .enhanced-footer *,
1459-
[data-theme="dark"] .enhanced-footer .row,
1460-
[data-theme="dark"] .enhanced-footer .col,
1461-
[data-theme="dark"] .enhanced-footer div,
1462-
[data-theme="dark"] .enhanced-footer section {
1463-
background-color: transparent !important;
1464-
}
1465-
1466-
/* Ensure text colors inherit properly */
1467-
[data-theme="dark"] .enhanced-footer,
1468-
[data-theme="dark"] .enhanced-footer * {
1469-
color: inherit !important;
1470-
}
1471-
14721412
/* ===== REMOVE THEME TOGGLE FROM MOBILE SIDEBAR AS THERE IS ONE ON THE NAVBAR ===== */
14731413
@media (max-width: 1200px) {
14741414

src/theme/Footer/Copyright/index.tsx

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/theme/Footer/Layout/Counter.tsx

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)