Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions _data/staff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@
- name: じゅりっぺ
site: https://juridon.github.io/
dojo: 久留米
- name: 村地隆幸
site: https://www.doorkeeper.jp/users/dojokonanmentertakachan
dojo: 岡南
4 changes: 2 additions & 2 deletions _sass/components/staff.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
.staff {
// 奇数行目の要素の左右に margin を追加することで、1行の個数を3個に制限する
// 5, 12, 19, 26, ... の要素は左側に150pxのマージンを追加
li:nth-child(7n+5) {
margin-left: 150px
li:nth-child(7n+5):not(:last-child) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

アドホックな対処を回避しようとするとかなり煩雑になりそうなのでこの実装でよいかと思います

margin-left: 150px;
}
// 7 の倍数(7, 14, 21, 28, ...)個目の要素は右側に150pxのマージンを追加
li:nth-child(7n) {
Expand Down
Binary file added img/staff/村地隆幸.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.