settings
このページに対して議論なしに変更しないでください
code:style.css
@import url('./define.css');
@import url('./fixIconPosition.css');
@import url('./indent.css');
@import url('./background-grid.css');
code:define.css
html{
--page-text-color: #000; /*scrapboxのテキストカラー*/ --grid-color: rgba(0,0,0,.03);/*background-grid.css*/
}
code:background-grid.css
body{
background-image: linear-gradient(var(--grid-color) 2px, transparent 2px),
linear-gradient(90deg, var(--grid-color) 2px, transparent 2px),
linear-gradient(var(--grid-color) 1px, transparent 1px),
linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
background-size: 250px 250px, 250px 250px, 25px 25px, 25px 25px;
background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;
}
code:indent.css
.indent-mark {
height: 100% !important;
}
.indent-mark .pad {
height: 100% !important;
overflow: unset !important;
}
.indent-mark span:nth-child(6n+1):not(:nth-last-child(1)):not(:nth-last-child(2)) .pad,
.indent-mark span:nth-child(6n+2):not(:nth-last-child(1)):not(:nth-last-child(2)) .pad,
.indent-mark span:nth-child(6n+3):not(:nth-last-child(1)):not(:nth-last-child(2)) .pad,
.indent-mark span:nth-child(6n+4):not(:nth-last-child(1)):not(:nth-last-child(2)) .pad,
.indent-mark span:nth-child(6n+5):not(:nth-last-child(1)):not(:nth-last-child(2)) .pad,
.indent-mark span:nth-child(6n+6):not(:nth-last-child(1)):not(:nth-last-child(2)) .pad {
border-right: 1px solid var(--indent-color);
}
code:fixIconPosition.css
.line img.icon{
top: -0.1em;
}