Spaces:
Runtime error
Runtime error
File size: 6,278 Bytes
02b7502 66b1e34 02b7502 66b1e34 02b7502 7585217 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 7585217 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 02b7502 66b1e34 7585217 02b7502 | 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 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 | /* Import Poppins for that clean, punchy look you liked */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
/* ======================================================
THEME VARIABLES — POLISHED VIBRANT GLASS
====================================================== */
:root {
/* Richer, deeper gradient for better text contrast */
--bg-gradient: linear-gradient(135deg, #4158d0 0%, #c850c0 46%, #ffcc70 100%);
/* Crystal Clear Glass - slightly more transparent for "cool" factor */
--bg-card: rgba(255, 255, 255, 0.82);
--bg-navbar: rgba(255, 255, 255, 0.747);
/* Crisp Typography */
--text-main: #2d3436;
--text-muted: #636e72;
--text-heading: #1e272e;
/* Formal yet Bold Accents */
--accent: #6c5ce7;
--accent-hover: #4834d4;
--border-color: rgba(255, 255, 255, 0.6);
/* Elevation Shadows */
--shadow-md: 0 12px 30px rgba(0, 0, 0, 0.12);
--glass-blur: blur(12px);
--transition-cubic: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
/* ======================================================
GLOBAL STYLES
====================================================== */
* {
box-sizing: border-box;
}
body {
background: var(--bg-gradient);
background-attachment: fixed;
min-height: 100vh;
color: var(--text-main);
margin-top: 5.5rem; /* Adjusted for navbar height */
font-family: 'Poppins', sans-serif;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
color: var(--text-heading);
font-weight: 700;
letter-spacing: -0.03em;
}
a {
color: var(--accent);
text-decoration: none;
transition: var(--transition-cubic);
}
/* ======================================================
NAVBAR (Enhanced & Responsive)
====================================================== */
.bg-steel {
background: var(--bg-navbar) !important;
backdrop-filter: var(--glass-blur);
-webkit-backdrop-filter: var(--glass-blur);
border-bottom: 1px solid var(--border-color);
}
.site-header {
position: fixed;
top: 0;
width: 100%;
z-index: 1050;
padding: 0.8rem 0;
}
.site-header .navbar-brand {
font-weight: 800;
color: var(--accent) !important;
font-size: 1.4rem;
letter-spacing: -0.5px;
}
.site-header .nav-link {
color: var(--text-main) !important;
font-weight: 500;
padding: 0.5rem 1.2rem !important;
border-radius: 8px;
transition: var(--transition-cubic);
}
.site-header .nav-link:hover {
background: rgba(108, 92, 231, 0.1);
color: var(--accent) !important;
}
/* Mobile Nav Menu Style */
@media (max-width: 991px) {
.navbar-collapse {
background: rgb(255, 255, 255);
margin-top: 1rem;
padding: 1rem;
border-radius: 15px;
}
}
/* ======================================================
CONTENT CARDS (Formal Glass + Shimmer)
====================================================== */
.content-section {
background: var(--bg-card);
backdrop-filter: var(--glass-blur);
-webkit-backdrop-filter: var(--glass-blur);
padding: 2.2rem;
border-radius: 24px;
margin-bottom: 2rem;
border: 1px solid var(--border-color);
box-shadow: var(--shadow-md);
position: relative;
overflow: hidden; /* For shimmer effect */
transition: var(--transition-cubic);
}
/* Subtle Shimmer Effect on Card */
.content-section::after {
content: "";
position: absolute;
top: 0; left: -100%;
width: 100%; height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: 0.6s;
}
.content-section:hover {
transform: translateY(-6px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}
.content-section:hover::after {
left: 100%;
}
/* ======================================================
ARTICLES & IMAGES
====================================================== */
.article-title {
font-size: 1.75rem;
font-weight: 800;
color: var(--text-heading);
}
.article-metadata {
display: flex;
align-items: center;
font-size: 0.85rem;
font-weight: 500;
color: var(--text-muted);
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
padding-bottom: 1rem;
margin-bottom: 1.5rem;
}
.article-img {
height: 55px;
width: 55px;
border-radius: 16px;
border: 2px solid #fff;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.account-img {
height: 120px;
width: 120px;
border-radius: 35px;
border: 5px solid #fff;
box-shadow: var(--shadow-md);
}
/* ======================================================
BUTTONS & FORMS
====================================================== */
.btn-outline-info {
background: var(--accent);
color: #fff !important;
border: none;
font-weight: 600;
border-radius: 14px;
padding: 0.8rem 2.2rem;
box-shadow: 0 6px 20px rgba(108, 92, 231, 0.3);
transition: var(--transition-cubic);
}
.btn-outline-info:hover {
background: var(--accent-hover);
transform: translateY(-3px) scale(1.03);
box-shadow: 0 10px 25px rgba(108, 92, 231, 0.4);
}
.form-control {
background: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 14px;
padding: 0.8rem 1.2rem;
transition: var(--transition-cubic);
}
.form-control:focus {
background: #fff;
border-color: var(--accent);
box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15);
}
/* ======================================================
RESPONSIVE DESIGN TWEAKS
====================================================== */
@media (max-width: 768px) {
body { margin-top: 5rem; }
.content-section {
padding: 1.5rem;
border-radius: 0; /* Cleaner for edge-to-edge mobile screens */
border-left: none;
border-right: none;
}
.article-title { font-size: 1.4rem; }
.account-img {
height: 90px;
width: 90px;
}
}
/* Style for the actual Hamburger Button */
.navbar-toggler {
border: none;
background: rgba(108, 92, 231, 0.1); /* Subtle purple glass tint */
backdrop-filter: blur(5px);
padding: 8px;
border-radius: 10px;
transition: var(--transition-cubic);
}
.navbar-toggler:focus {
box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
outline: none;
}
/* Make the 3-line icon purple to match your accent */
.navbar-toggler-icon {
filter: invert(45%) sepia(50%) saturate(3000%) hue-rotate(220deg) brightness(95%) contrast(90%);
} |