|
189 | 189 | display: none; |
190 | 190 | } |
191 | 191 |
|
192 | | -/* ========================================================================== |
193 | | - 2. ボタン (Disabled) |
194 | | - ========================================================================== */ |
195 | | -/* |
196 | | -.btn { |
197 | | - display: inline-flex; |
198 | | - align-items: center; |
199 | | - justify-content: center; |
200 | | - gap: 0.5rem; |
201 | | - padding: 0.75rem 1.25rem; |
202 | | - border-radius: var(--radius-md); |
203 | | - font-size: 1rem; |
204 | | - font-weight: 600; |
205 | | - border: 1px solid transparent; |
206 | | - cursor: pointer; |
207 | | - text-decoration: none; |
208 | | - transition: var(--transition-smooth); |
209 | | -} |
210 | | -
|
211 | | -.btn-primary { |
212 | | - background: linear-gradient( |
213 | | - 135deg, |
214 | | - var(--color-accent-dark) 0%, |
215 | | - var(--color-accent) 100% |
216 | | - ); |
217 | | - border-color: var(--color-accent-dark); |
218 | | - color: #fff; |
219 | | - box-shadow: var(--shadow-md); |
220 | | -} |
221 | | -
|
222 | | -.btn-primary:hover { |
223 | | - transform: translateY(-2px); |
224 | | - box-shadow: var(--shadow-lg), var(--shadow-glow); |
225 | | - background: linear-gradient( |
226 | | - 135deg, |
227 | | - var(--color-accent) 0%, |
228 | | - var(--color-accent-dark) 100% |
229 | | - ); |
230 | | -} |
231 | | -*/ |
232 | | - |
233 | 192 | /* ========================================================================== |
234 | 193 | 3. サイドパネル |
235 | 194 | ========================================================================== */ |
|
466 | 425 |
|
467 | 426 | /* コンテンツカードのリンク化対応 */ |
468 | 427 | .section--top-grid .card-list li { |
469 | | - display: flex; /* aタグの高さを揃えるためにflex化 */ |
| 428 | + display: flex; |
470 | 429 | } |
471 | 430 |
|
472 | 431 | .card--link { |
|
486 | 445 | } |
487 | 446 |
|
488 | 447 | .card--link p { |
489 | | - flex-grow: 1; /* 下部余白を埋めて、"もっと見る"を下揃えに */ |
| 448 | + flex-grow: 1; |
490 | 449 | } |
491 | 450 |
|
492 | 451 | .card__more { |
|
518 | 477 | } |
519 | 478 |
|
520 | 479 | /* ========================================================================== |
521 | | - 8. 最近の更新(サイドバー)の改善 |
| 480 | + 8. 最近の更新(サイドバー) |
522 | 481 | ========================================================================== */ |
523 | 482 | .home-latest-item { |
524 | 483 | background: var(--color-surface); |
|
0 commit comments