diff --git a/src/inc_css/portfolio.css b/src/inc_css/portfolio.css index 1f85db0..c7728c2 100644 --- a/src/inc_css/portfolio.css +++ b/src/inc_css/portfolio.css @@ -19,12 +19,12 @@ .page.portfolio { padding-top: 0; - width: 75%; + width: 70%; right: 0; margin:0; padding:0; padding-top: 5vh; - transform: translate(-37%,0); + transform: translate(-40%,0); } .portfolio h1 { diff --git a/src/inc_css/sidebar.css b/src/inc_css/sidebar.css index f849766..0d6874f 100644 --- a/src/inc_css/sidebar.css +++ b/src/inc_css/sidebar.css @@ -1,11 +1,11 @@ .sidebar { - position: absolute; - left: 15px; - width: max(11vmax, 180px); - top: var(--title-height); + position: fixed; + width: max(11vmax, 200px); + top: 0; bottom:0; - padding-top: 1em; + padding-top: 2em; + padding-left: 1vw; background-color: var(--background); color: var(--foreground); @@ -13,21 +13,44 @@ .sidebarContent { position: relative; - background-color: var(--background); + /*background-color: var(--background);*/ } .sidebar ul { position: relative; - background-color: var(--background); - padding-left: 30px; + /*background-color: var(--background);*/ + + padding-top: 2em; + padding-bottom: 1em; + /*margin-left: 1vmax;*/ + + padding-left:1vmax; + width: 85%; } .sidebar li { display: block; - margin: 15px 0 0 0; + margin: 0 0 11px 0; + + transition: transform 0.2s; +} + +.sidebar li:hover { + transform: translate(1vmax); } .sidebar li a { - padding: 0 0; - margin-left: -20px; + display: block; + padding: 2px; + background-color: rgba(0,0,0,0); + + transition: background-color 0.5s; } + +.sidebar li a:hover { + color: var(--foreground); + background-color: var(--background-alt); +} + + + diff --git a/src/inc_css/socials.css b/src/inc_css/socials.css index 9aa14ec..b055944 100644 --- a/src/inc_css/socials.css +++ b/src/inc_css/socials.css @@ -1,7 +1,11 @@ .socials { + position: absolute; + margin-top: 16px; margin-left: 10px; background-color:var(--background); + + bottom: 1em; } .socials i { @@ -12,7 +16,7 @@ } .socials i:hover { color: var(--accent); - transform: translateY(-20%); + transform: translateY(-10%); } .socials a { diff --git a/src/inc_html/footer.html b/src/inc_html/footer.html index 6e9d504..e569562 100644 --- a/src/inc_html/footer.html +++ b/src/inc_html/footer.html @@ -1,3 +1,2 @@
diff --git a/src/inc_html/sidebar.html b/src/inc_html/sidebar.html deleted file mode 100644 index 02e1702..0000000 --- a/src/inc_html/sidebar.html +++ /dev/null @@ -1,11 +0,0 @@ - diff --git a/src/inc_html/sidebarlinks.html b/src/inc_html/sidebarlinks.html new file mode 100644 index 0000000..baf7779 --- /dev/null +++ b/src/inc_html/sidebarlinks.html @@ -0,0 +1,10 @@ + + +#include socials.html diff --git a/src/root/about.html b/src/root/about.html index 2bf3c82..951d0b8 100644 --- a/src/root/about.html +++ b/src/root/about.html @@ -5,11 +5,13 @@ + -#include sidebar.html #include planets.html diff --git a/src/root/blog.html b/src/root/blog.html index 9c3269a..646004e 100644 --- a/src/root/blog.html +++ b/src/root/blog.html @@ -5,11 +5,13 @@ + -#include sidebar.html #include planets.html diff --git a/src/root/contact.html b/src/root/contact.html index 08b1bd3..421e782 100644 --- a/src/root/contact.html +++ b/src/root/contact.html @@ -5,11 +5,13 @@ + -#include sidebar.html #include planets.html diff --git a/src/root/gallery.html b/src/root/gallery.html index ffcac8b..b28b2ee 100644 --- a/src/root/gallery.html +++ b/src/root/gallery.html @@ -5,11 +5,12 @@ +hi, im cat and i do things and stuff. eventually i want to make this an actual, useful landing page for people interested in me and what i do. unfortunately, im very scatterbrained and not very organised! as a result, this is just one of myriad ongoing projects that i constantly try to chip away at, to varying degrees of success.
-hi, im cat and i do things and stuff. eventually i want to make this an actual, useful landing page for people interested in me and what i do. unfortunately, im very scatterbrained and not very organised! as a result, this is just one of myriad ongoing projects that i constantly try to chip away at, to varying degrees of success.
+