diff --git a/about.html b/about.html index e795cdb..1fc8b0d 100644 --- a/about.html +++ b/about.html @@ -1,5 +1,5 @@ - + @@ -33,21 +33,20 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= + - -
-
-

Nathan.Woodburn/

-

Hi, I am Nathan Woodburn and I live in Canberra.
I started a 3D printing service in early 2021.
I create CAD models using Fusion 360.
I Program Windows 10 Application using C#.
I'm a co-founder of Handshake Australia
I currently work for Namebase.

-
-
My Website3D Printing Service
-
+ +
+

Nathan.Woodburn/

+
+

Hi, I am Nathan Woodburn and I live in Canberra.
I started a 3D printing service in early 2021.
I create CAD models using Fusion 360.
I Program Windows 10 Application using C#.
I'm a co-founder of Handshake Australia
I currently work for Namebase.

+ diff --git a/assets/css/Social-Icons.css b/assets/css/Social-Icons.css index e6c61ba..ac346c6 100644 --- a/assets/css/Social-Icons.css +++ b/assets/css/Social-Icons.css @@ -1,7 +1,6 @@ .social-icons { color: #313437; background-color: #fff; - text-align: center; padding: 70px 0; } @@ -11,9 +10,21 @@ } } +@media (max-width:500px) { + img.profile { + width: 200px; + margin-left: -100px; + } +} + +@media (max-width:500px) { + .profile-container { + height: 200px; + margin-top: 2em !important; + } +} + .social-icons i { - font-size: 32px; - display: inline-block; color: #757980; margin: 0 10px; width: 60px; @@ -22,5 +33,6 @@ text-align: center; border-radius: 50%; line-height: 60px; + display: inline-block; } diff --git a/assets/css/fixes.css b/assets/css/fixes.css new file mode 100644 index 0000000..e33b972 --- /dev/null +++ b/assets/css/fixes.css @@ -0,0 +1,11 @@ +body.about-body { + position: absolute; + top: 0; + transition: 2s; + height: 101%; +} + +::-webkit-scrollbar { + display: none; +} + diff --git a/assets/js/about.js b/assets/js/about.js new file mode 100644 index 0000000..2e91e43 --- /dev/null +++ b/assets/js/about.js @@ -0,0 +1,30 @@ +function slideout() { + bodydiv = document.querySelector("body"); + bodydiv.style.top = "-100%"; + setTimeout(function() { + window.location.href = "/" + bodydiv.style.top = "0px"; + }, 1000) +} + + +// jQuery(document).ready(function(){ +// function resizeForm(){ +// var width = (window.innerWidth > 0) ? window.innerWidth : document.documentElement.clientWidth; +// if(width > 1024){ + +// } else { + +// } +// } +// window.onresize = resizeForm; +// resizeForm(); +// }); + +document.addEventListener("scroll", scroll); +function scroll() { + var width = (window.innerWidth > 0) ? window.innerWidth : document.documentElement.clientWidth; + if(width > 1024){ + slideout(); + } +} diff --git a/index.html b/index.html index 1159393..32a3a29 100644 --- a/index.html +++ b/index.html @@ -55,7 +55,7 @@ height="0" width="0" style="display: none;visibility: hidden;"> -
+