settings
全体
code:style.css
body {
margin: 0px 2% 0px 2%;
background-color: #f5f5f5;
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 {
background-color: #ffffff ;
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 {
background: #ffffff ;
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;
background-color: #fcfcfc;
box-shadow: 0 1px 0 rgba(0,0,0,0.16);
column-count: 1;
}
.page .editor .lines,
textarea#text-input:focus {
color: #3f3f40 !important;
font-weight: 450;
}
タイトル見出し編集
code:style.css
.line.line-title{
font-size: 20px;
color: #3f3f40;
}
.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 {
background-color: #3c85fa;
margin-top: 4px;
}
.line .indent-mark .c-1 + .dot {
background-color: #0f5920;
}
.line .indent-mark .c-2 + .dot {
background-color: #ffa200;
}
.line .indent-mark .c-3 + .dot {
background-color: #ffe600;
}
選択した文字の背景色
code:style.css
.selection {
background: #ffd900;
}
マーカー・太字
code:style.css
.line strong:not(class) {
font-size: 110%;
background: #ffd70f;
padding: 0 0px;
margin: 0 0px;
width: auto;
}
.line strong{
font-size: 110%;
}
span.quote {
padding: 10px;
width: 100%;
display: block;
border-left: solid 1px #4b7ff5;
}
引用
code:style.css
.line .quote {
font-style: normal ;
font-size: 100%;
padding-left: 23px ;
margin-left: -23px;
border-color: #2968ce ;
background-color: #f9f9f9 ;
}
.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 {
color: #878787 !important;
font-weight: 550;
}
.line a.page-link,
.line a.empty-page-lnk {
color: #005e47 !important;
font-weight: 700;
}
Linksのlabelの色をおとなしくする
code:style.css
.grid li.relation-label.links .arrow {
border-left-color: #afafaf;
}
.grid li.relation-label.links a {
background-color: #f9f9f9;
border-radius: 7px;
}
.grid li.relation-label.links a .title {
color: #afafaf;
}
.grid li.relation-label a {
color: #afafaf;
background-color: #f9f9f9;
border-radius: 7px;
}
#で始まるタグをラベル風にする
code:style.css
atype="hashTag"{
display: inline-block;
padding: 2px 8px;
margin: 0 8px 10px 0;
background: #f9f9f9;
color: #d1d1d1;
font-size: 0.8em;
border: 1px solid #d1d1d1;
border-radius: 3px;
/* transition: .3s; */
-webkit-transform: scale(1);
transform: scale(1);
}
atype="hashTag":hover{
color: #FFFFFF;
background: #212121;
border: 1px solid #212121;
}
code:style.css
.selection {
background-color: #ffd230 ;
}
新規ボタンを下に表示・固定
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 {
background-color: #ebebeb;
padding: 2px 5px 2px 5px !important;
}
.line span.code-block .code-block-start a { font-size: 110%; color: #919191}
特殊文字色
code:style.css
.deco-\# {
color: #fff; /* 白文字 */
background-color: #1372d8; /* 緑背景 */
}
.deco-\! { /* 重要な部分は!を付ける */
color: #000;
background-color: #ffd800; /* 赤背景 */
font-size: 1.2em; /* 重要なので最初から大きな文字にする */
}
テロメア
code:style.css
/* telomere */
.telomere-border {
border-color: #f2f3f6 !important;
}
.telomere-border.unread {
border-color: #f2f3f6 !important;
}
参考▶/kemsso/settings