🌸

settings-pagebox

構造

/customize/ピン留めされたページを独立した段に表示する

style.css
.grid li.page-list-item.image a {
	&::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: #0000FF;
		opacity: 0;
		mix-blend-mode: multiply; 
		pointer-events: none;
		transition: opacity 0.08s linear;
	}

	&:hover::before {
		opacity: 0.45;
	}
}
style.css
ul.grid {
	display: grid;
	grid-template-columns:
		repeat(auto-fill, minmax(160px, 1fr));
	grid-auto-flow: dense;
	gap: 18px;

	li.page-list-item {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	}
}

.page-list ul.grid > li.page-list-item:nth-child(
	17n + 1 of .page-list-item
):not(:first-child) {
	grid-column: span 2 !important;
	grid-row: span 2 !important;
	aspect-ratio: 1 / 1 !important;
	width: 100%;
	justify-self: stretch;
}
style.css
.level-1 img { width: 100%; max-height: none !important; }

/arpla/ピン留めを小さなパネルにするUserCSS

style.css.sample
 .page-list > .grid li.pin {
 	height: 32px;
 	width: 100%;
 	margin-bottom: 5px;
 }
 @media (hover: none) {
 	/* ピン留めするカードの数が偶数である限りは秩序が保たれる脆弱なCSS */
 	.page-list ul.grid {
		grid-template-columns: repeat(6, 1Fr);
	}
	.page-list > .grid li.pin {
		grid-column: 2 span;
	}
	.page-list > .grid li:not(.pin):nth-child(odd) {
		grid-column: 1 / 4;
	}
	.page-list > .grid li:not(.pin):nth-child(even) {
		grid-column: 4 / 7;
	}
}
 .page-list > .grid li.page-list-item.pin a {
 	background-color: var(--card-bg);
 	border-radius: 7px;
 	margin: none;
 	box-shadow: none;
 }
 .page-list > .grid li.page-list-item a .header.pinned {
 	border-top:none;
 	padding: 6px 5px;
 }
 .page-list > .grid li.page-list-item.pin a .title {
 	font-size: 12px;
 	color: var(--card-title-color);
 	max-height: 20px;
 	text-align: center;
 }
 .page-list > .grid li.page-list-item.pin a .content :is(.description,.icon) {display: none;}
 .page-list > .grid li.page-list-item a .pin {background: none;}
style.css
.page-list .grid li[data-page-title^="settings-" i] {
	display: None;
}
style.css
.grid li[data-page-title^="2025"],
.grid li[data-page-title^="2026"] { 
	a .content .header { border-top-color: var(--rose-pine-accent); }
}
style.css.sample
.page-list .grid  {
	grid-auto-flow: dense;
	
	li.grid-style-item:has(.icon):not(:has(.pin)) {
		grid-column: span 2;
		grid-row: span 2;
	}
	
	/* ラスト1列は画像付きでもデカく見せない(最大1行最大10個要素があると仮定) */
	li.grid-style-item:nth-last-child(-n+10) {
		grid-column: inherit;
  		grid-row: inherit;
	}
}
作成
更新