settings
code:style.css
body {
}
.grid .page-list-item.grid-style-item:not(.pin) a .content .header .title {
position: absolute;
z-index: 100;
background: white;
bottom: 0;
right: 0;
padding: 9px;
margin-left: 12px;
font-size: 13px;
margin-bottom: 1px;
word-break: break-all;
display: -webkit-box;
-webkit-line-clamp: 2;
}
.grid .page-list-item.grid-style-item:not(.pin) a .content .header .title:before {
border-left: solid 1px #000; border-top: solid 1px #000; top: 0;
left: 0;
}
.grid .page-list-item.grid-style-item:not(.pin) a .content .header .title:after {
border-right: solid 1px #000; border-bottom: solid 1px #000; bottom: 0;
right: 0;
}
.grid .page-list-item.grid-style-item:not(.pin) a .content .header .title:before,
.grid .page-list-item.grid-style-item:not(.pin) a .content .header .title:after {
content: '';
width: 38%;
height: 40%;
position: absolute;
display: inline-block;
}
.grid li.page-list-item a {
background-color: rgba(0,0,0,0);
box-shadow: none;
}
box-shadow: none;
}
.page-list-item .content .icon {
position: absolute;
width: 85%;
height: calc(100% - 10px);
}
.grid li.page-list-item a .hover {
display: none;
}
.grid li.page-list-item.grid-style-item:not(.pin) a .icon img {
height: 100%;
object-fit: cover;
box-shadow: rgba(138, 152, 166, 0.4) 7.95px 7.95px 0px;
}
.grid li.page-list-item a .header {
padding: 0;
border-top: none;
}
.grid li.page-list-item a .description {
background: white;
margin-right: 10px;
margin-bottom: 10px;
border: solid 1px;
box-shadow: rgba(138, 152, 166, 0.4) 7.95px 7.95px 0px;
}
固定ページ以外の処理
code:style.css
.grid li.page-list-item a .pin{
display:none;
}
.page-list .grid li.pin:first-of-type {
min-width: 500px;
grid-column: span 3;
aspect-ratio: 3 / 1;
}
.grid li.page-list-item.pin:first-of-type a {
width: 100%;
}
.grid li.page-list-item.pin:first-of-type a .header {
display: none;
}
.grid li.page-list-item.pin:first-of-type a .content {
display: initial;
}
.grid li.page-list-item.grid-style-item.pin:first-of-type a .icon img {
height: 100%;
width: auto;
margin-left: 0;
border-radius: 30px;
}
.grid li.page-list-item.grid-style-item.pin:first-of-type a .content:after {
content: '最近勉強したことについて共有してそこから自由に話を広げたり、特定のテーマを一緒に考えたり、などを通して、考えることを楽しむポッドキャストです。';
position: absolute;
top: 0;
left: 160px;
padding: 20px;
font-size: 18px;
}
.page-list .grid li.pin:nth-of-type(2){
width: auto;
}
.grid li.page-list-item.pin:nth-of-type(2) a .title {
padding: 8px 0;
}
.page-list-item.pin + .page-list-item:not(.pin) {
clear: both;
}
deepL拡張を非表示にする
code: style.css
deepl-input-controller {
display: none;
}
code:style.css
@media (max-width: 550px){ /* スマホ */
.page-list .grid li.pin:first-of-type {
width: calc(100% - 42px);
min-width: 0;
height: 150px;
}
.grid li.page-list-item.grid-style-item.pin:first-of-type a .icon img {
padding: 0;
}
.grid li.page-list-item.grid-style-item.pin:first-of-type a .icon img {
height: 100%;
}
.grid li.page-list-item.grid-style-item.pin:first-of-type a .content:after {
left: 127px;
padding: 18px;
font-size: 15px;
top: 50%;
transform: translate(0%,-50%);
height: min-content;
}
}