diff --git a/wiki/network/endeavouros-jak-opravit-nefunkcni-wifi-po-instalaci-na-macbook-pro-2015.html b/endeavouros-jak-opravit-nefunkcni-wifi-po-instalaci-na-macbook-pro-2015.php similarity index 68% rename from wiki/network/endeavouros-jak-opravit-nefunkcni-wifi-po-instalaci-na-macbook-pro-2015.html rename to endeavouros-jak-opravit-nefunkcni-wifi-po-instalaci-na-macbook-pro-2015.php index 20da2c7..29f01ae 100644 --- a/wiki/network/endeavouros-jak-opravit-nefunkcni-wifi-po-instalaci-na-macbook-pro-2015.html +++ b/endeavouros-jak-opravit-nefunkcni-wifi-po-instalaci-na-macbook-pro-2015.php @@ -10,8 +10,7 @@ - - + + + + diff --git a/prehravani-videa.html b/prehravani-videa.php similarity index 89% rename from prehravani-videa.html rename to prehravani-videa.php index ab8e353..24f436f 100644 --- a/prehravani-videa.html +++ b/prehravani-videa.php @@ -10,8 +10,7 @@ - - + + + + diff --git a/wiki/network/script.js b/wiki/network/script.js deleted file mode 100644 index 6b456cd..0000000 --- a/wiki/network/script.js +++ /dev/null @@ -1,46 +0,0 @@ -const menuIcon = document.querySelector(".menu-icon"); -const menuList = document.querySelector("nav"); -const hamburgerIcon = document.querySelector(".fa-solid"); - -menuIcon.addEventListener("click", () => { - if (hamburgerIcon.classList[1] === "fa-bars") { - hamburgerIcon.classList.add("fa-xmark"); - hamburgerIcon.classList.remove("fa-bars"); - menuList.style.display = "block"; - } else { - hamburgerIcon.classList.add("fa-bars"); - hamburgerIcon.classList.remove("fa-xmark"); - menuList.style.display = "none"; - } -}); - -// Tlačítko go to top -// Zobrazení tlačítka od rolovaní části stránky (víc logické než až na konci) -window.onscroll = function () { - scrollFunction(); -}; - -function scrollFunction() { - if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { - document.getElementById("scrollToTopBtn").style.display = "block"; - } else { - document.getElementById("scrollToTopBtn").style.display = "none"; - } -} - -// Posunout nahoru, když uživatel klikne na tlačítko -function scrollToTop() { - document.body.scrollTop = 0; // Pro Safari - document.documentElement.scrollTop = 0; // Pro ostatní prohlížeče -} - -// Code-box -document.getElementById("copy-button").addEventListener("click", function () { - var codeContent = document.getElementById("code-content"); - var range = document.createRange(); - range.selectNode(codeContent); - window.getSelection().removeAllRanges(); - window.getSelection().addRange(range); - document.execCommand("copy"); - window.getSelection().removeAllRanges(); -}); diff --git a/wiki/network/style.css b/wiki/network/style.css deleted file mode 100644 index 22b5ffa..0000000 --- a/wiki/network/style.css +++ /dev/null @@ -1,92 +0,0 @@ -/* About sekce */ - -.about-section { - margin: 45px 0; -} - -.about-section-wrapper { - width: 65%; - margin: 0 auto; - display: flex; - gap: 20px; -} - -.about-text { - flex: 1; -} - -.about-img { - flex: 1; -} - -img { - width: 100%; - height: 100%; - object-fit: cover; -} - -@media (max-width: 768px) { - .about-section-wrapper { - flex-direction: column; - width: 90%; - margin: 0 auto; - } - - .about-text { - text-align: left; - } - - .about-img { - text-align: center; - } - - .about-text-p { - padding-top: 15px; - } -} - -footer { - text-align: center; - margin-top: 20px; - margin-bottom: 20px; -} - -/* Go to go */ -#scrollToTopBtn { - display: none; - position: fixed; - bottom: 20px; - right: 20px; - /*butoon přes obsah*/ - z-index: 99; - outline: none; - cursor: pointer; - padding: 15px; - border-radius: 50%; - background-color: transparent; -} - -/* Různé - extra css */ -h1 { - color: #734f96; - margin-top: 50px; - font-size: 50px; -} - -h2 a { - color: #734f96; -} - -h3 { - color: #734f96; -} - -img { - width: 20%; -} - -code { - background-color: aliceblue; -} - -