settings
全体
code:style.css
body {
font-family: '游ゴシック','Yu Gothic',san-serif;
}
.line .quote {
font-style: normal;
}
.line .meta {
}
.navbar-default {
box-shadow: none;
}
.navbar-default .navbar-nav>li>a {
}
.grid li.page-list-item {
margin-bottom: 0.7em ;
font-family: "Avenir Next", Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", sans-serif;
}
.grid li.page-list-item .text {
}
.grid li.page-list-item a .title {
}
.grid li.page-list-item a,
.grid.grid-md li.page-list-item a,
.grid.grid-lg li.page-list-item a {
box-shadow: 3px 3px 6px rgba(0,0,0,0.08);
border-radius: 5px ;
}
.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: 5px 5px 12px rgba(0,0,0,0);
}
.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::before {
}
.grid li.page-list-item a::after {
}
.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 ;
}
ul.grid li.page-list-item a .header{
}
ul.grid-md.grid li.page-list-item a .header{
}
ul.grid-lg.grid li.page-list-item a .header{
.page {
line-height: 36px;
box-shadow: 0 0px 0 rgba(0,0,0,0);
}
.text {
font-size: 100%;
font-family: "Avenir Next", "Lato", "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", "YuGothic", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "sans-serif";
}
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
.new-button {
z-index: 100;
position: fixed;
bottom: 20px;
right: 20px;
}
ナビバーをグレー&隠す/scrapboxタイトル
code:style.css
.search-form .form-group input {
}
form {
}
.page-menu {
opacity: 0.5;
transition: opacity 0.5s;
}
.project-home { font-size: 1.5em !important;
transition: opacity 0.5s;
}
.page-sort-menu .tool-btn{
opacity: 0.5;
transition: opacity 0.5s;
}
.navbar:hover, .page-menu:hover, .project-home:hover, .page-sort-menu .tool-btn:hover {
opacity: 1;
}
タイトル見出し編集
code:style.css
.line.line-title .text {
font-size: 25px;
}
画像
code:style.css
.image {
border-radius: 4px;
max-height: none !important;
max-width: 90% !important;
}
code:style.css
/* マトリクス記法 */
.line:not(.cursor-line) .deco-\| { display: inline-flex }
.line .deco-\| img.image { object-fit: contain }
/* 太字記法と組み合わせて列数を変える */
.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) }
width: 100%; height: 100%; margin: 0; object-fit: cover }
/* 並べた画像の間にスキマが欲しい場合はこの2行を追加・ぴっちり敷き詰めたい場合はこの2行は不要 */
.line .deco-\| > span, .line class^="level-" .deco-\| > span { overflow: hidden } .line .deco-\| img.image, .line class^="level-" .deco-\| img.image { margin: .2em } カーソルのある行の背景色と下線を背景色にする
code:style.css
.cursor-line {
}
マーカー・太字
code:style.css
.line strong:not(class) { font-size: 100%;
padding: 0 0px;
margin: 0 0px;
width: auto;
}
.line strong {
font-size: 110%;
}
span.quote {
padding: 2px;
width: 100%;
display: block;
}
code:style.css
.line .indent-mark .dot {
top: 14px;
width: 4px;
height: 1px;
}
選択した文字の背景色
code:style.css
.selection {
}
行間を広くする
code:style.css
.line {
line-height: 30px;
}
引用
code:style.css
.line .quote {
font-style: normal ;
font-size: 100%;
padding-left: 0 ;
margin-left: 0p
border-width: thin ;
}
.line .quote .c-0 {
visibility: hidden ;
}
.line .quote .c-0 + a:last-child {
float: right ;
margin-right: 1em ;
}
コードブロックを見やすく
code:style.css
/* code blockの基本色 */
.line span.code-block {
}
/* 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: 90%; color: #000} code:style.css
.navbar-form .dropdown.open .dropdown-menu {
min-width: 100%; max-height: calc(100vh - 130px) !important; overflow-y: auto }
リンク
code:style.css
a,
.page-list-item .description .link {
font-weight: 400;
}
a:hover, a:active {
}
.line a.empty-page-link {
font-weight: 400;
}
.line a.empty-page-link:hover {
}
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
.deco-\# {
}
.deco-\! { /* 重要な部分は!を付ける */
font-size: 1.2em; /* 重要なので最初から大きな文字にする */
}
一人で使うのでテロメアは消す
code:style.css
/* telomere */
.telomere-border {
}
.telomere-border.unread {
}
リストからsettingsを消す
code:style.css
display: none;
}