diff --git a/click.js b/click.js deleted file mode 100644 index bf8999c..0000000 --- a/click.js +++ /dev/null @@ -1,58 +0,0 @@ -let numClicks = [numClicksMath, numClicksMathFM, numClicksMathLA, numClicksMathRVF, numClicksMathAS, numClicksMathDM, numClicksMathFSV, numClicksMathLG, numClicksMathMA, numClicksMathNM, numClicksMathCA, numClicksMathDE, numClicksMathDG, numClicksMathGT, numClicksMathP, numClicksMathS, numClicksMathTOP, numClicksMathAT, numClicksMathA, numClicksMathCAL, numClicksMathDS, numClicksMathHA, numClicksMathLM, numClicksMathNC, numClicksMathNIPDE, numClicksMathPDE, numClicksMathRFA, numClicksMathSP]; - -for (let i = 0; i < numClicks.length; i++) { - numClicks[i] = localStorage.getItem(numClicks[i] + "_counter"); - if (numClicks[i] == null) { - numClicks[i] = 0; - localStorage.setItem(numClicks[i] + "_counter", numClicks[i]); - } - numClicks[i] = parseInt(numClicks[i]); - updateCount(i, numClicks[i]); -} - -// function clickFunction(numClick) { -// switch (numClick) { -// case "MATH": -// numClicks = numClicksMath++; -// break; -// case "LG": -// break; -// // default: -// // // code block -// } -// print("hem entrat"); -// document.getElementById(numClick).innerHTML = numClicks; -// return false; -// } - -function incrementCounter(text) { - let i = parseInt(text); - let count = parseInt(localStorage.getItem(numClicks[i] + "_counter")); - count = count + 1; - localStorage.setItem(numClicks[i] + "_counter", count); - updateCount(text, count); - return true; -} -function updateCount(code, count) { - document.getElementById(code).innerHTML = "Clicked " + count + " times!"; -} - -// window.onload = function () { -// // make an AJAX request to the hitcounter.php script -// var xhr = new XMLHttpRequest(); -// xhr.open("GET", "hitcount.txt", true); -// xhr.send(); - -// // when the AJAX request is complete, update the hit count display -// xhr.onreadystatechange = function () { -// if (xhr.readyState == 4 && xhr.status == 200) { -// var count = xhr.responseText; -// document.getElementById("hitcount").innerHTML = count; -// } -// }; -// }; -// var button = document.getElementById("clickme"), count = 0; -// button.onclick = function() { -// count += 1; -// button.innerHTML = "Click me: " + count; -// }; diff --git a/hitcounter.php b/hitcounter.php deleted file mode 100644 index 5f7bda2..0000000 --- a/hitcounter.php +++ /dev/null @@ -1,13 +0,0 @@ - diff --git a/index.html b/index.html deleted file mode 100644 index 420e7d0..0000000 --- a/index.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - Complete summaries - - - - -
-

Mathematics and Physics notes

-
-

This website intends to summarize some notes about each important subject in Mathematics and Physics degree at Autonomous University of Barcelona (UAB) and at Paris Dauphine - PSL University.

-

You can download the sections separately as you like or the whole file of Mathematics or Physics (better in order to avoid linking errors).

-
-
-
-

Mathematics

- -

Full summaries of

- - -

Bachelor level

- -

Master level

- -
-
-

Topics on Physics

- -
- -
-
- - - - - \ No newline at end of file diff --git a/style.css b/style.css deleted file mode 100644 index 7e99b65..0000000 --- a/style.css +++ /dev/null @@ -1,111 +0,0 @@ -* { - background-color: var(--background_color); - /* text-align: center; */ - font-family: Helvetica, Arial, sans-serif; -} - -:root { - --general_color: #549c1c; - --background_color: #eaeaea; - /* --background_second_color: #8b8a84; */ -} - -.header { - padding: 20px; - text-align: center; -} - -.button { - border: 2px solid var(--background_color); - border-radius: 10px; - background-color: var(--background_color); - color: var(--general_color); - /* padding: 16px 25px; */ - text-align: left; - text-decoration: none; - display: inline-block; - font-size: 16px; - font-weight: normal; - /* margin: 4px 2px; */ - transition-duration: 0.4s; - cursor: pointer; -} - -.button:hover { - background-color: var(--general_color); - color: var(--background_color); -} - -.footer { - padding: 20px; - text-align: center; -} - -.column { - float: left; - column-count: 1; - padding: 20px; -} - -.row { - content: ""; - display: table; - clear: both; - margin-left: auto; - margin-right: auto; -} - -.special-color { - color: var(--general_color); -} - -/* .clickBox { - font-weight: normal; - background-color: var(--primary-low); - top: -1px; - color: var(--primary-medium); - position: relative; - border: none; - border-top-color: currentcolor; - border-top-style: none; - border-top-width: medium; - border-right-color: currentcolor; - border-right-style: none; - border-right-width: medium; - border-bottom-color: currentcolor; - border-bottom-style: none; - border-bottom-width: medium; - border-left-color: currentcolor; - border-left-style: none; - border-left-width: medium; - border-image-outset: 0; - border-image-repeat: stretch; - border-image-slice: 100%; - border-image-source: none; - border-image-width: 1; -} */ - -.clickBox { - padding: 0.21em 0.42em; - min-width: 0.5em; - color: #8b8a84; - font-size: 10px; - /* line-height: 5px; */ - text-align: center; - vertical-align: middle; - background-color: #d7d7d7; - display: inline-block; - font-weight: normal; - white-space: nowrap; - border-radius: 10px; -} - -/* .vertical-divider { - border-right: 5px solid #549c1c; -} */ - -/* @media screen and (max-width:600px) { - .column { - width: 100%; - } -} */ \ No newline at end of file