Refactored commons/content.php for tools page

Update composer.php, config.php, and 7 more files...
This commit is contained in:
2023-05-25 07:09:39 +02:00
parent ee90a3745d
commit e6e00ad02f
9 changed files with 241 additions and 162 deletions

View File

@@ -20,7 +20,8 @@
filter: grayscale(100%);
mix-blend-mode: multiply;
opacity: 40%;
width: 100%;
// Fixes the width to the size of the sidebar minus its padding. (15rem - 1rem * 2)
width: 13rem;
height: auto;
}
@@ -36,10 +37,14 @@
position: absolute;
bottom: 1.5em;
right: 1.5em;
filter: drop-shadow(0 0 0.5rem #0000007F);
filter: drop-shadow(0 0 0.25rem #0000007F);
mix-blend-mode: multiply;
//opacity: 0.25;
opacity: 0.2;
// Preventing the selection and dragging of the image for aesthetic reasons.
user-drag: none;
user-select: none;
}
// Logo colors

View File

@@ -21,6 +21,8 @@ header, nav, footer {
background-color: #{$color-background-surround};
}
// FIXME: Might be easier to have it as absolute, shift it left when closing and using a blank spacing div tbh...
// Or nest content in div, and when retracted move it out at the same speed, idk...
.sidebar {
width: #{$size-sidebar};
max-width: #{$size-sidebar};
@@ -28,7 +30,8 @@ header, nav, footer {
&.retracted {
width: 0;
padding: 0;
padding-left: 0;
padding-right: 0;
overflow: hidden;
}
}