File size: 4,591 Bytes
7a3f743 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
/*
=============================================================================
Project: WHITE-BOX-CARTOONIZATION
Authors: Amey Thakur & Mega Satish
Date: 2021-08-28
Repository: https://github.com/Amey-Thakur/WHITE-BOX-CARTOONIZATION
Profiles: https://github.com/Amey-Thakur | https://github.com/msatmod
=============================================================================
theme.css
===========================================
🌈 THEME SYSTEM - Dark/Light Mode Toggle
*/
/* Theme Toggle & Fullscreen Buttons */
.theme-toggle-btn,
.fullscreen-btn {
position: relative;
background: rgba(15, 23, 42, 0.8);
backdrop-filter: blur(10px);
color: var(--text-light);
border: 1px solid rgba(14, 165, 233, 0.5);
width: 44px;
height: 44px;
border-radius: 8px;
cursor: pointer;
font-size: 1.2rem;
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
display: flex;
justify-content: center;
align-items: center;
padding: 0;
}
.theme-toggle-btn:hover {
background: rgba(14, 165, 233, 0.9);
transform: scale(1.1);
box-shadow: 0 6px 15px rgba(14, 165, 233, 0.5);
}
/* Default Dark Mode (already defined in style.css) */
:root {
--bg-dark: #0f172a;
--bg-darker: #020617;
--card-bg: rgba(255, 255, 255, 0.96);
--text-light: #f1f5f9;
--text-muted: #94a3b8;
--accent-primary: #0ea5e9;
--accent-hover: #0284c7;
--accent-glow: 0 0 15px rgba(14, 165, 233, 0.4);
}
/* Light Mode Theme */
body.light-mode {
background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
color: #1e293b;
}
.light-mode .header {
background-color: rgba(255, 255, 255, 0.7);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.light-mode .header h1 {
color: #1e293b;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.light-mode .card-box {
background-color: #ffffff;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
border: 1px solid rgba(0, 0, 0, 0.1);
}
.light-mode .card-box:hover {
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}
.light-mode .image-area {
background-color: #f8fafc;
border-color: #cbd5e1;
}
.light-mode .image-area:hover {
border-color: var(--accent-primary);
background-color: #f1f5f9;
}
.light-mode .placeholder-text {
color: #64748b;
}
.light-mode .site-footer {
background-color: rgba(255, 255, 255, 0.9);
border-top: 1px solid rgba(0, 0, 0, 0.1);
color: #334155;
}
.light-mode .footer-col h4 {
color: var(--accent-primary);
border-bottom: 2px solid rgba(14, 165, 233, 0.3);
}
.light-mode .footer-col a {
color: #475569;
}
.light-mode .footer-col a:hover {
color: var(--accent-primary);
}
.light-mode .footer-col .highlight {
color: #1e293b;
}
.light-mode .footer-col .sub-text {
color: #64748b;
}
.light-mode .link-group .separator {
color: #94a3b8;
}
/* Light mode buttons */
.light-mode .theme-toggle-btn,
.light-mode .fullscreen-btn {
background: rgba(255, 255, 255, 0.9);
color: #1e293b;
border: 1px solid rgba(14, 165, 233, 0.3);
}
.light-mode .theme-toggle-btn:hover,
.light-mode .fullscreen-btn:hover {
background: rgba(14, 165, 233, 0.2);
border-color: var(--accent-primary);
}
/* Light mode cinematic overlay */
.light-mode .cinematic-overlay {
background-color: rgba(255, 255, 255, 0.95);
}
.light-mode .cinematic-title {
background: linear-gradient(to right, #1e293b, #64748b);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.light-mode .credits-label {
color: #64748b;
}
.light-mode .credits-name {
color: #334155;
}
/* Light mode notification toast */
.light-mode .keyboard-notification {
background: rgba(255, 255, 255, 0.95);
color: #1e293b;
border: 1px solid rgba(14, 165, 233, 0.5);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
0 0 20px rgba(14, 165, 233, 0.3);
}
/* Light mode loader */
.light-mode .creative-loader {
background: rgba(255, 255, 255, 0.95);
}
.light-mode .loader-content p {
color: #334155;
}
.light-mode .stroke-line {
background: var(--accent-primary);
}
/* Smooth transitions for theme changes */
body,
.header,
.card-box,
.site-footer,
.theme-toggle-btn,
.fullscreen-btn,
.keyboard-notification,
.creative-loader,
.cinematic-overlay {
transition: background 0.3s ease,
background-color 0.3s ease,
color 0.3s ease,
border-color 0.3s ease,
box-shadow 0.3s ease;
}
/* Mobile styling is now handled in mobile.css via flexbox */ |