hpg/content/.vitepress/theme/custom.css

33 lines
482 B
CSS
Raw Normal View History

2024-08-01 20:19:10 +00:00
.vp-doc img {
border-radius: 8px;
}
2024-08-02 19:59:09 +00:00
.vp-doc h1 > .VPBadge {
margin-top: 12px;
}
.vp-doc h2 > .VPBadge {
margin-top: 6px;
}
.vp-doc .float {
float: right;
margin: 0 0 16px 16px;
}
2024-09-04 15:56:21 +00:00
/* Clearfix for floating images contained within */
.vp-doc .custom-block::after {
content: "";
clear: both;
display: table;
}
2024-08-01 20:19:10 +00:00
.vp-doc .grid {
display: grid;
gap: 16px;
}
@media (min-width: 912px) {
.vp-doc .grid {
grid-template-columns: repeat(var(--cols, 2), 1fr);
}
}