settings
全体
code:style.css
body {
margin: 0px 2% 0px 2%;
font-family: "Avenir Next", Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
}
グリッド
code:style.css
.grid li.page-list-item,
.related-page-list .grid li{
margin-bottom: 0.9em;
}
.grid li.page-list-item a .title{
font-size: 8px;
text-align: left;
}
.grid li.page-list-item a .description{
font-size: 6px !important;
overflow: visible;
line-height: 13px;
}
.grid li.page-list-item a,
.grid.grid-md li.page-list-item a,
.grid.grid-lg li.page-list-item a {
box-shadow: 7px 7px 15px rgba(0,0,0,0.02);
border-radius: 7px ;
}
.grid li.page-list-item a:hover,
.grid.grid-md li.page-list-item a:hover,
.grid.grid-lg li.page-list-item a:hover {
box-shadow: 7px 7px 15px rgba(0,0,0,0.02);
}
.grid li.page-list-item a::before,
.grid li.page-list-item a::after {
display: block ;
content: '' ;
position: absolute ;
width: 13em ;
}
.grid li.page-list-item a .pin {
width: 100% ;
height: 100% ;
border-radius: 0px ;
background-image: none ;
}
.grid li.page-list-item a .pin::before,
.grid li.page-list-item a .pin::after {
display: block ;
content: '' ;
position: absolute ;
width: 13em ;
}
.grid li.page-list-item a .header {
border-top: 0 ;
}
ページ・テキスト
code:style.css
/* Disable shadow */
.page {
line-height: 36px;
box-shadow: 0 1px 0 rgba(0,0,0,0.16);
column-count: 1;
}
.page .editor .lines,
textarea#text-input:focus {
font-weight: 450;
}
タイトル見出し編集
code:style.css
.line.line-title{
font-size: 20px;
}
.header .title {
font-size: 10px !important;
}
行間を広くする
code:style.css
.line {
line-height: 37px;
}
画像
code:style.css
.image {
border-radius: 7px;
max-height: none !important;
max-width: 95% !important;
}
インデントしたときのドットの色
code:style.css
.line .indent-mark .dot {
margin-top: 4px;
}
.line .indent-mark .c-1 + .dot {
}
.line .indent-mark .c-2 + .dot {
}
.line .indent-mark .c-3 + .dot {
}
選択した文字の背景色
code:style.css
.selection {
}
マーカー・太字
code:style.css
.line strong:not(class) { font-size: 110%;
padding: 0 0px;
margin: 0 0px;
width: auto;
}
.line strong{
font-size: 110%;
}
span.quote {
padding: 10px;
width: 100%;
display: block;
}
引用
code:style.css
.line .quote {
font-style: normal ;
font-size: 100%;
padding-left: 23px ;
margin-left: -23px;
}
.line .quote .c-0 {
visibility: hidden ;
}
.line .quote .c-0 + a:last-child {
float: right ;
margin-right: 1em ;
}
リンク
code:style.css
.page-list-item .description .link,
.page-list-item .description .page-link {
font-weight: 550;
}
.line a.page-link,
.line a.empty-page-lnk {
font-weight: 700;
}
Linksのlabelの色をおとなしくする
code:style.css
.grid li.relation-label.links .arrow {
}
.grid li.relation-label.links a {
border-radius: 7px;
}
.grid li.relation-label.links a .title {
}
.grid li.relation-label a {
border-radius: 7px;
}
#で始まるタグをラベル風にする
code:style.css
display: inline-block;
padding: 2px 8px;
margin: 0 8px 10px 0;
font-size: 0.8em;
border-radius: 3px;
/* transition: .3s; */
-webkit-transform: scale(1);
transform: scale(1);
}
}
code:style.css
.selection {
}
新規ボタンを下に表示・固定
code:style.css
.new-button {
z-index: 2;
position: fixed;
bottom: 20px;
right: 20px;
}
張り付くメニューバー
code:style.css
/* はりつくメニューバー */
@media screen and (min-height: 600px) and (min-width: 768px) {
body:not(.presentation) { padding-top: 90px; padding-right: 0 !important }
body:not(.presentation) .page-menu { position: fixed; top: 90px }
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 990; overflow: unset }
.dropdown.open .dropdown-menu {
position: absolute; left: auto; top: auto;
max-height: calc(100vh - 100px); overflow-y: auto }
.dropdown.open .dropdown-menu.global-menu { left: 0; top: 54px }
.page-menu .dropdown.open .dropdown-menu { position: absolute; top: 0 } }
コードブロックを見やすく
code:style.css
/* code blockの頭を静かな色にする */
.line span.code-block .code-block-start {
padding: 2px 5px 2px 5px !important;
}
.line span.code-block .code-block-start a { font-size: 110%; color: #919191} 特殊文字色
code:style.css
.deco-\# {
}
.deco-\! { /* 重要な部分は!を付ける */
font-size: 1.2em; /* 重要なので最初から大きな文字にする */
}
テロメア
code:style.css
/* telomere */
.telomere-border {
}
.telomere-border.unread {
}