Skip to content

Commit 9016b9f

Browse files
author
y-yamasaki
committed
Merge branch 'develop'
2 parents 2b6dcb7 + 1d65e7d commit 9016b9f

5 files changed

Lines changed: 299 additions & 153 deletions

File tree

WebSite/assets/css/blog.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,3 +521,53 @@
521521
font-size: 1.5rem;
522522
}
523523
}
524+
525+
/* ==========================================================================
526+
6. ページネーション
527+
========================================================================== */
528+
.pagination {
529+
display: flex;
530+
justify-content: center;
531+
align-items: center;
532+
gap: 0.5rem;
533+
margin-top: 2.5rem;
534+
}
535+
536+
.pagination__item {
537+
--size: 2.5rem;
538+
cursor: pointer;
539+
width: var(--size);
540+
height: var(--size);
541+
display: inline-flex;
542+
align-items: center;
543+
justify-content: center;
544+
padding: 0;
545+
margin: 0;
546+
border-radius: var(--radius-md);
547+
border: 1px solid var(--color-border);
548+
background: var(--color-surface);
549+
color: var(--color-text);
550+
font-size: 0.95rem;
551+
font-weight: 500;
552+
transition: var(--transition-smooth);
553+
}
554+
555+
.pagination__item:hover:not(:disabled):not(.is-active) {
556+
background: var(--color-accent-soft);
557+
border-color: var(--color-accent);
558+
color: var(--color-heading);
559+
transform: translateY(-2px);
560+
}
561+
562+
.pagination__item:disabled {
563+
cursor: not-allowed;
564+
opacity: 0.4;
565+
}
566+
567+
.pagination__item.is-active {
568+
background: var(--color-accent);
569+
border-color: var(--color-accent);
570+
color: #fff;
571+
font-weight: 700;
572+
box-shadow: var(--shadow-glow);
573+
}

WebSite/assets/css/layout.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,19 @@
243243
opacity: 1;
244244
}
245245

246+
/* ==========================================================================
247+
4. ページ全体のレイアウト
248+
========================================================================== */
249+
.page-shell {
250+
flex-grow: 1;
251+
display: flex;
252+
flex-direction: column;
253+
}
254+
255+
.main-container {
256+
flex-grow: 1;
257+
}
258+
246259
/* ==========================================================================
247260
4. フッター
248261
========================================================================== */

0 commit comments

Comments
 (0)