Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
349 changes: 349 additions & 0 deletions assets/LooperBG.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/bgParadgmas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/etica_comp.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/internet.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/paradigmas.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/redes.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/seg_informatica.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/virtualizacao.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
544 changes: 544 additions & 0 deletions css/style.css

Large diffs are not rendered by default.

762 changes: 645 additions & 117 deletions index.html

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
///////////////////// DARKTHEME
const html = document.querySelector("html");
const checkbox = document.querySelector("#checkbox");

checkbox.addEventListener("change", () => {
html.classList.toggle("dark-mode");
});

///////////////////// MODAL
let btn = document.getElementById("btn");
let span = document.getElementsByClassName("close")[0];

// Função para aparecer o modal
function openModal(mn) {
let modal = document.getElementById(mn);

if (typeof modal == "undefined" || modal === null) return;

modal.style.display = "Block";
//Ao clicar no botão, o body ficará sem a barra de rolagem:
document.body.style.overflow = "hidden";


// Ao clicar fora do modal ele fica com display: none
window.addEventListener("click", function (e) {
if (e.target == modal) {
modal.style.display = "none";
document.body.style.overflow = "auto";
}
});


// Quando clica em (x) o modal fica com display: none
span.addEventListener("click", function () {
modal.style.display = "none";
document.body.style.overflow = "auto";

});

// Quando clicar a tecla 'esc' do teclado fecha o modal
window.addEventListener("keydown", function (e) {
if (e.keyCode == 27 && modal.style.display == "block") {
modal.style.display = "none";
document.body.style.overflow = "auto";
}
});
}

// Inspirações para o modal:
// https://codepen.io/chomikoo/pen/oWWapq
// https://www.youtube.com/watch?v=NXdjf6GJSKo&ab_channel=SatellaSoft
64 changes: 0 additions & 64 deletions template.css

This file was deleted.