Skip to content

Commit 88929e9

Browse files
author
y-yamasaki
committed
blog main-container調整
1 parent 7aecfb6 commit 88929e9

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

WebSite/assets/css/blog.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -656,21 +656,25 @@
656656
}
657657

658658
.post-content {
659-
min-width: 0; /* flex/grid itemの幅が縮小できるようにする */
659+
min-width: 0;
660660
}
661661

662662
.post-sidebar {
663663
display: none;
664664
}
665665

666-
@media (min-width: 1120px) {
666+
@media (min-width: 1000px) {
667667
.post-layout {
668-
grid-template-columns: minmax(0, 1fr) 280px;
669-
gap: 3rem;
668+
grid-template-columns: minmax(0, 1fr) 250px;
669+
gap: 1rem;
670670
}
671671
.post-sidebar {
672672
display: block;
673673
}
674+
675+
body[data-page="blog"] .main-container {
676+
max-width: 1180px;
677+
}
674678
}
675679

676680
/* ==========================================================================
@@ -747,5 +751,5 @@
747751

748752
.toc-item a.is-active {
749753
color: var(--color-accent);
750-
font-weight: 700;
754+
font-weight: 600;
751755
}

0 commit comments

Comments
 (0)