mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-01 13:47:27 +02:00
docs: finish links box
This commit is contained in:
parent
cfffe546b3
commit
1a95932a79
@ -231,10 +231,9 @@ html[data-theme='dark'] .links-container {
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: repeat(3, auto);
|
flex-flow: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
justify-content: space-between;
|
|
||||||
gap: var(--ifm-spacing-vertical);
|
gap: var(--ifm-spacing-vertical);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -256,9 +255,10 @@ html[data-theme='dark'] .links-container {
|
|||||||
border: var(--ifm-global-border-width) solid #E1E1E3;
|
border: var(--ifm-global-border-width) solid #E1E1E3;
|
||||||
padding: calc(var(--ifm-spacing-vertical) * 2);
|
padding: calc(var(--ifm-spacing-vertical) * 2);
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: auto auto min-content;
|
grid-template-rows: min-content auto min-content;
|
||||||
background-position: top right;
|
background-position: top right;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
.level {
|
.level {
|
||||||
border: 2px solid var(--button-background-color);
|
border: 2px solid var(--button-background-color);
|
||||||
@ -285,15 +285,10 @@ html[data-theme='dark'] .links-container {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@container (width >= 925px) {
|
@container (width > 800px) {
|
||||||
ol {
|
ol {
|
||||||
display: flex;
|
display: grid;
|
||||||
flex-flow: row;
|
grid-template-columns: repeat(3, 1fr);
|
||||||
}
|
|
||||||
|
|
||||||
li:has(article) {
|
|
||||||
aspect-ratio: 1.15/1;
|
|
||||||
width: 300px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
article {
|
article {
|
||||||
|
Loading…
Reference in New Issue
Block a user