aboutsummaryrefslogtreecommitdiff
path: root/assets/scss/_aside.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss/_aside.scss')
-rw-r--r--assets/scss/_aside.scss12
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;
}
}
}