mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 11:16:15 -04:00
Wrong ops
This commit is contained in:
parent
cb5b746bbb
commit
41d93e3268
1 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,3 @@
|
||||||
@use "sass:math";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Nav
|
* Nav
|
||||||
*/
|
*/
|
||||||
|
@ -21,10 +19,10 @@ nav {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
margin-left: calc(math.div(var(--spacing), -0.5));
|
margin-left: calc(var(--spacing) * -0.5);
|
||||||
}
|
}
|
||||||
&:last-of-type {
|
&:last-of-type {
|
||||||
margin-right: calc(math.div(var(--spacing), -0.5));
|
margin-right: calc(var(--spacing) * -0.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +40,7 @@ nav {
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
margin: calc(var(--spacing) * -1) calc(math.div(var(--spacing), -0.5));
|
margin: calc(var(--spacing) * -1) calc(var(--spacing) * -0.5);
|
||||||
padding: var(--spacing) calc(var(--spacing) * 0.5);
|
padding: var(--spacing) calc(var(--spacing) * 0.5);
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue