diff --git a/assets/css/style.css b/assets/css/style.css index e7ede6c..5d11c3b 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -682,6 +682,45 @@ section { display: flex; flex-direction: column; align-items: center; + overflow: visible; +} + +.resume-content { + max-height: 110vh; + overflow-y: hidden; +} + +.resume-content.expanded { + display:block; + max-height: none; + overflow-y: visible; +} + +.resume-fade { + position: absolute; + display:flex; + justify-content: center; + bottom: 0; + width: 100%; + height: 50px; + background: linear-gradient(to bottom, transparent, var(--background) 50%); + pointer-events: none; +} + +.resume-fade.expanded { + background: var(--background); +} + +.resume-btn { + position: absolute; + bottom: 0; + font-size: 1em !important; + + border: none; + text-align: center; + z-index: 100; + box-shadow: none !important; + pointer-events: auto; } .resume .resume-title { @@ -694,7 +733,7 @@ section { .resume .resume-item { padding: 0 0 20px 20px; - margin-top: -2px; + margin-left: 8px; border-left: 2px solid var(--resume-border); position: relative; } diff --git a/assets/js/main.js b/assets/js/main.js index efadd89..21bd5c6 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -161,6 +161,19 @@ true ); + on("click", "#resume-toggle", e => { + console.log("sup") + const sec = select("#resume-section"); + const btn = e.target; + sec.classList.toggle("expanded"); + select(".resume-fade").classList.toggle("expanded"); + if (sec.classList.contains("expanded")) + btn.innerHTML = 'Hide '; + else + btn.innerHTML = 'Expand '; + AOS.refresh(); + }) + /** * Scroll with ofset on page load with hash links in the url */ diff --git a/index.html b/index.html index e4a26cc..4f378b6 100644 --- a/index.html +++ b/index.html @@ -442,138 +442,148 @@ -
Part-time job at Università della Svizzera Italiana, Lugano, CH
-- Helped in various tasks in a the research lab of Prof. Laura Pozzi. This lab specializes in the - automation of embedded processor customization, the design and compilation of innovative reconfigurable hardware, and - techniques for Approximate Computing and Logic Synthesis. -
Part-time job at Università della Svizzera Italiana, Lugano, CH
++ Helped in various tasks in a the research lab of Prof. Laura Pozzi. This lab specializes in the + automation of embedded processor customization, the design and compilation of innovative reconfigurable hardware, and + techniques for Approximate Computing and Logic Synthesis. +
Part-time job at Università della Svizzera Italiana, Lugano, CH
-- Helped teachers with grading assignments and exams. Tried to create a meaningful - connection with students that needed my help to make them succeed in completing - their course. I loved being able to transmit my passion on to them and see the - sparkles in their eyes when they learned about concepts I taught them. -
-3 ECTS - Prof. Matthias Hauswirth
-9 ECTS - Prof. Matthias Hauswirth
-6 ECTS - Prof. Antonio Carzaniga
--
Part-time job at Università della Svizzera Italiana, Lugano, CH
++ Helped teachers with grading assignments and exams. Tried to create a meaningful + connection with students that needed my help to make them succeed in completing + their course. I loved being able to transmit my passion on to them and see the + sparkles in their eyes when they learned about concepts I taught them. +
+3 ECTS - Prof. Matthias Hauswirth
+9 ECTS - Prof. Matthias Hauswirth
+6 ECTS - Prof. Antonio Carzaniga
++
Internship at Università della Svizzera Italiana, Lugano, CH
-- UROP - (Undergraduate Research Opportunities Program) is an internship offered to the top - five students that apply and allows you to work with a research group of your - choice. -
Internship at Università della Svizzera Italiana, Lugano, CH
++ UROP + (Undergraduate Research Opportunities Program) is an internship offered to the top + five students that apply and allows you to work with a research group of your + choice. +
Internship at TCPOS SA - Zucchetti Switzerland, Mendrisio, CH
+Internship at TCPOS SA - Zucchetti Switzerland, Mendrisio, CH
-- This internship took place during the Autumn semester of the 3rd year of my Bachelor's - degree. It was part of the course "Software Atelier 5: Field Project" - where students spend two days per week working for a company associated with USI. - -
npm create-react-app
)
- to learn all about a React application was made of
- + This internship took place during the Autumn semester of the 3rd year of my Bachelor's + degree. It was part of the course "Software Atelier 5: Field Project" + where students spend two days per week working for a company associated with USI. + +
npm create-react-app
)
+ to learn all about a React application was made of
+