diff --git a/app.js b/app.js new file mode 100644 index 0000000..c440bb3 --- /dev/null +++ b/app.js @@ -0,0 +1,120 @@ +particlesJS('particles-js', + + { + "particles": { + "number": { + "value": 80, + "density": { + "enable": true, + "value_area": 800 + } + }, + "color": { + "value": "#619b8A" + }, + "shape": { + "type": "circle", + "stroke": { + "width": 0, + "color": "#000000" + }, + "polygon": { + "nb_sides": 5 + }, + "image": { + "src": "img/github.svg", + "width": 100, + "height": 100 + } + }, + "opacity": { + "value": 0.5, + "random": false, + "anim": { + "enable": false, + "speed": 1, + "opacity_min": 0.1, + "sync": false + } + }, + "size": { + "value": 5, + "random": true, + "anim": { + "enable": false, + "speed": 40, + "size_min": 0.1, + "sync": false + } + }, + "line_linked": { + "enable": true, + "distance": 150, + "color": "#a1c181", + "opacity": 0.7, + "width": 1 + }, + "move": { + "enable": true, + "speed": 6, + "direction": "none", + "random": false, + "straight": false, + "out_mode": "out", + "attract": { + "enable": false, + "rotateX": 600, + "rotateY": 1200 + } + } + }, + "interactivity": { + "detect_on": "canvas", + "events": { + "onhover": { + "enable": true, + "mode": "repulse" + }, + "onclick": { + "enable": true, + "mode": "push" + }, + "resize": true + }, + "modes": { + "grab": { + "distance": 400, + "line_linked": { + "opacity": 1 + } + }, + "bubble": { + "distance": 400, + "size": 40, + "duration": 2, + "opacity": 8, + "speed": 3 + }, + "repulse": { + "distance": 200 + }, + "push": { + "particles_nb": 4 + }, + "remove": { + "particles_nb": 2 + } + } + }, + "retina_detect": true, + "config_demo": { + "hide_card": false, + "background_color": "#b61924", + "background_image": "", + "background_position": "50% 50%", + "background_repeat": "no-repeat", + "background_size": "cover" + } + } + +); \ No newline at end of file diff --git a/assets/particles.json b/assets/particles.json new file mode 100644 index 0000000..adfbd2f --- /dev/null +++ b/assets/particles.json @@ -0,0 +1,110 @@ +{ + "particles": { + "number": { + "value": 80, + "density": { + "enable": true, + "value_area": 800 + } + }, + "color": { + "value": "#ffffff" + }, + "shape": { + "type": "circle", + "stroke": { + "width": 0, + "color": "#000000" + }, + "polygon": { + "nb_sides": 5 + }, + "image": { + "src": "img/github.svg", + "width": 100, + "height": 100 + } + }, + "opacity": { + "value": 0.5, + "random": false, + "anim": { + "enable": false, + "speed": 1, + "opacity_min": 0.1, + "sync": false + } + }, + "size": { + "value": 10, + "random": true, + "anim": { + "enable": false, + "speed": 80, + "size_min": 0.1, + "sync": false + } + }, + "line_linked": { + "enable": true, + "distance": 300, + "color": "#ffffff", + "opacity": 0.4, + "width": 2 + }, + "move": { + "enable": true, + "speed": 12, + "direction": "none", + "random": false, + "straight": false, + "out_mode": "out", + "bounce": false, + "attract": { + "enable": false, + "rotateX": 600, + "rotateY": 1200 + } + } + }, + "interactivity": { + "detect_on": "canvas", + "events": { + "onhover": { + "enable": false, + "mode": "repulse" + }, + "onclick": { + "enable": true, + "mode": "push" + }, + "resize": true + }, + "modes": { + "grab": { + "distance": 800, + "line_linked": { + "opacity": 1 + } + }, + "bubble": { + "distance": 800, + "size": 80, + "duration": 2, + "opacity": 0.8, + "speed": 3 + }, + "repulse": { + "distance": 400, + "duration": 0.4 + }, + "push": { + "particles_nb": 4 + }, + "remove": { + "particles_nb": 2 + } + } + }, + "retina_detect": true + } \ No newline at end of file diff --git a/css/style.css b/css/style.css index 80b6121..51af462 100644 --- a/css/style.css +++ b/css/style.css @@ -12,7 +12,7 @@ nav { left: 0; z-index: 1; display: flex; - height: 160px; + height: 12vh; width: 100%; background-color: rgba(215, 232, 186, 0.3); align-items: center; @@ -25,7 +25,7 @@ nav .logo-container { } nav .logo-container img { - height: 10vh; + height: 9vh; } nav .nav-links { @@ -85,38 +85,82 @@ nav .nav-links a:last-child:hover::before { /* Styling for the welcome text and image */ .welcome-section { text-align: center; - background: url('../Images/Mountain_Range.webp'), #32373B; - background-repeat: no-repeat; - background-size: cover; - background-blend-mode: multiply; - padding:200px 0; - height: 100%; + padding: 12vh 0vh; + width: 100%; } .image-wrapper { display: inline-block; - width: 40%; - margin-right: 20px; + margin-right: 10vw; vertical-align: middle; - height: 100%; + height: 50vh; } .image-wrapper img { display: block; max-width: 100%; - height: 80%; + height: 100%; + border-radius: 5%; } .text-wrapper { display: inline-block; width: 60%; vertical-align: middle; - max-width: 800px; + max-width: max-content; margin: 0 auto; - height: 80%; color: #fff; } .text-wrapper h1 { margin-top: 0; margin-bottom: 0; - font-size: 156px; + font-size: 16vh; + line-height: 1; +} +.text-wrapper h3 { + margin-top: 0; + margin-bottom: 0; + font-size: 8vh; line-height: 1; + font-family: 'Righteous', cursive; +} + +.text-wrapper p { + font-size: 5vh; + margin-top: 1.5vh; + margin-bottom: 0; + line-height: 1; +} + +.welcome-section .nav-links { + display: flex; + justify-content: center; + align-items: center; + margin-right: auto; + margin-left: auto; +} + +.welcome-section .nav-links a { + display: inline-block; + text-decoration: none; + color: #fff; + padding: 32px 5px; + position: relative; + margin-left: 16px; +} + +.text-wrapper img { + height: 48px; } + +#particles-js { + width: 100%; +} + +#particles-js .container { + position: absolute; + left: 0; + right: 0; + padding: 13vh; + margin-left: auto; + margin-right: auto; + width: max-content; +} \ No newline at end of file diff --git a/css/utlities.css b/css/utlities.css index 8fe25d9..c31a882 100644 --- a/css/utlities.css +++ b/css/utlities.css @@ -2,6 +2,14 @@ h1 { font-family: 'Righteous', cursive; } +h3 { + font-family: 'Source Sans Pro', sans-serif; +} + p, a{ font-family: 'Source Sans Pro', sans-serif; } + +#orange { + color: #fe7f2d; +} \ No newline at end of file diff --git a/home.html b/home.html index 5522cf1..575053a 100644 --- a/home.html +++ b/home.html @@ -10,6 +10,7 @@
+ - - - -I'm an undergraduate freshman within the School of Computer Science at Carnegie Mellon University. I am always looking at new ways to develop my skills in CS and life in general. - In my free time, I am constantly working with robots, playing board games with my friends, or building new hobbies. I am always interested in trying new things, so feel free - to contact me at any time with fresh opportunities!
-