Responsively scale aside

This commit is contained in:
Florine W. Dekker 2022-11-21 18:33:25 +01:00
parent 94e4ad21b8
commit 47e5c8eb94
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
2 changed files with 23 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "about",
"version": "1.3.7",
"version": "1.3.8",
"description": "All about Florine",
"author": "Florine W. Dekker",
"browser": "dist/bundle.js",

View File

@ -1,5 +1,25 @@
:root {
--aside-width: 215px !important;
@media (max-width: 768px) {
:root {
--aside-width: 215px !important;
}
}
@media (min-width: 768px) and (max-width: 992px) {
:root {
--aside-width: 230px !important;
}
}
@media (min-width: 992px) and (max-width: 1200px) {
:root {
--aside-width: 240px !important;
}
}
@media (min-width: 1200px) {
:root {
--aside-width: 255px !important;
}
}
#socials-span a {