/* pinnedのグループを独立させる */ .page-list-item.pin + .page-list-item:not(.pin) { clear: both; } /* ピンされたタイトル */ div.header.pinned{ background: #4c4; } /* アイテムの上のボーダー */ .grid li.page-list-item a .header{ border-top: 0; } /* 右上のピン */ .pin{ display:none; } /* アイテムのbox-shadow消す,ボーダー*/ .grid li.page-list-item a { box-shadow: none !important; border-radius: 0; border-right: 1px solid #fff; border-bottom: 1px solid #fff; } /* hover */ .grid li.page-list-item a:hover { border: 0; border-left: 1px solid #fff; border-top: 1px solid #fff; }