settings
code:style.css
@import "https://scrapbox.io/api/code/blu3mo-public/関連ページ一覧を横に移動させる/style.css";
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&family=Quicksand:wght@300;400;500&family=Noto+Serif+JP:wght@100;300;400;700;900&display=swap"); html, body, #editor, .grid li.page-list-item a .title {
font-size: 13px;
font-weight: 500;
letter-spacing: 0.05rem;
text-align: left;
color: rgb(0, 0, 0);
--card-title-bg-pinned: #fff;
--card-title-bg: #fff;
--card-description-link-color: #000;
--card-box-shadow-color: rgba(0, 0, 0, 0);
--card-box-shadow: 0 0px 0 var(--card-box-shadow-color);
--card-box-hover-shadow: 0 0px 0 rgba(0, 0, 0, 0);
--card-hover-bg: rgba(0, 0, 0, 0);
font-family: "Noto Serif JP", sans-serif;
}
.grid li.page-list-item a .title {
font-weight: Black;
}
.project-home .title {
font-weight: 500;
letter-spacing: 0.1rem;
color: rgb(0, 0, 0);
font-family: "Noto Serif JP", sans-serif, !important;
}
.line .quote {
font-style: Black;
background: #ffffff;
}
body {
background-color: #ffffff;
font-family: "Noto Serif JP", sans-serif;
font-weight: Black;
}
.line .quote {
font-style: Black;
}
.line .meta {
border-color: #ffffff;
}
.navbar-default {
background-color: #ffffff;
}
.navbar-default .navbar-nav>li>a {
color: #637282;
}
.grid li.page-list-item a {
box-shadow: 0 1px 0 rgba(0,0,0,0);
}
ul.grid li.page-list-item a .header{
border-top: solid 1px #000000;
}
ul.grid-md.grid li.page-list-item a .header{
border-top: solid 1px #000000;
}
ul.grid-lg.grid li.page-list-item a .header{
border-top: solid 1px #000000;
}
.grid li.page-list-item a:hover{
box-shadow: none;
}
.page {
box-shadow: 0 1px 0 rgba(0,0,0,0.16);
background-color: #ffffff;
}
form {
border:1px #ddd solid;
}
.page-list-item .description img.inline-icon {
height: 100%;
width: 100%
}
.line .quote {
font-style: normal ;
font-size: 70% ;
padding-left: 0 ;
border-color: #333333 ;
border-width: thin ;
background-color: #FFFFFF ;
}
.line .quote .c-0 {
visibility: hidden ;
}
.line .quote .c-0 + a:last-child {
float: right ;
margin-right: 1em ;
}
/* スリムなテロメア */
.line .telomere .telomere-border, .line .telomere .telomere-border.unread {
transition: none;
box-sizing: content-box; border-color: #ffffff }
.line .telomere .telomere-border:hover, .line .telomere .telomere-border.unread:hover {
box-sizing: border-box; width: auto;
border-color: #8f9899; background-color: transparent }
/* ↓新着以外のテロメアの色と太さ */
.line .telomere .telomere-border { background-color: #ffffff; width: 2px }
/* ↓新着のテロメアの色と太さ */
.line .telomere .telomere-border.unread { background-color: #ffffff; width: 5px }
.deco-\# {
color: #000; /* 黒文字 */
background-color: #ff0; /* 黄背景 */
}
.deco-\! { /* 重要な部分は!を付けると赤文字に */
color: #fff;
background: #000;
}
/* 3-a. ヘッダー内のプロジェクトのページへのリンク ※要UserScript */
.col-brand .project-home {
color: #dddddd; /* リンクの色 */
margin: 16px 0 0 28px; font-size: 18px;
display: inline-block; max-width: calc(100% - 80px);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.col-brand .project-home:hover, .col-brand .project-home:focus,
.col-brand .project-home:active { text-decoration: none; opacity: .6 }
.col-brand .project-home .icon { margin-right: 10px; font-size:.9em }
/* マトリクス記法 */
.line:not(.cursor-line) .deco-\| { display: inline-flex }
.line .deco-\| img.image { object-fit: contain }
/* 太字記法と組み合わせて列数を変える */
.line class^="level-" .deco-\| { flex-wrap: wrap }
.line .level-1 .deco-\| > span { width: calc(100%/1) }
.line .level-2 .deco-\| > span { width: calc(100%/2) }
.line .level-3 .deco-\| > span { width: calc(100%/3) }
.line .level-4 .deco-\| > span { width: calc(100%/4) }
.line .level-5 .deco-\| > span { width: calc(100%/5) }
.line class^="level-" .deco-\| img.image {
width: 100%; height: 100%; margin: 0; object-fit: cover }
/* ピンしたページのスタイル */
.grid li.page-list-item a .pin { background-color: transparent; background-image: none }
.grid li.page-list-item a .pin::after {
content: '_'; font-family: 'Yu-Gothic'; font-size: 10px; color: #000000; bottom: 0;
display: inline-block;}
.line .indent-mark .dot {
top: 10px;
width: 4px;
height: 1px;
background-color: #333333;
}
.deco-\| img{
box-shadow: 0px 0px 10px 0px #000;
}
/* ピン留めされたページを独立した段に表示する */
.page-list-item.pin + .page-list-item:not(.pin) {
clear: both;
}
/* 外部リンクにiconをつける */
.line span:not(.modal-image):not(.pointing-device-map) > a.link:not(.icon)::after {
font-family: 'Font Awesome 5 Free';
content: ' \f35d';
font-weight: 900;
display: inline-block;
}
/* #で始まるタグをラベル風にする */
atype="hashTag" {
display: inline-block;
margin: 4px;
font-size: 10px;
height: 30px;
width: auto;
padding-left: 8px;
padding-right: 8px;
padding-top: 2px;
padding-bottom: 2px;
border-radius: 2px;
border-style: none;
color: #090909 !important;
background-color: rgba(12, 12, 13, 0.1);
}
atype="hashTag":hover {
background-color: rgba(12, 12, 13, 0.2);
}
atype="hashTag":active {
background-color: rgba(12, 12, 13, 0.3);
}
.grid li.page-list-item > ahref^="/metalium/settings" {
display: none;
}
/* ###### シリーズ物の個別のアイテム(openmeetingとか)を非表示にする ###### */
.page-list > .grid > .page-list-itemdata-page-title*="_Archive"{
display: none !important;
}
/* 縦に長い画像でも全体が見えるようにする */
.grid li.page-list-item a .icon img {
max-width: 100%;
max-height: 100%;
width: auto !important;
}
/* ピン留めされたページを独立した段に表示する */
.page-list-item.pin + .page-list-item:not(.pin) {
grid-column-start: 1;
}