naive-ui/demo/styles/demo.css

67 lines
1001 B
CSS
Raw Normal View History

2020-11-01 19:35:00 +08:00
@import 'Metropolis.css';
2020-03-07 22:47:22 +08:00
2020-09-07 14:11:27 +08:00
body {
overflow: hidden;
}
2021-04-06 01:31:09 +08:00
@media only screen and (max-width: 639px) {
body {
overflow: visible;
}
.md-table-wrapper {
overflow: auto;
margin: 0 -16px;
display: flex;
flex-wrap: nowrap;
}
.md-table-wrapper::before,
.md-table-wrapper::after {
content: '';
width: 16px;
flex-shrink: 0;
}
}
.demo-card .demo-card__view:not(:first-child) {
2019-12-22 23:19:08 +08:00
margin-top: 16px;
2019-12-23 13:42:58 +08:00
}
.demo-card .demo-card__view pre {
2020-11-04 12:13:11 +08:00
font-family: v-mono, monospace;
2019-12-23 13:42:58 +08:00
}
.demo-card .demo-card__view code {
2020-11-04 12:13:11 +08:00
font-family: v-mono, monospace;
2020-02-28 20:31:06 +08:00
}
.demo-card code.n-text {
white-space: nowrap;
}
.doc .n-p,
2021-02-18 22:58:39 +08:00
.n-blockquote {
2020-02-28 20:31:06 +08:00
max-width: 680px;
2020-05-30 21:11:46 +08:00
}
.md-table-wrapper {
margin-bottom: 16px;
}
2021-05-04 02:27:16 +08:00
.md-table-wrapper:last-child,
.md-card:last-child {
margin-bottom: 0;
}
.md-table td:first-child {
2021-02-18 22:58:39 +08:00
font-size: 0.93em !important;
2020-11-04 12:13:11 +08:00
font-family: v-mono, monospace;
2020-09-19 00:10:16 +08:00
}
2020-11-30 22:20:01 +08:00
.md-table .n-text.n-text--code {
2021-02-18 22:58:39 +08:00
font-size: 0.93em !important;
2020-11-30 22:20:01 +08:00
}
.md-card {
margin-bottom: 16px;
}