Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,31 @@ blockquote::before {
height: 200px;
}
}

/* モバイルでもデスクトップメニューを表示する */
@media (max-width: 684px) {
/* デスクトップメニューを表示 */
.menu--desktop {
display: flex !important;
}

/* モバイルメニューのトリガーボタンを非表示 */
.menu--mobile .menu__trigger {
display: none !important;
}

/* PC表示と同じように横並びにする */
.navigation-menu__inner {
flex-direction: row !important;
flex-wrap: wrap !important;
}

.navigation-menu__inner > li:not(:last-of-type) {
margin-right: 20px !important;
}

/* 上下の要素との距離を均等にする */
.navigation-menu {
margin: 20px 0 0 !important;
}
}