知乎专栏修改行间距、段间距(CSS)

修改行间距、段间距(CSS)

/* ==UserStyle==
@name        知乎专栏修改行间距、段间距(CSS)
@description 修改行间距、段间距(CSS)
@version     0.0.1
@namespace   AN drew
@license     MIT
@advanced text rowSpacing "行间距" "1.6"
@advanced text segmentSpacing "段间距" "1.4em"
==/UserStyle== */



@-moz-document domain("zhuanlan.zhihu.com") {
:root{
    --rowSpacing: /*[[rowSpacing]]*/;
    --segmentSpacing: /*[[segmentSpacing]]*/;
}

.css-1ygg4xu {
    line-height: var(--rowSpacing)!important;
}
    
.ztext {
    line-height: var(--rowSpacing)!important;
}
    
.css-1ygg4xu p {
    margin: var(--segmentSpacing) 0!important;
}

.ztext p {
    margin: var(--segmentSpacing) 0!important;
}

}