Update CSS guidelines + Prefer rem

This commit is contained in:
venashial
2022-06-07 14:00:53 -07:00
parent c9ec9f14de
commit eb171ecb21
52 changed files with 768 additions and 606 deletions

View File

@@ -7,6 +7,7 @@
}
export let links: Link[]
/** Query param name to use (to not use queries, leave this prop blank) */
export let query = ''
export let resetScroll = false
@@ -52,7 +53,7 @@
display: flex;
flex-direction: row;
align-items: center;
grid-gap: 1rem;
gap: 1rem;
flex-wrap: wrap;
&__link {
@@ -67,10 +68,10 @@
content: '';
display: block;
position: absolute;
bottom: -0.1rem;
bottom: -0var (--unit-3);
width: 100%;
border-radius: var(--rounded-max);
height: 0.2rem;
height: 0.25rem;
background-color: var(--color-brand);
}
}