Greasy Fork is available in English.

cppreference 中文样式调整

修改cppreference中文站布局,使其更易阅读

/* ==UserStyle==
@name           cppreference 中文样式调整
@name:en        cppreference chinese-style
@description    修改cppreference中文站布局,使其更易阅读
@description:en Modify the layout of the Chinese site of cppreference to make it easier to read
@author         windowsair
@namespace      windowsair-style-cppreference
@version        0.0.1
@license        MIT
==/UserStyle== */
@-moz-document domain("zh.cppreference.com") {
    code {
        line-height: 2.0em !important;
    }
    p {
        line-height: 1.5em !important;
    }
    i {
        margin-left: 0.1em;
        margin-right: 0.3em;
    }
    tbody {
        line-height: 1.4em;
    }
    .t-dsc > td {
        line-height: 1.4em !important;
    }
    .t-dsc > td:last-child {
        padding: 0.2em 0 0 0.75em !important;
    }
    .t-lines > span {
        line-height: 1.3em;
    }
    .cpp.source-cpp {
        line-height: 1.3em;
    }
    .t-nv {
        line-height: 1.3em !important;
    }
    .dsctable > tbody > tr > td {
        padding: 0.3em 0.1em 0.25em 0.75em !important;
    }

}