|
| 1 | +/* What's New Section Styling */ |
| 2 | +.whats-new-container { |
| 3 | + display: grid; |
| 4 | + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
| 5 | + gap: 20px; |
| 6 | + margin: 30px 0; |
| 7 | +} |
| 8 | + |
| 9 | +.new-feature-card { |
| 10 | + background: var(--pst-color-surface); |
| 11 | + border: 1px solid var(--pst-color-border); |
| 12 | + border-radius: 12px; |
| 13 | + padding: 25px; |
| 14 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); |
| 15 | + transition: transform 0.2s ease, box-shadow 0.2s ease; |
| 16 | + position: relative; |
| 17 | + overflow: hidden; |
| 18 | + color: var(--pst-color-text-base); |
| 19 | +} |
| 20 | + |
| 21 | +[data-theme="dark"] .new-feature-card { |
| 22 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); |
| 23 | +} |
| 24 | + |
| 25 | +.new-feature-card:hover { |
| 26 | + transform: translateY(-2px); |
| 27 | + box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); |
| 28 | +} |
| 29 | + |
| 30 | +[data-theme="dark"] .new-feature-card:hover { |
| 31 | + box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); |
| 32 | +} |
| 33 | + |
| 34 | +.new-feature-card h3 { |
| 35 | + margin-top: 0; |
| 36 | + margin-bottom: 15px; |
| 37 | + font-size: 1.3em; |
| 38 | + font-weight: 600; |
| 39 | + color: inherit; |
| 40 | +} |
| 41 | + |
| 42 | +.new-feature-card ul { |
| 43 | + margin: 15px 0; |
| 44 | + padding-left: 20px; |
| 45 | +} |
| 46 | + |
| 47 | +.new-feature-card li { |
| 48 | + margin-bottom: 8px; |
| 49 | + line-height: 1.5; |
| 50 | +} |
| 51 | + |
| 52 | +/* Feedback Component */ |
| 53 | +.feedback-container { |
| 54 | + border-top: 1px solid var(--pst-color-border); |
| 55 | + margin-top: 40px; |
| 56 | + padding: 24px; |
| 57 | + background-color: var(--pst-color-surface); |
| 58 | + border-radius: 8px; |
| 59 | + border: 1px solid var(--pst-color-border); |
| 60 | +} |
| 61 | + |
| 62 | +.feedback-question { |
| 63 | + font-size: 20px; |
| 64 | + font-weight: 500; |
| 65 | + color: var(--pst-color-text-base); |
| 66 | + margin-bottom: 20px; |
| 67 | + text-align: left; |
| 68 | +} |
| 69 | + |
| 70 | +.feedback-buttons { |
| 71 | + display: flex; |
| 72 | + justify-content: flex-start; |
| 73 | + gap: 12px; |
| 74 | +} |
| 75 | + |
| 76 | +.feedback-btn { |
| 77 | + display: flex; |
| 78 | + align-items: center; |
| 79 | + gap: 8px; |
| 80 | + padding: 8px 16px; |
| 81 | + border: 1px solid var(--pst-color-border); |
| 82 | + border-radius: 6px; |
| 83 | + background: var(--pst-color-surface); |
| 84 | + color: var(--pst-color-text-muted); |
| 85 | + font-size: 14px; |
| 86 | + cursor: pointer; |
| 87 | + transition: all 0.2s ease; |
| 88 | +} |
| 89 | + |
| 90 | +.feedback-btn:hover { |
| 91 | + border-color: var(--pst-color-primary); |
| 92 | + background: var(--pst-color-surface); |
| 93 | +} |
| 94 | + |
| 95 | +.feedback-btn.selected { |
| 96 | + border-color: var(--pst-color-primary); |
| 97 | + background: var(--pst-color-primary-bg); |
| 98 | + color: var(--pst-color-primary); |
| 99 | +} |
| 100 | + |
| 101 | +.feedback-btn svg { |
| 102 | + width: 16px; |
| 103 | + height: 16px; |
| 104 | +} |
| 105 | + |
| 106 | +.feedback-thanks { |
| 107 | + display: none; |
| 108 | + color: #059669; |
| 109 | + font-size: 14px; |
| 110 | + text-align: center; |
| 111 | + margin-top: 16px; |
| 112 | +} |
| 113 | + |
| 114 | +/* Feedback Options */ |
| 115 | +.feedback-options { |
| 116 | + display: none; |
| 117 | + margin-top: 20px; |
| 118 | +} |
| 119 | + |
| 120 | +.feedback-more { |
| 121 | + display: flex; |
| 122 | + flex-direction: column; |
| 123 | + gap: 12px; |
| 124 | +} |
| 125 | + |
| 126 | +.feedback-github-link { |
| 127 | + color: #0366d6; |
| 128 | + text-decoration: none; |
| 129 | + font-size: 14px; |
| 130 | + padding: 10px 20px; |
| 131 | + border: 1px solid #0366d6; |
| 132 | + border-radius: 6px; |
| 133 | + transition: all 0.2s; |
| 134 | + font-weight: 500; |
| 135 | + align-self: flex-start; |
| 136 | +} |
| 137 | + |
| 138 | +.feedback-github-link:hover { |
| 139 | + background-color: #0366d6; |
| 140 | + color: white; |
| 141 | + text-decoration: none; |
| 142 | +} |
| 143 | + |
| 144 | +header { |
| 145 | + background-color: white; |
| 146 | + |
| 147 | + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); |
| 148 | + position: sticky; |
| 149 | + top: 0; |
| 150 | + z-index: 50; |
| 151 | +} |
| 152 | + |
| 153 | +h1 { |
| 154 | + font-size: 1.875rem; |
| 155 | + font-weight: 700; |
| 156 | + color: var(--pst-color-text-base); |
| 157 | +} |
| 158 | + |
| 159 | +h2 { |
| 160 | + font-size: 1.5rem; |
| 161 | + font-weight: 700; |
| 162 | + color: var(--pst-color-text-base); |
| 163 | +} |
| 164 | + |
| 165 | +h3 { |
| 166 | + font-size: 1.25rem; |
| 167 | + font-weight: 500; |
| 168 | + color: var(--pst-color-text-base); |
| 169 | +} |
| 170 | + |
| 171 | +p { |
| 172 | + font-size: 1.0rem; |
| 173 | + color: var(--pst-color-text-base); |
| 174 | +} |
0 commit comments