This commit is contained in:
parent
4d754de96b
commit
5f8f54c174
6 changed files with 95 additions and 150 deletions
|
|
@ -168,10 +168,11 @@ small a {
|
|||
/* lists need some styling */
|
||||
ul {
|
||||
margin-left: -1.3rem;
|
||||
ul { margin-bottom: .5rem; }
|
||||
|
||||
li {
|
||||
margin-bottom: .5rem;
|
||||
&:last-of-type { margin-bottom: 0; }
|
||||
&:last-child { margin-bottom: 0; }
|
||||
|
||||
&::marker {
|
||||
color: var(--accent);
|
||||
|
|
@ -414,6 +415,7 @@ card-container {
|
|||
--n-bg: var(--accent);
|
||||
border-radius: 1rem;
|
||||
border: .15rem solid color-mix(in srgb, var(--yellow) 20%, transparent);
|
||||
color: var(--foreground);
|
||||
margin-bottom: .8rem;
|
||||
padding: .5rem;
|
||||
|
||||
|
|
@ -423,9 +425,10 @@ card-container {
|
|||
}
|
||||
p, ul { &:last-of-type { margin-bottom: 0; } }
|
||||
|
||||
&[important] {
|
||||
&[important], &[warning] {
|
||||
--n-bg: var(--yellow);
|
||||
background-color: color-mix(in srgb, var(--n-bg) 15%, transparent);
|
||||
h3 { color: var(--yellow); }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -690,18 +693,18 @@ buttons-container {
|
|||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
gap: .4rem;
|
||||
}
|
||||
|
||||
[button] {
|
||||
background: light-dark(color-mix(in srgb,var(--accent)60%,transparent), color-mix(in srgb,var(--accent)25%,transparent));
|
||||
padding: .2rem .5rem;
|
||||
border-radius: 10rem;
|
||||
transition: .2s;
|
||||
text-decoration: none !important;
|
||||
[button] {
|
||||
background: light-dark(color-mix(in srgb,var(--accent)40%,transparent), color-mix(in srgb,var(--accent)25%,transparent));
|
||||
border-radius: 10rem;
|
||||
padding: .2rem .5rem;
|
||||
text-decoration: none !important;
|
||||
transition: .2s;
|
||||
|
||||
&:hover {
|
||||
background: var(--accent);
|
||||
color: light-dark(var(--foreground), var(--background));
|
||||
}
|
||||
&:hover {
|
||||
background: var(--accent);
|
||||
color: light-dark(var(--foreground), var(--background));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue