hpg/content/.vitepress/theme/custom.css
2024-11-20 20:05:44 +01:00

42 lines
643 B
CSS

.VPLink.pager-link.next {
background-color: var(--vp-c-brand-2);
color: #fff !important;
}
.VPLink.pager-link.next span {
color: #fff;
}
.vp-doc img, .vp-doc iframe {
border-radius: 8px;
}
.vp-doc h1 > .VPBadge {
margin-top: 12px;
}
.vp-doc h2 > .VPBadge {
margin-top: 6px;
}
.vp-doc .float {
float: right;
margin: 0 0 16px 16px;
}
/* Clearfix for floating images contained within */
.vp-doc .custom-block::after {
content: "";
clear: both;
display: table;
}
.vp-doc .grid {
display: grid;
gap: 16px;
}
@media (min-width: 912px) {
.vp-doc .grid {
grid-template-columns: repeat(var(--cols, 2), 1fr);
}
}