settings
テーマいじり
code:style.css
--code-bg: rgba(32,32,32,.04);
}
body {
background-size: 100%;
}
.grid li.page-list-item a .pin {
}
.grid li.page-list-item a .pin + .content .header {
padding: 10px 14px;
}
.table-block .table-block-start {
background-color: rgba(255,205,55,.4);
}
.navbar {
backdrop-filter: none;
}
テロメアのテーマ変更
code:style.css
.line .telomere .telomere-border,
.line .telomere .telomere-border.unread,
.line .telomere .telomere-border.unread.updated-after-load {
transition: none;
box-sizing: content-box;
border-color: var(--navbar-bg);
border-width: 0 0 0 4px !important;
width: 4px !important;
margin: 0 2px;
}
.line .telomere .telomere-border {
border-color: var(--telomere-border);
}
.line .telomere .telomere-border.unread {
border-color: var(--telomere-unread);
}
.line .telomere .telomere-border.unread.updated-after-load {
border-color: var(--telomere-updated);
}
.line .telomere .telomere-border .description,
.line .telomere .telomere-border .menu-item {
width: max-content;
}
テキストのスタイルいじり
code:style.css
.line .text {
font-size: 14.5px;
line-height: 2.8rem;
}
.line.line-title .text {
font-size: 2.8rem;
font-weight: bold;
line-height: 1.2;
border-bottom: dashed 2px;
padding: 0 0 1rem 1rem;
margin-bottom: 3rem;
}
.line .indent-mark .dot {
width: .8rem;
height: .3rem;
border-radius: 0;
}
文字装飾記法
code:style.css
.deco-\! {
}
.deco-\~ {
padding: 0.1em 0.2em 0.1em 0.2em;
border-radius: .2em;
}
.deco-\+ {
padding: .5rem 3rem .5rem 0;
display: inline-block;
line-height: 1.3;
vertical-align: middle;
border-radius: 25px 0px 0px 25px;
margin-bottom: 0.6rem;
}
.deco-\+:before {
content: '●';
color: white;
margin: 0 .6em;
}
.deco-\(:before {
content:"[";
}
.deco-\(:after {
content:"]";
}
.deco-\'{
padding: 0px 8px;
font-size: 90%;
background-color: var(--code-bg);
border-radius: 4px;
font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
}
strike { text-decoration: none; }
strike span { text-decoration: line-through; }
.deco-\> {
font-size: 0.7em;
}
yellow text
label
caption
square brackets
inline code
small
画像を並べて表示 兼 ヘッダー画像風の表示
code:style.css
.line:not(.cursor-line) .deco-\| { display: inline-flex }
.line .deco-\| img.image { object-fit: contain; margin: 0 }
.line .level-1 .deco-\| > span { width: calc(100%/1) }
.line .level-2 .deco-\| > span { max-width: 420px; width: calc(90%/2); height:80%; }
.line .level-3 .deco-\| > span { width: calc(100%/3); height:80%; }
.line .level-4 .deco-\| > span { width: calc(100%/4); height:80%; }
.line class^="level" .deco-\| img.image { object-fit: cover; width: 100%; height: 100% } XのリンクのTwitterアイコンを消す
code:style.css
ハッシュ記法のリンクをラベル風にする
code:style.css
display: inline-block;
padding: 0 6px;
margin: 1px 4px;
border-radius: .2em;
}
プロジェクトTOPへのリンクをメニューバーに移動
code:style.css
.quick-launch .left-box {
position: fixed;
top: -2px;
left: 80px;
z-index: 1000;
}
ページの横幅制限解除
code:style.css
/*
.container { width: 100%; max-width: none; }
.quick-launch { max-width: 1400px; margin: 0 auto 12px auto; }
.page-list { max-width: 1400px; margin: 0 auto; }
.page-column { grid-template-columns: 46px minmax(20%, 1400px) min-content; }
iframe.youtube { max-width: 60%; max-height: 25vw; }
*/