diff --git a/.scannerwork/.sonar_lock b/.scannerwork/.sonar_lock new file mode 100644 index 0000000..e69de29 diff --git a/.scannerwork/css-bundle/stylelintconfig.json b/.scannerwork/css-bundle/stylelintconfig.json new file mode 100644 index 0000000..f7d8cbb --- /dev/null +++ b/.scannerwork/css-bundle/stylelintconfig.json @@ -0,0 +1 @@ +{"rules":{"block-no-empty":true,"comment-no-empty":true,"string-no-newline":true,"function-linear-gradient-no-nonstandard-direction":true,"media-feature-name-no-unknown":true,"color-no-invalid-hex":true,"font-family-no-duplicate-names":true,"no-duplicate-at-import-rules":true,"no-empty-source":true,"declaration-block-no-duplicate-properties":[true,{"ignore":["consecutive-duplicates-with-different-values"]}],"selector-type-no-unknown":[true,{"ignoreTypes":["/^(mat|md|fa)-/"],"ignore":["custom-elements"]}],"at-rule-no-unknown":[true,{"ignoreAtRules":["value","at-root","content","debug","each","else","error","for","function","if","include","mixin","return","warn","while","extend","use","/^@.*/"]}],"no-duplicate-selectors":true,"font-family-no-missing-generic-family-keyword":true,"no-extra-semicolons":true,"no-invalid-double-slash-comments":true,"selector-pseudo-element-no-unknown":[true,{"ignorePseudoElements":["ng-deep","v-deep"]}],"selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["local","global","export","import"]}],"keyframe-declaration-no-important":true,"property-no-unknown":[true,{"ignoreProperties":["composes","/^mso-/"],"ignoreSelectors":["/^:export.*/","/^:import.*/"]}],"declaration-block-no-shorthand-property-overrides":true,"unit-no-unknown":[true,{"ignoreUnits":["x"]}],"function-calc-no-invalid":true}} diff --git a/.scannerwork/report-task.txt b/.scannerwork/report-task.txt new file mode 100644 index 0000000..b8fed2e --- /dev/null +++ b/.scannerwork/report-task.txt @@ -0,0 +1,6 @@ +projectKey=portfolio +serverUrl=http://localhost:9000 +serverVersion=9.3.0.51899 +dashboardUrl=http://localhost:9000/dashboard?id=portfolio +ceTaskId=AX7VZn1SGctBSVitJkEm +ceTaskUrl=http://localhost:9000/api/ce/task?id=AX7VZn1SGctBSVitJkEm diff --git a/index.html b/index.html index 2d320ca..616d57d 100644 --- a/index.html +++ b/index.html @@ -150,7 +150,7 @@

My first project in Python (with Pygame). It's a simple pong, with a main menu, a pause menu and a game over.

- + Go to GitHub Project Close @@ -162,10 +162,10 @@

My very first project on Unity. It's a simple pong with some effects and a rather calm atmosphere.

- + Go to GitHub Project - + Play Close @@ -177,7 +177,7 @@

Risitas_Bot is a Discord bot that can connect your Twitch chat to a Discord channel in real time, make your friends laugh by playing the meme "Issou!" on command in a voice channel and even give you some statistics about your Osu! account and last ranked games.

- + Go to GitHub Project Close @@ -189,7 +189,7 @@

Work of students of DUT info 1 (IUT of Marne-la-Vallée). The students had to create a sound production inspired by the short film "Calls" by Timothée Hochet.

- + Watch on YouTube Close @@ -201,7 +201,7 @@

The goal was to retrieve the dataset provided by theses.fr, to normalize it, and to create a site allowing to consult these data, first in the form of a simple but visually pleasant list, then in a second time to summarize the research in the form of graphics (and a map).

- + Visit WebSite Close @@ -234,10 +234,10 @@ diff --git a/script.js b/script.js index 041e082..9448465 100644 --- a/script.js +++ b/script.js @@ -15,7 +15,7 @@ const projectsContentList = document.querySelectorAll('.article-content'); const projectsIDs = Array.from(projectsContentList) .map((project) => project.id); -let lastScrollTop = window.pageYOffset; +let lastScrollTop = window.scrollY; function loadCSS() { "use strict"; @@ -54,7 +54,7 @@ function updateTitle() { const titlePos = mainTitle.getBoundingClientRect(); if (titlePos.bottom > 0) { - const distanceToTop = window.pageYOffset + titlePos.top; + const distanceToTop = window.scrollY + titlePos.top; const elementHeight = mainTitle.offsetHeight; const opacity = 1 - ((y - distanceToTop) / elementHeight) * 2; @@ -115,7 +115,7 @@ function switchArticle(article) { function updateScrollDirectionElems() { "user strict"; - const scrollTop = window.pageYOffset; + const scrollTop = window.scrollY; let opacity = "100%"; let visibility = "visible"; diff --git a/stylesheet-main.css b/stylesheet-main.css index fc6afff..100175e 100644 --- a/stylesheet-main.css +++ b/stylesheet-main.css @@ -21,7 +21,7 @@ body { margin: 0; color: #fff; - font-family: Manrope, 'sans-serif'; + font-family: Manrope, sans-serif; font-variation-settings: 'wght' 500; background-color: #121212; @@ -56,7 +56,7 @@ nav a:first-letter { nav a { position: relative; - font-family: Manrope, 'sans-serif'; + font-family: Manrope, sans-serif; opacity: 0; @@ -223,7 +223,7 @@ a { text-align: center; - font-family: Manrope, 'sans-serif'; + font-family: Manrope, sans-serif; font-variation-settings: 'wght' 500; font-size: 2em; letter-spacing: 0.1em; @@ -315,7 +315,7 @@ a { top: 25px; left: -35px; - font-family: Overpass, 'sans-serif'; + font-family: Overpass, sans-serif; font-size: 52px; line-height: 0; }