diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 280aee99d1..daa7cd86e5 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -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);