1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-27 13:49:10 +02:00

docs: use grid, fix margins etc

This commit is contained in:
Thomas Heartman 2024-01-30 13:12:50 +09:00
parent 78f3ef9a1a
commit 6e4fbb41ea
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78

View File

@ -214,6 +214,7 @@ li.theme-doc-sidebar-item-category-level-1 > div::before {
/* begin certification links */
.links-container {
container-type: inline-size;
/* breakpoint: 925 width */
ol {
list-style: none;
@ -225,14 +226,15 @@ li.theme-doc-sidebar-item-category-level-1 > div::before {
justify-content: space-between;
}
li {
li:has(article) {
margin: 0;
padding: 0;
width: 30%;
aspect-ratio: 1.15/1;
width: 300px;
}
article {
aspect-ratio: 1;
height: 100%;
border-radius: var(--ifm-global-radius);
background: var(--ifm-color-primary-contrast-background);
padding: calc(var(--ifm-spacing-vertical) * 2);