naive-ui/demo/styles/demo.scss
2020-09-19 16:02:14 +08:00

39 lines
636 B
SCSS

@import 'Metropolis.scss';
body {
overflow: hidden;
}
.demo-card {
margin-bottom: 16px;
}
.demo-card .demo-card__view:not(:first-child) {
margin-top: 16px;
}
.demo-card .demo-card__view pre {
font-family: "naive-ui-mono", monospace;
}
.demo-card .demo-card__view code {
font-family: "naive-ui-mono", monospace;
}
.demo-card code.n-text {
white-space: nowrap;
}
.n-documentation .n-p, .n-blockquote {
max-width: 680px;
}
.api-table .n-table__td:nth-child(1),
.api-table .n-table__td:nth-child(2) {
font-size: 13px;
font-family: naive-ui-mono, monospace;
}
.api-table .n-text.n-text--code {
font-size: 13px;
}