go
https://gyazo.com/afece4a38e3c8459c2e194e0d6c1a831
Hey there! I'm a daily writer and ornithologist :) The icon is my sketch on a male coot, one of my favorit birds living in marshes and reed beds standing at lake shores.
Write on!
UserCSS
Witish color combinations
code:style.css
/* navbarを目立たなくする */
.navbar {
}
body {
background-color: white;
}
Each part appear if it is hovered
navbar(上)
page-menu(右)
project-home(左上)
code:style.css
.navbar,
.page-menu,
div.flex-item>span {
opacity: 0;
transition-property: opacity;
transition-duration: 0.6s;
transition-delay: 0.3s;
transition-timing-function: ease;
}
.navbar:hover,
.page-menu:hover,
.flex-item>span:hover {
opacity: 1;
transition-property: opacity;
transition-duration: 0.2s;
transition-delay: 0s;
transition-timing-function: ease;
}
Hide telomere
code:style.css
.line .telomere .telomere-border {
display: none;
}
Adjust fonts
code:style.css
.text {
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", Arial, "メイリオ", Meiryo, sans-serif !important;
font-size: 18px;
line-height: 36px;
-webkit-font-feature-settings: 'palt' 1;
font-feature-settings: 'palt' 1;
word-wrap: break-word;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-font-kerning: normal;
font-kerning: normal;
}
.editor .line-title .text {
font-size: 36px;
line-height: 1.5;
letter-spacing: 0.04em;
font-weight: bold;
border-bottom: solid 1px #DDD; padding-bottom: 5px;
margin-bottom: 50px;
}
User scripts
Time stamp
code:script.js
scrapbox.TimeStamp.addFormat('HH:mm on MMMM D, YYYY')
Change doulbe bytes characters to single byte ones
code:script.js
scrapbox.PopupMenu.addButton({
title: 'half-width',
onClick: text => {
return String.fromCharCode(s.charCodeAt(0) - 65248);
});
//16進数の場合
return String.fromCharCode(s.charCodeAt(0) - 0xFEE0);
});
return text;
}
})
Delete blank lines
code: script.js
scrapbox.PopupMenu.addButton({
title: 'delete blank',
onClick: text => text.split(/\n/).filter(line => !line.match(/^\s*$/)).join('\n')
})