|
| 1 | +/* Dashboard Layout */ |
| 2 | +.dashboard-layout { |
| 3 | + display: flex; |
| 4 | + min-height: 100vh; |
| 5 | + background-color: var(--ifm-background-color); |
| 6 | +} |
| 7 | + |
| 8 | +/* Sidebar Styles */ |
| 9 | +.dashboard-sidebar { |
| 10 | + width: 250px; |
| 11 | + background: var(--ifm-card-background-color); |
| 12 | + border-right: 1px solid var(--ifm-toc-border-color); |
| 13 | + padding: 1.5rem 0; |
| 14 | + position: fixed; |
| 15 | + height: 100vh; |
| 16 | + overflow-y: auto; |
| 17 | + z-index: 100; |
| 18 | +} |
| 19 | + |
| 20 | +.sidebar-logo { |
| 21 | + padding: 0 1.5rem 1.5rem; |
| 22 | + border-bottom: 1px solid var(--ifm-toc-border-color); |
| 23 | + margin-bottom: 1.5rem; |
| 24 | +} |
| 25 | + |
| 26 | +.sidebar-logo h2 { |
| 27 | + margin: 0; |
| 28 | + color: var(--ifm-color-primary); |
| 29 | +} |
| 30 | + |
| 31 | +.sidebar-nav { |
| 32 | + list-style: none; |
| 33 | + padding: 0; |
| 34 | + margin: 0; |
| 35 | +} |
| 36 | + |
| 37 | +.nav-item { |
| 38 | + display: flex; |
| 39 | + align-items: center; |
| 40 | + padding: 0.75rem 1.5rem; |
| 41 | + cursor: pointer; |
| 42 | + transition: all 0.2s ease; |
| 43 | + color: var(--ifm-font-color-base); |
| 44 | +} |
| 45 | + |
| 46 | +.nav-item:hover { |
| 47 | + background: var(--ifm-menu-color-background-active); |
| 48 | + color: var(--ifm-color-primary); |
| 49 | +} |
| 50 | + |
| 51 | +.nav-item.active { |
| 52 | + background: var(--ifm-menu-color-background-active); |
| 53 | + border-left: 3px solid var(--ifm-color-primary); |
| 54 | + color: var(--ifm-color-primary); |
| 55 | + font-weight: 600; |
| 56 | +} |
| 57 | + |
| 58 | +.nav-icon { |
| 59 | + margin-right: 0.75rem; |
| 60 | + font-size: 1.25rem; |
| 61 | +} |
| 62 | + |
| 63 | +/* Main Content */ |
| 64 | +.dashboard-main { |
| 65 | + flex: 1; |
| 66 | + margin-left: 250px; /* Match sidebar width */ |
| 67 | + padding: 2rem; |
| 68 | + max-width: calc(100% - 250px); |
| 69 | +} |
| 70 | + |
| 71 | +.dashboard-main.discuss-view { |
| 72 | + max-width: 100%; |
| 73 | +} |
| 74 | + |
| 75 | +/* Discussion Section */ |
| 76 | +.discussion-container { |
| 77 | + max-width: 800px; |
| 78 | + margin: 0 auto; |
| 79 | + padding: 2rem 0; |
| 80 | +} |
| 81 | + |
| 82 | +.discussion-container h2 { |
| 83 | + font-size: 2rem; |
| 84 | + margin-bottom: 1rem; |
| 85 | + color: var(--ifm-heading-color); |
| 86 | +} |
| 87 | + |
| 88 | +.discussion-container p { |
| 89 | + color: var(--ifm-color-emphasis-700); |
| 90 | + margin-bottom: 2rem; |
| 91 | + font-size: 1.1rem; |
| 92 | + line-height: 1.6; |
| 93 | +} |
| 94 | + |
| 95 | +.giscus-container { |
| 96 | + margin-top: 2rem; |
| 97 | + background: var(--ifm-card-background-color); |
| 98 | + border-radius: 8px; |
| 99 | + padding: 2rem; |
| 100 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); |
| 101 | +} |
| 102 | + |
1 | 103 | /* Dashboard Container */ |
2 | 104 | .dashboard-container { |
3 | 105 | max-width: 1200px; |
|
0 commit comments