diff options
author | hellekin <hellekin@cepheide.org> | 2025-08-06 18:20:04 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2025-08-06 18:20:04 +0200 |
commit | c10958c37231899841c5c429c816628402d7a762 (patch) | |
tree | 238ab318348119e18257b1ecf7378ecd7d770af3 /assets/scss/_aside.scss | |
parent | c1d676f4a81d2bc5e29c2cb592862a36794ef711 (diff) | |
download | lesoiseaux.io-c10958c37231899841c5c429c816628402d7a762.tar.gz |
Upgrade SCSS to drop @import and prefer @use statements
Diffstat (limited to 'assets/scss/_aside.scss')
-rw-r--r-- | assets/scss/_aside.scss | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/assets/scss/_aside.scss b/assets/scss/_aside.scss index 6ec573f..365e98a 100644 --- a/assets/scss/_aside.scss +++ b/assets/scss/_aside.scss @@ -1,3 +1,5 @@ +@use "variables"; + body > aside { position: fixed; @@ -10,7 +12,7 @@ body > aside { &:hover, &:focus { left: 0; - background: $bg-main url(../img/aside-on.png) center left no-repeat; + background: variables.$bg-main url(../img/aside-on.png) center left no-repeat; box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.4); width: auto; border-right: 2rem solid black; @@ -18,7 +20,7 @@ body > aside { nav { display: block; - background: $bg-main url(../img/aside-on.png) center left no-repeat; + background: variables.$bg-main url(../img/aside-on.png) center left no-repeat; height: 100%; h3 { @@ -128,15 +130,15 @@ body > aside { } &:first-child { - background: $bg-gfx; + background: variables.$bg-gfx; } &:nth-child(2) { - background: $bg-txt; + background: variables.$bg-txt; } &:last-child { - background: $bg-vda; + background: variables.$bg-vda; } } } |