profectus-docs/docs/.vitepress/theme/custom.css

47 lines
738 B
CSS
Raw Normal View History

2022-07-14 05:25:11 +00:00
body {
font-size: 14px;
}
@media (min-width: 960px) {
.name, .text {
font-size: 52px !important;
}
}
.custom-block.info {
background-color: #3B4252;
}
2022-03-03 01:28:57 +00:00
.custom-block.warning {
background-color: #EBCB8B;
}
2022-03-08 06:26:33 +00:00
2022-07-14 05:25:11 +00:00
.vp-doc tr:nth-child(2n),
.vp-doc th {
background-color: var(--vp-c-bg-alt);
}
.vp-doc th,
.vp-doc td {
border: 1px solid var(--vp-c-divider-light);
2022-03-08 06:26:33 +00:00
}
2022-03-08 07:03:11 +00:00
2022-07-14 05:25:11 +00:00
.vp-doc h1:first-child {
position: sticky;
top: 16px;
z-index: 20;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
2022-03-08 07:03:11 +00:00
}
2022-03-11 02:30:55 +00:00
2022-07-14 05:25:11 +00:00
.content,
.VPNav.no-sidebar {
background: var(--vp-c-bg) !important;
2022-03-11 02:30:55 +00:00
}
2022-07-14 05:25:11 +00:00
.vp-doc :not(pre) > code {
color: var(--vp-c-text-light-1);
background-color: var(--vp-code-block-bg);
2022-03-11 02:30:55 +00:00
}