; /* 优化文本可读性 */
}
/* 为段落和标题元素设置单词换行 */
:where(p, h1, h2, h3, h4, h5, h6) {
overflow-wrap: break-word...; /* 长单词或URL在必要的时候可以换行 */
}
/* 为常见的文本和列表元素设置字体 */
:where(body, p, h1, h2, h3, h4, h5, h6, ol, ul, blockquote...important; /* 使用根元素中定义的字体变量 */
}
/* 为代码相关的元素设置代码字体和字体大小 */
:where(code, kbd, pre, samp, var, tt, time...important; /* 使用代码字体变量 */
font-size: 1em; /* 代码字体大小设置为1em */
}
/* 排除伪元素和特定类名的元素,为其他元素设置字体 */
:not...important; /* 使用根元素中定义的字体变量,或者继承父元素的字体 */
}
/* 为链接、加粗、强调、列表项等元素设置字体 */
:where(a, b, em, li, div, div