This commit is contained in:
kankys 2024-03-29 02:43:36 +01:00
parent 1fd37e6471
commit a51dce7ed7
4 changed files with 24 additions and 31 deletions

View File

View File

@ -15,12 +15,16 @@
<!--nav bar--> <!--nav bar-->
<script <script
src="https://kit.fontawesome.com/0a43c6cd1f.js" src="https://kit.fontawesome.com/0a43c6cd1f.js"
crossorigin="anonymous"></script> crossorigin="anonymous"
></script>
<!--icons dark, go to up--> <!--icons dark, go to up-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> <link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
/>
<!--ubuntu fonts--> <!--ubuntu fonts-->
<style> <style>
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap') @import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
</style> </style>
<title>ApolloNvim</title> <title>ApolloNvim</title>
</head> </head>
@ -44,11 +48,10 @@
<!-- <i class="fa-solid fa-xmark"></i> --> <!-- <i class="fa-solid fa-xmark"></i> -->
</div> </div>
</header> </header>
<hr> <hr />
<button id="toggleButton"><i class="fas fa-adjust"></i></button> <button id="toggleButton"><i class="fas fa-adjust"></i></button>
<!--<button onclick="toggleMode()" id="toggleButton" title="Toggle Dark/Light Mode"><i class="fas fa-adjust"></i></button>-->
<!-- Sekce 1 --> <!--Začátek sekcí - co h2 sekce + fotogalerie-->
<section class="content" id="welcome"> <section class="content" id="welcome">
<section class="welcome"> <section class="welcome">
<h2>Úvod:</h2> <h2>Úvod:</h2>
@ -430,10 +433,9 @@
</p> </p>
</section> </section>
</section> </section>
<!--<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">--> <button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">
<!--Nahoru--> <i class="fas fa-arrow-up"></i>
<!--</button>--> </button>
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top"><i class="fas fa-arrow-up"></i></button>
<footer> <footer>
Copyright &copy; Copyright &copy;
<a href="https://git.archoslinux.cz/kankys" target="_blank" <a href="https://git.archoslinux.cz/kankys" target="_blank"

View File

@ -92,9 +92,6 @@ document.getElementById("toggleButton").addEventListener("click", toggleMode);
setDraculaStyles(); setDraculaStyles();
isDraculaMode = true; isDraculaMode = true;
// Photo Gallery -> section (zoom) // Photo Gallery -> section (zoom)
const image1 = document.querySelector(".picture"); const image1 = document.querySelector(".picture");

View File

@ -8,8 +8,9 @@
body { body {
max-width: 1000px; max-width: 1000px;
margin: 0 auto; margin: 0 auto;
font-family: 'Ubuntu', sans-serif; font-family: "Ubuntu", sans-serif;
} }
/*Header */ /*Header */
h1 { h1 {
@ -63,26 +64,19 @@ nav li a {
margin-right: 30px; margin-right: 30px;
margin-top: 10px; margin-top: 10px;
color: black; color: black;
/*border-bottom: 60px;*/
/*border-radius: 30px;*/
/*font-size: 15px;*/
padding: 5px; padding: 5px;
} }
#toggleButton { #toggleButton {
/*position: fixed;*/
bottom: 20px; bottom: 20px;
right: 20px; right: 20px;
/*z-index: 99;*/
border: none; border: none;
outline: none; outline: none;
background-color: transparent; background-color: transparent;
/*color: white; [> Barva ikony <]*/
font-size: 34px; font-size: 34px;
cursor: pointer; cursor: pointer;
} }
/*Header small display*/ /*Header small display*/
@media (max-width: 600px) { @media (max-width: 600px) {
body { body {
@ -192,12 +186,12 @@ footer a {
} }
#scrollToTopBtn { #scrollToTopBtn {
display: none; /* Tlačítko je na začátku skryté */ display: none;
position: fixed; /* Upevnění tlačítka na pravém dolním rohu */ position: fixed;
bottom: 20px; bottom: 20px;
right: 20px; right: 20px;
z-index: 99; /* Ujistěte se, že tlačítko bude přes obsah */ /*butoon přes obsah*/
/*border: none;*/ z-index: 99;
outline: none; outline: none;
cursor: pointer; cursor: pointer;
padding: 15px; padding: 15px;