TRM-coding | fa3ffdf | 2025-06-09 22:47:42 +0800 | [diff] [blame] | 1 | /* NeuraFlux - 共享欧式园林风格样式 */ |
| 2 | |
| 3 | /* 引入Google字体 */ |
| 4 | @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lora:wght@400;500;600&display=swap'); |
| 5 | |
| 6 | /* 页面基础样式 */ |
| 7 | .emerald-home-container { |
| 8 | min-height: 100vh; |
| 9 | background: linear-gradient(135deg, #2d5016 0%, #4a7c59 20%, #8fbc8f 40%, #98fb98 60%, #f0fff0 100%); |
| 10 | position: relative; |
| 11 | font-family: 'Lora', serif; |
| 12 | overflow-x: hidden; |
| 13 | } |
| 14 | |
| 15 | /* 背景装饰元素 */ |
| 16 | .emerald-home-container::before { |
| 17 | content: ''; |
| 18 | position: fixed; |
| 19 | top: 0; |
| 20 | left: 0; |
| 21 | right: 0; |
| 22 | bottom: 0; |
| 23 | background: |
| 24 | radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%), |
| 25 | radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%), |
| 26 | radial-gradient(circle at 40% 40%, rgba(144, 238, 144, 0.08) 0%, transparent 50%); |
| 27 | animation: backgroundShift 25s ease-in-out infinite; |
| 28 | pointer-events: none; |
| 29 | z-index: 0; |
| 30 | } |
| 31 | |
| 32 | /* 流星雨效果 */ |
| 33 | .meteor-shower { |
| 34 | position: fixed; |
| 35 | top: 0; |
| 36 | left: 0; |
| 37 | width: 100%; |
| 38 | height: 100%; |
| 39 | pointer-events: none; |
| 40 | overflow: hidden; |
| 41 | z-index: 1; |
| 42 | } |
| 43 | |
| 44 | .meteor { |
| 45 | position: absolute; |
| 46 | font-size: 18px; |
| 47 | animation: meteorFall linear infinite; |
| 48 | opacity: 0.8; |
| 49 | filter: drop-shadow(0 0 6px rgba(144, 238, 144, 0.6)); |
| 50 | } |
| 51 | |
| 52 | .meteor:nth-child(1) { left: 5%; animation-duration: 12s; animation-delay: 0s; } |
| 53 | .meteor:nth-child(2) { left: 15%; animation-duration: 8s; animation-delay: 3s; } |
| 54 | .meteor:nth-child(3) { left: 25%; animation-duration: 15s; animation-delay: 1s; } |
| 55 | .meteor:nth-child(4) { left: 35%; animation-duration: 10s; animation-delay: 5s; } |
| 56 | .meteor:nth-child(5) { left: 45%; animation-duration: 13s; animation-delay: 2s; } |
| 57 | .meteor:nth-child(6) { left: 55%; animation-duration: 9s; animation-delay: 6s; } |
| 58 | .meteor:nth-child(7) { left: 65%; animation-duration: 14s; animation-delay: 0.5s; } |
| 59 | .meteor:nth-child(8) { left: 75%; animation-duration: 11s; animation-delay: 4s; } |
| 60 | .meteor:nth-child(9) { left: 85%; animation-duration: 16s; animation-delay: 1.5s; } |
| 61 | .meteor:nth-child(10) { left: 95%; animation-duration: 7s; animation-delay: 3.5s; } |
| 62 | |
| 63 | /* 浮动装饰元素 */ |
| 64 | .floating-garden-elements { |
| 65 | position: fixed; |
| 66 | top: 0; |
| 67 | left: 0; |
| 68 | width: 100%; |
| 69 | height: 100%; |
| 70 | pointer-events: none; |
| 71 | z-index: 1; |
| 72 | } |
| 73 | |
| 74 | .garden-element { |
| 75 | position: absolute; |
| 76 | font-size: 24px; |
| 77 | opacity: 0.4; |
| 78 | animation: gardenFloat 6s ease-in-out infinite; |
| 79 | } |
| 80 | |
| 81 | .garden-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; } |
| 82 | .garden-element:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; } |
| 83 | .garden-element:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; } |
| 84 | .garden-element:nth-child(4) { bottom: 15%; right: 25%; animation-delay: 1s; } |
| 85 | |
| 86 | /* 内容容器 */ |
| 87 | .emerald-content { |
| 88 | position: relative; |
| 89 | z-index: 10; |
| 90 | padding: 20px; |
| 91 | max-width: 1400px; |
| 92 | margin: 0 auto; |
| 93 | } |
| 94 | |
| 95 | /* 用户栏样式 */ |
| 96 | .emerald-user-bar { |
| 97 | position: fixed; |
| 98 | top: 18px; |
| 99 | right: 42px; |
| 100 | z-index: 100; |
| 101 | display: flex; |
| 102 | align-items: center; |
| 103 | background: rgba(255, 255, 255, 0.95); |
| 104 | backdrop-filter: blur(15px); |
| 105 | border-radius: 20px; |
| 106 | padding: 8px 24px; |
| 107 | box-shadow: |
| 108 | 0 8px 32px rgba(45, 80, 22, 0.15), |
| 109 | 0 4px 16px rgba(144, 238, 144, 0.1), |
| 110 | inset 0 1px 0 rgba(255, 255, 255, 0.7); |
| 111 | border: 2px solid rgba(144, 238, 144, 0.3); |
| 112 | min-width: 320px; |
| 113 | min-height: 48px; |
| 114 | width: 520px; |
| 115 | animation: userBarFloat 4s ease-in-out infinite; |
| 116 | } |
| 117 | |
| 118 | .emerald-user-bar::before { |
| 119 | content: ''; |
| 120 | position: absolute; |
| 121 | top: -2px; |
| 122 | left: -2px; |
| 123 | right: -2px; |
| 124 | bottom: -2px; |
| 125 | background: linear-gradient(45deg, |
| 126 | #90ee90 0%, |
| 127 | #98fb98 25%, |
| 128 | #f0fff0 50%, |
| 129 | #98fb98 75%, |
| 130 | #90ee90 100%); |
| 131 | border-radius: 22px; |
| 132 | z-index: -1; |
| 133 | animation: borderGlow 3s ease-in-out infinite; |
| 134 | } |
| 135 | |
| 136 | .emerald-user-avatar { |
| 137 | cursor: pointer; |
| 138 | margin-right: 16px; |
| 139 | transition: all 0.3s ease; |
| 140 | border-radius: 50%; |
| 141 | padding: 4px; |
| 142 | background: linear-gradient(135deg, #90ee90, #2d5016); |
| 143 | } |
| 144 | |
| 145 | .emerald-user-avatar:hover { |
| 146 | transform: scale(1.1) rotate(5deg); |
| 147 | box-shadow: 0 4px 15px rgba(144, 238, 144, 0.4); |
| 148 | } |
| 149 | |
| 150 | /* 品牌区域样式 */ |
| 151 | .emerald-brand-section { |
| 152 | display: flex; |
| 153 | align-items: center; |
| 154 | margin-right: 24px; |
| 155 | } |
| 156 | |
| 157 | .emerald-brand-icon { |
| 158 | font-size: 24px; |
| 159 | margin-right: 8px; |
| 160 | animation: iconPulse 3s ease-in-out infinite; |
| 161 | } |
| 162 | |
| 163 | .emerald-user-label { |
| 164 | color: #2d5016; |
| 165 | font-weight: 600; |
| 166 | font-family: 'Playfair Display', serif; |
| 167 | letter-spacing: 1px; |
| 168 | } |
| 169 | |
| 170 | .emerald-user-stats { |
| 171 | display: flex; |
| 172 | gap: 24px; |
| 173 | flex: 1; |
| 174 | justify-content: flex-end; |
| 175 | align-items: center; |
| 176 | } |
| 177 | |
| 178 | .emerald-stat-item { |
| 179 | color: #2d5016; |
| 180 | font-weight: 500; |
| 181 | font-size: 14px; |
| 182 | transition: all 0.3s ease; |
| 183 | padding: 4px 8px; |
| 184 | border-radius: 8px; |
| 185 | } |
| 186 | |
| 187 | .emerald-stat-item:hover { |
| 188 | background: rgba(144, 238, 144, 0.2); |
| 189 | transform: translateY(-2px); |
| 190 | } |
| 191 | |
| 192 | .emerald-stat-value { |
| 193 | font-weight: 700; |
| 194 | color: #1a5c1a; |
| 195 | } |
| 196 | |
| 197 | /* 导航栏样式 */ |
| 198 | .emerald-nav-bar { |
| 199 | background: rgba(255, 255, 255, 0.95); |
| 200 | backdrop-filter: blur(20px); |
| 201 | border-radius: 25px; |
| 202 | padding: 20px 30px; |
| 203 | margin: 120px auto 30px; |
| 204 | box-shadow: |
| 205 | 0 15px 45px rgba(45, 80, 22, 0.12), |
| 206 | 0 6px 20px rgba(144, 238, 144, 0.08), |
| 207 | inset 0 1px 0 rgba(255, 255, 255, 0.9); |
| 208 | border: 2px solid rgba(144, 238, 144, 0.2); |
| 209 | display: grid; |
| 210 | grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); |
| 211 | gap: 10px; |
| 212 | justify-items: center; |
| 213 | position: relative; |
| 214 | overflow: hidden; |
| 215 | } |
| 216 | |
| 217 | .emerald-nav-bar::before { |
| 218 | content: ''; |
| 219 | position: absolute; |
| 220 | top: -2px; |
| 221 | left: -2px; |
| 222 | right: -2px; |
| 223 | bottom: -2px; |
| 224 | background: linear-gradient(45deg, |
| 225 | #90ee90 0%, |
| 226 | #98fb98 25%, |
| 227 | #f0fff0 50%, |
| 228 | #98fb98 75%, |
| 229 | #90ee90 100%); |
| 230 | border-radius: 27px; |
| 231 | z-index: -1; |
| 232 | animation: borderGlow 5s ease-in-out infinite; |
| 233 | } |
| 234 | |
| 235 | /* 导航项目样式 */ |
| 236 | .emerald-nav-item { |
| 237 | display: flex; |
| 238 | flex-direction: column; |
| 239 | align-items: center; |
| 240 | padding: 16px 20px; |
| 241 | border-radius: 18px; |
| 242 | cursor: pointer; |
| 243 | transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); |
| 244 | background: rgba(240, 255, 240, 0.3); |
| 245 | border: 2px solid transparent; |
| 246 | position: relative; |
| 247 | overflow: hidden; |
| 248 | min-width: 90px; |
| 249 | font-family: 'Lora', serif; |
| 250 | } |
| 251 | |
| 252 | .emerald-nav-item::before { |
| 253 | content: ''; |
| 254 | position: absolute; |
| 255 | top: 0; |
| 256 | left: -100%; |
| 257 | width: 100%; |
| 258 | height: 100%; |
| 259 | background: linear-gradient(90deg, transparent, rgba(144, 238, 144, 0.3), transparent); |
| 260 | transition: left 0.6s ease; |
| 261 | } |
| 262 | |
| 263 | .emerald-nav-item:hover::before { |
| 264 | left: 100%; |
| 265 | } |
| 266 | |
| 267 | .emerald-nav-item:hover { |
| 268 | transform: translateY(-8px) scale(1.05); |
| 269 | background: rgba(144, 238, 144, 0.2); |
| 270 | border-color: rgba(144, 238, 144, 0.4); |
| 271 | box-shadow: |
| 272 | 0 12px 35px rgba(45, 80, 22, 0.2), |
| 273 | 0 6px 20px rgba(144, 238, 144, 0.15); |
| 274 | } |
| 275 | |
| 276 | .emerald-nav-item.active { |
| 277 | background: linear-gradient(135deg, #90ee90 0%, #2d5016 100%); |
| 278 | color: white; |
| 279 | border-color: #2d5016; |
| 280 | transform: translateY(-4px); |
| 281 | box-shadow: |
| 282 | 0 8px 25px rgba(45, 80, 22, 0.3), |
| 283 | 0 4px 15px rgba(144, 238, 144, 0.2); |
| 284 | } |
| 285 | |
| 286 | /* 导航图标动画 */ |
| 287 | .emerald-nav-icon { |
| 288 | font-size: 28px !important; |
| 289 | margin-bottom: 8px; |
| 290 | transition: all 0.4s ease; |
| 291 | position: relative; |
| 292 | } |
| 293 | |
| 294 | .emerald-nav-item:hover .emerald-nav-icon { |
| 295 | animation: iconDance 0.6s ease-in-out; |
| 296 | transform: scale(1.2); |
| 297 | } |
| 298 | |
| 299 | .emerald-nav-item.active .emerald-nav-icon { |
| 300 | color: white; |
| 301 | filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); |
| 302 | } |
| 303 | |
| 304 | /* 导航标签 */ |
| 305 | .emerald-nav-label { |
| 306 | font-size: 14px; |
| 307 | font-weight: 600; |
| 308 | letter-spacing: 0.5px; |
| 309 | color: #2d5016; |
| 310 | transition: all 0.3s ease; |
| 311 | } |
| 312 | |
| 313 | .emerald-nav-item:hover .emerald-nav-label { |
| 314 | color: #1a5c1a; |
| 315 | transform: scale(1.05); |
| 316 | } |
| 317 | |
| 318 | .emerald-nav-item.active .emerald-nav-label { |
| 319 | color: white; |
| 320 | font-weight: 700; |
| 321 | } |
| 322 | |
| 323 | /* 内容区域样式 */ |
| 324 | .emerald-content-section { |
| 325 | background: rgba(255, 255, 255, 0.95); |
| 326 | backdrop-filter: blur(20px); |
| 327 | border-radius: 25px; |
| 328 | padding: 30px; |
| 329 | margin: 30px auto; |
| 330 | box-shadow: |
| 331 | 0 20px 60px rgba(45, 80, 22, 0.12), |
| 332 | 0 8px 25px rgba(144, 238, 144, 0.08), |
| 333 | inset 0 1px 0 rgba(255, 255, 255, 0.9); |
| 334 | border: 2px solid rgba(144, 238, 144, 0.2); |
| 335 | position: relative; |
| 336 | overflow: hidden; |
| 337 | } |
| 338 | |
| 339 | .emerald-content-section::before { |
| 340 | content: ''; |
| 341 | position: absolute; |
| 342 | top: -2px; |
| 343 | left: -2px; |
| 344 | right: -2px; |
| 345 | bottom: -2px; |
| 346 | background: linear-gradient(45deg, |
| 347 | #90ee90 0%, |
| 348 | #98fb98 25%, |
| 349 | #f0fff0 50%, |
| 350 | #98fb98 75%, |
| 351 | #90ee90 100%); |
| 352 | border-radius: 27px; |
| 353 | z-index: -1; |
| 354 | animation: borderGlow 4s ease-in-out infinite; |
| 355 | } |
| 356 | |
| 357 | .emerald-page-title { |
| 358 | text-align: center; |
| 359 | color: #2d5016; |
| 360 | font-family: 'Playfair Display', serif; |
| 361 | font-weight: 700; |
| 362 | font-size: 32px; |
| 363 | margin-bottom: 30px; |
| 364 | letter-spacing: 2px; |
| 365 | } |
| 366 | |
| 367 | /* 表格区域样式 */ |
| 368 | .emerald-table-section { |
| 369 | background: rgba(255, 255, 255, 0.95); |
| 370 | backdrop-filter: blur(20px); |
| 371 | border-radius: 25px; |
| 372 | padding: 30px; |
| 373 | margin: 30px auto; |
| 374 | box-shadow: |
| 375 | 0 20px 60px rgba(45, 80, 22, 0.12), |
| 376 | 0 8px 25px rgba(144, 238, 144, 0.08), |
| 377 | inset 0 1px 0 rgba(255, 255, 255, 0.9); |
| 378 | border: 2px solid rgba(144, 238, 144, 0.2); |
| 379 | position: relative; |
| 380 | overflow: hidden; |
| 381 | } |
| 382 | |
| 383 | .emerald-table-section::before { |
| 384 | content: ''; |
| 385 | position: absolute; |
| 386 | top: -2px; |
| 387 | left: -2px; |
| 388 | right: -2px; |
| 389 | bottom: -2px; |
| 390 | background: linear-gradient(45deg, |
| 391 | #90ee90 0%, |
| 392 | #98fb98 25%, |
| 393 | #f0fff0 50%, |
| 394 | #98fb98 75%, |
| 395 | #90ee90 100%); |
| 396 | border-radius: 27px; |
| 397 | z-index: -1; |
| 398 | animation: borderGlow 4s ease-in-out infinite; |
| 399 | } |
| 400 | |
| 401 | /* 表格样式 */ |
| 402 | .emerald-table { |
| 403 | width: 100%; |
| 404 | border-collapse: collapse; |
| 405 | font-family: 'Lora', serif; |
| 406 | background: transparent; |
| 407 | } |
| 408 | |
| 409 | .emerald-table thead { |
| 410 | background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%); |
| 411 | } |
| 412 | |
| 413 | .emerald-table th { |
| 414 | padding: 16px 20px; |
| 415 | text-align: left; |
| 416 | color: white; |
| 417 | font-weight: 600; |
| 418 | font-size: 16px; |
| 419 | letter-spacing: 1px; |
| 420 | border-bottom: 3px solid #90ee90; |
| 421 | position: relative; |
| 422 | } |
| 423 | |
| 424 | .emerald-table th:first-child { |
| 425 | border-radius: 15px 0 0 0; |
| 426 | } |
| 427 | |
| 428 | .emerald-table th:last-child { |
| 429 | border-radius: 0 15px 0 0; |
| 430 | } |
| 431 | |
| 432 | .emerald-table tbody tr { |
| 433 | transition: all 0.3s ease; |
| 434 | border-bottom: 1px solid rgba(144, 238, 144, 0.2); |
| 435 | } |
| 436 | |
| 437 | .emerald-table tbody tr:hover { |
| 438 | background: rgba(144, 238, 144, 0.1); |
| 439 | transform: translateX(5px); |
| 440 | box-shadow: 0 4px 15px rgba(144, 238, 144, 0.15); |
| 441 | } |
| 442 | |
| 443 | .emerald-table td { |
| 444 | padding: 14px 20px; |
| 445 | color: #2d5016; |
| 446 | font-size: 15px; |
| 447 | vertical-align: middle; |
| 448 | transition: all 0.3s ease; |
| 449 | } |
| 450 | |
| 451 | .emerald-table tbody tr:hover td { |
| 452 | color: #1a5c1a; |
| 453 | } |
| 454 | |
| 455 | /* 表格链接样式 */ |
| 456 | .emerald-table a { |
| 457 | color: #2d5016; |
| 458 | text-decoration: none; |
| 459 | font-weight: 500; |
| 460 | transition: all 0.3s ease; |
| 461 | padding: 4px 8px; |
| 462 | border-radius: 8px; |
| 463 | display: inline-block; |
| 464 | } |
| 465 | |
| 466 | .emerald-table a:hover { |
| 467 | color: #1a5c1a; |
| 468 | background: rgba(144, 238, 144, 0.2); |
| 469 | transform: translateY(-2px); |
| 470 | box-shadow: 0 4px 12px rgba(144, 238, 144, 0.3); |
| 471 | } |
| 472 | |
| 473 | /* 论坛页面专用样式 */ |
| 474 | |
| 475 | /* 文字雨背景效果 */ |
| 476 | .forum-text-rain { |
| 477 | position: fixed; |
| 478 | top: 0; |
| 479 | left: 0; |
| 480 | width: 100%; |
| 481 | height: 100%; |
| 482 | pointer-events: none; |
| 483 | overflow: hidden; |
| 484 | z-index: 1; |
| 485 | } |
| 486 | |
| 487 | .text-drop { |
| 488 | position: absolute; |
| 489 | top: -50px; |
| 490 | font-size: 14px; |
| 491 | color: rgba(45, 80, 22, 0.6); |
| 492 | font-family: 'Lora', serif; |
| 493 | font-weight: 500; |
| 494 | animation: textFall linear infinite; |
| 495 | filter: drop-shadow(0 0 4px rgba(144, 238, 144, 0.3)); |
| 496 | } |
| 497 | |
| 498 | @keyframes textFall { |
| 499 | 0% { |
| 500 | top: -50px; |
| 501 | opacity: 0; |
| 502 | transform: translateX(0); |
| 503 | } |
| 504 | 10% { |
| 505 | opacity: 1; |
| 506 | } |
| 507 | 90% { |
| 508 | opacity: 1; |
| 509 | } |
| 510 | 100% { |
| 511 | top: 100vh; |
| 512 | opacity: 0; |
| 513 | transform: translateX(20px); |
| 514 | } |
| 515 | } |
| 516 | |
| 517 | /* 论坛工具栏样式 */ |
| 518 | .forum-toolbar { |
| 519 | display: flex; |
| 520 | justify-content: space-between; |
| 521 | align-items: center; |
| 522 | margin-bottom: 30px; |
| 523 | padding: 20px 30px; |
| 524 | background: rgba(255, 255, 255, 0.95); |
| 525 | backdrop-filter: blur(15px); |
| 526 | border-radius: 20px; |
| 527 | box-shadow: |
| 528 | 0 8px 32px rgba(45, 80, 22, 0.12), |
| 529 | 0 4px 16px rgba(144, 238, 144, 0.08); |
| 530 | border: 2px solid rgba(144, 238, 144, 0.2); |
| 531 | gap: 20px; |
| 532 | } |
| 533 | |
| 534 | .search-section { |
| 535 | display: flex; |
| 536 | align-items: center; |
| 537 | gap: 0; |
| 538 | flex: 1; |
| 539 | max-width: 500px; |
| 540 | } |
| 541 | |
| 542 | .search-input-container { |
| 543 | position: relative; |
| 544 | flex: 1; |
| 545 | display: flex; |
| 546 | align-items: center; |
| 547 | } |
| 548 | |
| 549 | .search-icon { |
| 550 | position: absolute; |
| 551 | left: 15px; |
| 552 | top: 50%; |
| 553 | transform: translateY(-50%); |
| 554 | color: rgba(45, 80, 22, 0.6); |
| 555 | font-size: 20px !important; |
| 556 | } |
| 557 | |
| 558 | .forum-search-input { |
| 559 | width: 100%; |
| 560 | padding: 12px 20px 12px 50px; |
| 561 | border: 2px solid rgba(144, 238, 144, 0.3); |
| 562 | border-radius: 25px 0 0 25px; |
| 563 | background: rgba(240, 255, 240, 0.5); |
| 564 | font-size: 16px; |
| 565 | font-family: 'Lora', serif; |
| 566 | outline: none; |
| 567 | transition: all 0.3s ease; |
| 568 | border-right: none; |
| 569 | } |
| 570 | |
| 571 | .forum-search-input:focus { |
| 572 | border-color: rgba(144, 238, 144, 0.6); |
| 573 | background: rgba(240, 255, 240, 0.8); |
| 574 | box-shadow: 0 0 15px rgba(144, 238, 144, 0.2); |
| 575 | } |
| 576 | |
| 577 | .forum-search-btn { |
| 578 | padding: 14px 20px; |
| 579 | border: 2px solid rgba(144, 238, 144, 0.3); |
| 580 | border-left: none; |
| 581 | border-radius: 0 25px 25px 0; |
| 582 | background: linear-gradient(135deg, #2d5016 0%, #90ee90 100%); |
| 583 | color: white; |
| 584 | font-size: 16px; |
| 585 | font-family: 'Lora', serif; |
| 586 | font-weight: 500; |
| 587 | cursor: pointer; |
| 588 | transition: all 0.3s ease; |
| 589 | box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2); |
| 590 | white-space: nowrap; |
| 591 | } |
| 592 | |
| 593 | .forum-search-btn:hover { |
| 594 | background: linear-gradient(135deg, #1a3d0e 0%, #7ddc7d 100%); |
| 595 | transform: translateY(-1px); |
| 596 | box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3); |
| 597 | } |
| 598 | |
| 599 | .forum-search-input:focus + .forum-search-btn { |
| 600 | border-color: rgba(144, 238, 144, 0.6); |
| 601 | } |
| 602 | |
| 603 | .new-post-btn { |
| 604 | display: flex; |
| 605 | align-items: center; |
| 606 | padding: 12px 20px; |
| 607 | border: none; |
| 608 | border-radius: 20px; |
| 609 | background: linear-gradient(135deg, #90ee90 0%, #2d5016 100%); |
| 610 | color: white; |
| 611 | font-size: 16px; |
| 612 | font-family: 'Lora', serif; |
| 613 | font-weight: 500; |
| 614 | cursor: pointer; |
| 615 | transition: all 0.3s ease; |
| 616 | box-shadow: 0 4px 15px rgba(144, 238, 144, 0.2); |
| 617 | } |
| 618 | |
| 619 | .new-post-btn:hover { |
| 620 | transform: translateY(-2px) scale(1.02); |
| 621 | box-shadow: 0 6px 20px rgba(144, 238, 144, 0.3); |
| 622 | } |
| 623 | |
| 624 | /* 论坛帖子容器 */ |
| 625 | .forum-posts-container { |
| 626 | display: flex; |
| 627 | flex-direction: column; |
| 628 | gap: 20px; |
| 629 | } |
| 630 | |
| 631 | /* 论坛帖子卡片样式 */ |
| 632 | .forum-post-card { |
| 633 | background: rgba(255, 255, 255, 0.95); |
| 634 | backdrop-filter: blur(15px); |
| 635 | border-radius: 20px; |
| 636 | padding: 25px 30px; |
| 637 | border: 2px solid rgba(144, 238, 144, 0.2); |
| 638 | cursor: pointer; |
| 639 | transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); |
| 640 | position: relative; |
| 641 | overflow: hidden; |
| 642 | box-shadow: 0 8px 25px rgba(45, 80, 22, 0.1); |
| 643 | } |
| 644 | |
| 645 | .forum-post-card::before { |
| 646 | content: ''; |
| 647 | position: absolute; |
| 648 | top: 0; |
| 649 | left: -100%; |
| 650 | width: 100%; |
| 651 | height: 100%; |
| 652 | background: linear-gradient(90deg, transparent, rgba(144, 238, 144, 0.1), transparent); |
| 653 | transition: left 0.6s ease; |
| 654 | } |
| 655 | |
| 656 | .forum-post-card:hover::before { |
| 657 | left: 100%; |
| 658 | } |
| 659 | |
| 660 | .forum-post-card:hover { |
| 661 | transform: translateY(-8px) scale(1.02); |
| 662 | border-color: rgba(144, 238, 144, 0.4); |
| 663 | box-shadow: |
| 664 | 0 15px 40px rgba(45, 80, 22, 0.15), |
| 665 | 0 8px 25px rgba(144, 238, 144, 0.1); |
| 666 | } |
| 667 | |
| 668 | /* 帖子头部信息 */ |
| 669 | .post-header { |
| 670 | display: flex; |
| 671 | justify-content: space-between; |
| 672 | align-items: center; |
| 673 | margin-bottom: 15px; |
| 674 | } |
| 675 | |
| 676 | .post-author-info { |
| 677 | display: flex; |
| 678 | align-items: center; |
| 679 | gap: 12px; |
| 680 | } |
| 681 | |
| 682 | .author-avatar { |
| 683 | width: 40px; |
| 684 | height: 40px; |
| 685 | border-radius: 50%; |
| 686 | background: linear-gradient(135deg, #90ee90, #2d5016); |
| 687 | display: flex; |
| 688 | align-items: center; |
| 689 | justify-content: center; |
| 690 | box-shadow: 0 2px 10px rgba(45, 80, 22, 0.2); |
| 691 | } |
| 692 | |
| 693 | .author-details { |
| 694 | display: flex; |
| 695 | flex-direction: column; |
| 696 | gap: 2px; |
| 697 | } |
| 698 | |
| 699 | .author-name { |
| 700 | font-weight: 600; |
| 701 | color: #2d5016; |
| 702 | font-size: 16px; |
| 703 | font-family: 'Lora', serif; |
| 704 | } |
| 705 | |
| 706 | .post-time { |
| 707 | font-size: 12px; |
| 708 | color: rgba(45, 80, 22, 0.7); |
| 709 | } |
| 710 | |
| 711 | .post-stats { |
| 712 | display: flex; |
| 713 | gap: 15px; |
| 714 | } |
| 715 | |
| 716 | .stat-item { |
| 717 | background: rgba(144, 238, 144, 0.2); |
| 718 | padding: 4px 10px; |
| 719 | border-radius: 12px; |
| 720 | font-size: 12px; |
| 721 | color: #2d5016; |
| 722 | font-weight: 500; |
| 723 | } |
| 724 | |
| 725 | /* 帖子内容区域 */ |
| 726 | .post-content { |
| 727 | margin: 15px 0; |
| 728 | } |
| 729 | |
| 730 | .post-title { |
| 731 | font-family: 'Playfair Display', serif; |
| 732 | font-size: 20px; |
| 733 | font-weight: 700; |
| 734 | color: #2d5016; |
| 735 | margin-bottom: 10px; |
| 736 | line-height: 1.3; |
| 737 | } |
| 738 | |
| 739 | .post-preview { |
| 740 | font-size: 15px; |
| 741 | color: rgba(45, 80, 22, 0.8); |
| 742 | line-height: 1.5; |
| 743 | display: -webkit-box; |
| 744 | -webkit-line-clamp: 2; |
| 745 | line-clamp: 2; |
| 746 | -webkit-box-orient: vertical; |
| 747 | overflow: hidden; |
| 748 | } |
| 749 | |
| 750 | /* 帖子底部 */ |
| 751 | .post-footer { |
| 752 | display: flex; |
| 753 | justify-content: space-between; |
| 754 | align-items: center; |
| 755 | margin-top: 15px; |
| 756 | padding-top: 15px; |
| 757 | border-top: 1px solid rgba(144, 238, 144, 0.2); |
| 758 | } |
| 759 | |
| 760 | .post-tags { |
| 761 | display: flex; |
| 762 | gap: 8px; |
| 763 | } |
| 764 | |
| 765 | .post-tag { |
| 766 | background: linear-gradient(135deg, #90ee90, #2d5016); |
| 767 | color: white; |
| 768 | padding: 4px 12px; |
| 769 | border-radius: 15px; |
| 770 | font-size: 12px; |
| 771 | font-weight: 500; |
| 772 | } |
| 773 | |
| 774 | .post-actions { |
| 775 | display: flex; |
| 776 | gap: 10px; |
| 777 | } |
| 778 | |
| 779 | .action-btn { |
| 780 | color: #2d5016; |
| 781 | font-size: 14px; |
| 782 | font-weight: 500; |
| 783 | transition: all 0.3s ease; |
| 784 | } |
| 785 | |
| 786 | .action-btn:hover { |
| 787 | color: #90ee90; |
| 788 | transform: translateX(3px); |
| 789 | } |
| 790 | |
| 791 | /* 帖子详情页面样式 */ |
| 792 | .post-detail-header { |
| 793 | margin: 20px 0; |
| 794 | display: flex; |
| 795 | justify-content: flex-start; |
| 796 | } |
| 797 | |
| 798 | .back-to-forum-btn { |
| 799 | background: rgba(144, 238, 144, 0.2); |
| 800 | border: 2px solid rgba(144, 238, 144, 0.4); |
| 801 | border-radius: 20px; |
| 802 | padding: 12px 24px; |
| 803 | color: #2d5016; |
| 804 | font-weight: 600; |
| 805 | cursor: pointer; |
| 806 | transition: all 0.3s ease; |
| 807 | display: flex; |
| 808 | align-items: center; |
| 809 | font-family: 'Lora', serif; |
| 810 | backdrop-filter: blur(10px); |
| 811 | } |
| 812 | |
| 813 | .back-to-forum-btn:hover { |
| 814 | background: rgba(144, 238, 144, 0.3); |
| 815 | transform: translateY(-2px); |
| 816 | box-shadow: 0 8px 20px rgba(45, 80, 22, 0.15); |
| 817 | } |
| 818 | |
| 819 | .post-detail-main { |
| 820 | background: rgba(255, 255, 255, 0.98); |
| 821 | border-radius: 20px; |
| 822 | padding: 30px; |
| 823 | margin-bottom: 30px; |
| 824 | border: 2px solid rgba(144, 238, 144, 0.2); |
| 825 | box-shadow: 0 15px 40px rgba(45, 80, 22, 0.08); |
| 826 | position: relative; |
| 827 | overflow: hidden; |
| 828 | } |
| 829 | |
| 830 | .post-detail-main::before { |
| 831 | content: ''; |
| 832 | position: absolute; |
| 833 | top: -2px; |
| 834 | left: -2px; |
| 835 | right: -2px; |
| 836 | bottom: -2px; |
| 837 | background: linear-gradient(45deg, |
| 838 | #90ee90 0%, |
| 839 | #98fb98 25%, |
| 840 | #f0fff0 50%, |
| 841 | #98fb98 75%, |
| 842 | #90ee90 100%); |
| 843 | border-radius: 22px; |
| 844 | z-index: -1; |
| 845 | animation: borderGlow 6s ease-in-out infinite; |
| 846 | } |
| 847 | |
| 848 | .post-detail-header-info { |
| 849 | display: flex; |
| 850 | justify-content: space-between; |
| 851 | align-items: flex-start; |
| 852 | margin-bottom: 25px; |
| 853 | padding-bottom: 20px; |
| 854 | border-bottom: 2px solid rgba(144, 238, 144, 0.2); |
| 855 | } |
| 856 | |
| 857 | .post-author-section { |
| 858 | display: flex; |
| 859 | align-items: center; |
| 860 | gap: 15px; |
| 861 | } |
| 862 | |
| 863 | .post-author-avatar { |
| 864 | padding: 8px; |
| 865 | background: linear-gradient(135deg, rgba(144, 238, 144, 0.2), rgba(240, 255, 240, 0.6)); |
| 866 | border-radius: 50%; |
| 867 | border: 2px solid rgba(144, 238, 144, 0.3); |
| 868 | } |
| 869 | |
| 870 | .post-author-details h2.post-author-name { |
| 871 | margin: 0; |
| 872 | font-size: 22px; |
| 873 | color: #2d5016; |
| 874 | font-weight: 700; |
| 875 | font-family: 'Playfair Display', serif; |
| 876 | } |
| 877 | |
| 878 | .post-publish-time { |
| 879 | color: #666; |
| 880 | font-size: 14px; |
| 881 | font-style: italic; |
| 882 | } |
| 883 | |
| 884 | .post-stats-section { |
| 885 | display: flex; |
| 886 | gap: 15px; |
| 887 | align-items: center; |
| 888 | } |
| 889 | |
| 890 | .stat-badge { |
| 891 | display: flex; |
| 892 | align-items: center; |
| 893 | background: rgba(144, 238, 144, 0.15); |
| 894 | padding: 8px 16px; |
| 895 | border-radius: 20px; |
| 896 | border: 1px solid rgba(144, 238, 144, 0.3); |
| 897 | color: #2d5016; |
| 898 | font-weight: 500; |
| 899 | font-size: 14px; |
| 900 | transition: all 0.3s ease; |
| 901 | } |
| 902 | |
| 903 | .stat-badge:hover { |
| 904 | background: rgba(144, 238, 144, 0.25); |
| 905 | transform: translateY(-2px); |
| 906 | } |
| 907 | |
| 908 | .post-content-section { |
| 909 | margin-top: 20px; |
| 910 | } |
| 911 | |
| 912 | .post-detail-title { |
| 913 | font-size: 28px; |
| 914 | color: #2d5016; |
| 915 | font-weight: 700; |
| 916 | margin-bottom: 20px; |
| 917 | font-family: 'Playfair Display', serif; |
| 918 | line-height: 1.3; |
| 919 | } |
| 920 | |
| 921 | .post-detail-content { |
| 922 | font-size: 16px; |
| 923 | line-height: 1.8; |
| 924 | color: #444; |
| 925 | background: rgba(240, 255, 240, 0.3); |
| 926 | padding: 25px; |
| 927 | border-radius: 15px; |
| 928 | border-left: 4px solid #90ee90; |
| 929 | font-family: 'Lora', serif; |
| 930 | } |
| 931 | |
| 932 | /* 回复区域样式 */ |
| 933 | .replies-section { |
| 934 | margin-top: 30px; |
| 935 | } |
| 936 | |
| 937 | .replies-title { |
| 938 | display: flex; |
| 939 | align-items: center; |
| 940 | font-size: 22px; |
| 941 | color: #2d5016; |
| 942 | font-weight: 600; |
| 943 | margin-bottom: 25px; |
| 944 | font-family: 'Playfair Display', serif; |
| 945 | } |
| 946 | |
| 947 | .replies-list { |
| 948 | display: flex; |
| 949 | flex-direction: column; |
| 950 | gap: 20px; |
| 951 | } |
| 952 | |
| 953 | .reply-card { |
| 954 | display: flex; |
| 955 | background: rgba(255, 255, 255, 0.95); |
| 956 | border-radius: 15px; |
| 957 | padding: 20px; |
| 958 | border: 1px solid rgba(144, 238, 144, 0.2); |
| 959 | transition: all 0.3s ease; |
| 960 | position: relative; |
| 961 | overflow: hidden; |
| 962 | } |
| 963 | |
| 964 | .reply-card::before { |
| 965 | content: ''; |
| 966 | position: absolute; |
| 967 | top: -1px; |
| 968 | left: -1px; |
| 969 | right: -1px; |
| 970 | bottom: -1px; |
| 971 | background: linear-gradient(45deg, |
| 972 | transparent 0%, |
| 973 | rgba(144, 238, 144, 0.1) 50%, |
| 974 | transparent 100%); |
| 975 | border-radius: 16px; |
| 976 | z-index: -1; |
| 977 | opacity: 0; |
| 978 | transition: opacity 0.3s ease; |
| 979 | } |
| 980 | |
| 981 | .reply-card:hover::before { |
| 982 | opacity: 1; |
| 983 | } |
| 984 | |
| 985 | .reply-card:hover { |
| 986 | transform: translateY(-3px); |
| 987 | box-shadow: 0 10px 25px rgba(45, 80, 22, 0.1); |
| 988 | } |
| 989 | |
| 990 | .reply-index { |
| 991 | background: linear-gradient(135deg, #90ee90, #2d5016); |
| 992 | color: white; |
| 993 | width: 35px; |
| 994 | height: 35px; |
| 995 | border-radius: 50%; |
| 996 | display: flex; |
| 997 | align-items: center; |
| 998 | justify-content: center; |
| 999 | font-weight: 700; |
| 1000 | font-size: 14px; |
| 1001 | margin-right: 20px; |
| 1002 | flex-shrink: 0; |
| 1003 | box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2); |
| 1004 | } |
| 1005 | |
| 1006 | .reply-content-wrapper { |
| 1007 | flex: 1; |
| 1008 | } |
| 1009 | |
| 1010 | .reply-author-info { |
| 1011 | display: flex; |
| 1012 | align-items: center; |
| 1013 | margin-bottom: 12px; |
| 1014 | gap: 8px; |
| 1015 | } |
| 1016 | |
| 1017 | .reply-author-name { |
| 1018 | font-weight: 600; |
| 1019 | color: #2d5016; |
| 1020 | font-size: 16px; |
| 1021 | } |
| 1022 | |
| 1023 | .reply-time { |
| 1024 | color: #888; |
| 1025 | font-size: 13px; |
| 1026 | font-style: italic; |
| 1027 | } |
| 1028 | |
| 1029 | .reply-content { |
| 1030 | color: #444; |
| 1031 | font-size: 15px; |
| 1032 | line-height: 1.6; |
| 1033 | font-family: 'Lora', serif; |
| 1034 | } |
| 1035 | |
| 1036 | .no-replies { |
| 1037 | text-align: center; |
| 1038 | padding: 60px 20px; |
| 1039 | color: #666; |
| 1040 | background: rgba(240, 255, 240, 0.3); |
| 1041 | border-radius: 20px; |
| 1042 | border: 2px dashed rgba(144, 238, 144, 0.3); |
| 1043 | } |
| 1044 | |
| 1045 | .no-replies p { |
| 1046 | margin: 0; |
| 1047 | font-size: 16px; |
| 1048 | font-style: italic; |
| 1049 | } |
| 1050 | |
| 1051 | /* 回复输入区域样式 */ |
| 1052 | .reply-input-section { |
| 1053 | margin-top: 40px; |
| 1054 | background: rgba(255, 255, 255, 0.98); |
| 1055 | border-radius: 20px; |
| 1056 | padding: 30px; |
| 1057 | border: 2px solid rgba(144, 238, 144, 0.2); |
| 1058 | position: relative; |
| 1059 | overflow: hidden; |
| 1060 | } |
| 1061 | |
| 1062 | .reply-input-section::before { |
| 1063 | content: ''; |
| 1064 | position: absolute; |
| 1065 | top: -2px; |
| 1066 | left: -2px; |
| 1067 | right: -2px; |
| 1068 | bottom: -2px; |
| 1069 | background: linear-gradient(45deg, |
| 1070 | #90ee90 0%, |
| 1071 | #98fb98 25%, |
| 1072 | #f0fff0 50%, |
| 1073 | #98fb98 75%, |
| 1074 | #90ee90 100%); |
| 1075 | border-radius: 22px; |
| 1076 | z-index: -1; |
| 1077 | animation: borderGlow 5s ease-in-out infinite; |
| 1078 | } |
| 1079 | |
| 1080 | .reply-input-title { |
| 1081 | color: #2d5016; |
| 1082 | font-size: 20px; |
| 1083 | font-weight: 600; |
| 1084 | margin-bottom: 20px; |
| 1085 | font-family: 'Playfair Display', serif; |
| 1086 | } |
| 1087 | |
| 1088 | .reply-input-wrapper { |
| 1089 | display: flex; |
| 1090 | flex-direction: column; |
| 1091 | gap: 15px; |
| 1092 | } |
| 1093 | |
| 1094 | .reply-textarea { |
| 1095 | width: 100%; |
| 1096 | border: 2px solid rgba(144, 238, 144, 0.3); |
| 1097 | border-radius: 15px; |
| 1098 | padding: 20px; |
| 1099 | font-size: 15px; |
| 1100 | font-family: 'Lora', serif; |
| 1101 | line-height: 1.6; |
| 1102 | background: rgba(240, 255, 240, 0.2); |
| 1103 | resize: vertical; |
| 1104 | min-height: 120px; |
| 1105 | transition: all 0.3s ease; |
| 1106 | box-sizing: border-box; |
| 1107 | } |
| 1108 | |
| 1109 | .reply-textarea:focus { |
| 1110 | outline: none; |
| 1111 | border-color: #90ee90; |
| 1112 | background: rgba(240, 255, 240, 0.4); |
| 1113 | box-shadow: 0 0 0 3px rgba(144, 238, 144, 0.2); |
| 1114 | } |
| 1115 | |
| 1116 | .reply-textarea::placeholder { |
| 1117 | color: #999; |
| 1118 | font-style: italic; |
| 1119 | } |
| 1120 | |
| 1121 | .reply-actions { |
| 1122 | display: flex; |
| 1123 | justify-content: space-between; |
| 1124 | align-items: center; |
| 1125 | } |
| 1126 | |
| 1127 | .reply-tips { |
| 1128 | color: #666; |
| 1129 | font-size: 14px; |
| 1130 | font-style: italic; |
| 1131 | } |
| 1132 | |
| 1133 | .submit-reply-btn { |
| 1134 | background: linear-gradient(135deg, #90ee90, #2d5016); |
| 1135 | color: white; |
| 1136 | border: none; |
| 1137 | border-radius: 20px; |
| 1138 | padding: 12px 30px; |
| 1139 | font-size: 16px; |
| 1140 | font-weight: 600; |
| 1141 | cursor: pointer; |
| 1142 | transition: all 0.3s ease; |
| 1143 | display: flex; |
| 1144 | align-items: center; |
| 1145 | font-family: 'Lora', serif; |
| 1146 | box-shadow: 0 6px 20px rgba(45, 80, 22, 0.2); |
| 1147 | } |
| 1148 | |
| 1149 | .submit-reply-btn:hover { |
| 1150 | transform: translateY(-3px); |
| 1151 | box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3); |
| 1152 | background: linear-gradient(135deg, #7dd87d, #1a4a1a); |
| 1153 | } |
| 1154 | |
| 1155 | .submit-reply-btn:active { |
| 1156 | transform: translateY(-1px); |
| 1157 | } |
| 1158 | |
| 1159 | /* 动画定义 */ |
| 1160 | @keyframes backgroundShift { |
| 1161 | 0%, 100% { opacity: 1; } |
| 1162 | 50% { opacity: 0.7; } |
| 1163 | } |
| 1164 | |
| 1165 | @keyframes meteorFall { |
| 1166 | 0% { |
| 1167 | transform: translateY(-100vh) translateX(-50px) rotate(0deg); |
| 1168 | opacity: 0; |
| 1169 | } |
| 1170 | 10% { |
| 1171 | opacity: 0.8; |
| 1172 | } |
| 1173 | 90% { |
| 1174 | opacity: 0.8; |
| 1175 | } |
| 1176 | 100% { |
| 1177 | transform: translateY(100vh) translateX(50px) rotate(360deg); |
| 1178 | opacity: 0; |
| 1179 | } |
| 1180 | } |
| 1181 | |
| 1182 | @keyframes gardenFloat { |
| 1183 | 0%, 100% { |
| 1184 | transform: translateY(0px) rotate(0deg); |
| 1185 | opacity: 0.4; |
| 1186 | } |
| 1187 | 50% { |
| 1188 | transform: translateY(-15px) rotate(180deg); |
| 1189 | opacity: 0.6; |
| 1190 | } |
| 1191 | } |
| 1192 | |
| 1193 | @keyframes userBarFloat { |
| 1194 | 0%, 100% { |
| 1195 | transform: translateY(0px); |
| 1196 | } |
| 1197 | 50% { |
| 1198 | transform: translateY(-3px); |
| 1199 | } |
| 1200 | } |
| 1201 | |
| 1202 | @keyframes borderGlow { |
| 1203 | 0%, 100% { |
| 1204 | opacity: 0.6; |
| 1205 | } |
| 1206 | 50% { |
| 1207 | opacity: 1; |
| 1208 | } |
| 1209 | } |
| 1210 | |
| 1211 | @keyframes iconDance { |
| 1212 | 0%, 100% { |
| 1213 | transform: scale(1) rotate(0deg); |
| 1214 | } |
| 1215 | 25% { |
| 1216 | transform: scale(1.1) rotate(5deg); |
| 1217 | } |
| 1218 | 50% { |
| 1219 | transform: scale(1.2) rotate(0deg); |
| 1220 | } |
| 1221 | 75% { |
| 1222 | transform: scale(1.1) rotate(-5deg); |
| 1223 | } |
| 1224 | } |
| 1225 | |
| 1226 | @keyframes iconPulse { |
| 1227 | 0%, 100% { |
| 1228 | transform: scale(1); |
| 1229 | } |
| 1230 | 50% { |
| 1231 | transform: scale(1.1); |
| 1232 | } |
| 1233 | } |
| 1234 | |
| 1235 | /* 响应式设计 */ |
| 1236 | @media (max-width: 1200px) { |
| 1237 | .emerald-user-bar { |
| 1238 | width: 440px; |
| 1239 | right: 20px; |
| 1240 | } |
| 1241 | |
| 1242 | .emerald-nav-bar { |
| 1243 | margin: 100px 20px 20px; |
| 1244 | padding: 16px 20px; |
| 1245 | grid-template-columns: repeat(6, 1fr); |
| 1246 | } |
| 1247 | |
| 1248 | .emerald-nav-item { |
| 1249 | min-width: 80px; |
| 1250 | padding: 12px 16px; |
| 1251 | } |
| 1252 | } |
| 1253 | |
| 1254 | @media (max-width: 768px) { |
| 1255 | .emerald-user-bar { |
| 1256 | position: relative; |
| 1257 | top: 0; |
| 1258 | right: 0; |
| 1259 | width: 100%; |
| 1260 | margin: 20px 0; |
| 1261 | flex-direction: column; |
| 1262 | gap: 16px; |
| 1263 | } |
| 1264 | |
| 1265 | .emerald-brand-section { |
| 1266 | margin-right: 0; |
| 1267 | justify-content: center; |
| 1268 | } |
| 1269 | |
| 1270 | .emerald-user-stats { |
| 1271 | flex-direction: column; |
| 1272 | gap: 8px; |
| 1273 | width: 100%; |
| 1274 | } |
| 1275 | |
| 1276 | .emerald-nav-bar { |
| 1277 | margin: 20px 10px; |
| 1278 | padding: 16px; |
| 1279 | grid-template-columns: repeat(4, 1fr); |
| 1280 | gap: 12px; |
| 1281 | } |
| 1282 | |
| 1283 | .emerald-nav-item { |
| 1284 | min-width: 70px; |
| 1285 | padding: 10px 12px; |
| 1286 | } |
| 1287 | |
| 1288 | .emerald-nav-icon { |
| 1289 | font-size: 24px !important; |
| 1290 | } |
| 1291 | |
| 1292 | .emerald-nav-label { |
| 1293 | font-size: 12px; |
| 1294 | } |
| 1295 | |
| 1296 | .emerald-content-section { |
| 1297 | margin: 20px 10px; |
| 1298 | padding: 20px 15px; |
| 1299 | } |
| 1300 | |
| 1301 | .meteor { |
| 1302 | font-size: 14px; |
| 1303 | } |
| 1304 | |
| 1305 | .garden-element { |
| 1306 | font-size: 20px; |
| 1307 | } |
| 1308 | |
| 1309 | .forum-toolbar { |
| 1310 | flex-direction: column; |
| 1311 | gap: 15px; |
| 1312 | padding: 15px 20px; |
| 1313 | } |
| 1314 | |
| 1315 | .search-section { |
| 1316 | width: 100%; |
| 1317 | max-width: none; |
| 1318 | } |
| 1319 | |
| 1320 | .search-input-container { |
| 1321 | max-width: none; |
| 1322 | } |
| 1323 | |
| 1324 | .forum-search-input { |
| 1325 | border-radius: 25px 0 0 25px; |
| 1326 | } |
| 1327 | |
| 1328 | .forum-search-btn { |
| 1329 | border-radius: 0 25px 25px 0; |
| 1330 | padding: 14px 16px; |
| 1331 | } |
| 1332 | |
| 1333 | .forum-post-card { |
| 1334 | padding: 20px; |
| 1335 | } |
| 1336 | |
| 1337 | .post-header { |
| 1338 | flex-direction: column; |
| 1339 | align-items: flex-start; |
| 1340 | gap: 10px; |
| 1341 | } |
| 1342 | |
| 1343 | .post-footer { |
| 1344 | flex-direction: column; |
| 1345 | align-items: flex-start; |
| 1346 | gap: 10px; |
| 1347 | } |
| 1348 | } |
| 1349 | |
| 1350 | @media (max-width: 480px) { |
| 1351 | .emerald-nav-bar { |
| 1352 | grid-template-columns: repeat(3, 1fr); |
| 1353 | gap: 8px; |
| 1354 | padding: 12px; |
| 1355 | } |
| 1356 | |
| 1357 | .emerald-nav-item { |
| 1358 | min-width: 60px; |
| 1359 | padding: 8px 10px; |
| 1360 | } |
| 1361 | |
| 1362 | .emerald-nav-icon { |
| 1363 | font-size: 20px !important; |
| 1364 | } |
| 1365 | |
| 1366 | .emerald-nav-label { |
| 1367 | font-size: 11px; |
| 1368 | } |
| 1369 | |
| 1370 | .emerald-table-section { |
| 1371 | margin: 20px 10px; |
| 1372 | padding: 20px 15px; |
| 1373 | } |
| 1374 | |
| 1375 | .emerald-table th, |
| 1376 | .emerald-table td { |
| 1377 | padding: 10px 12px; |
| 1378 | font-size: 13px; |
| 1379 | } |
| 1380 | |
| 1381 | .forum-toolbar { |
| 1382 | padding: 12px 15px; |
| 1383 | } |
| 1384 | |
| 1385 | .search-section { |
| 1386 | flex-direction: column; |
| 1387 | gap: 10px; |
| 1388 | } |
| 1389 | |
| 1390 | .forum-search-input { |
| 1391 | border-radius: 20px; |
| 1392 | border: 2px solid rgba(144, 238, 144, 0.3); |
| 1393 | border-bottom: none; |
| 1394 | } |
| 1395 | |
| 1396 | .forum-search-btn { |
| 1397 | border-radius: 20px; |
| 1398 | border: 2px solid rgba(144, 238, 144, 0.3); |
| 1399 | border-top: none; |
| 1400 | width: 100%; |
| 1401 | } |
| 1402 | |
| 1403 | .post-detail-title { |
| 1404 | font-size: 24px; |
| 1405 | } |
| 1406 | |
| 1407 | .post-detail-content { |
| 1408 | font-size: 14px; |
| 1409 | } |
| 1410 | |
| 1411 | .reply-textarea { |
| 1412 | padding: 15px; |
| 1413 | } |
| 1414 | |
| 1415 | .submit-reply-btn { |
| 1416 | padding: 10px 20px; |
| 1417 | font-size: 14px; |
| 1418 | } |
| 1419 | } |