content
10
.htaccess
Normal file
@ -0,0 +1,10 @@
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
||||
RewriteCond %{HTTP_USER_AGENT} !(BlackBerry)
|
||||
RewriteCond %{HTTP_USER_AGENT} !(Windows\sNT\s5\.[12])
|
||||
RewriteCond %{HTTP_HOST} ^(www\.)?endeavouros.cz
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]
|
||||
|
||||
RewriteBase /
|
||||
RewriteCond %{REQUEST_URI} ^(/www/|/www)
|
||||
RewriteRule ^(www/)(.*)$ https://%{HTTP_HOST}/$2 [R=301,L]
|
78
clanky/index.html
Normal file
@ -0,0 +1,78 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="description"
|
||||
content="EndeavourOS svobodný operační systém...."
|
||||
/>
|
||||
<meta name="keywords" content="EndeavourOS" />
|
||||
<meta name="author" content="Kankys" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="shortcut icon" href="/img/icons.png" />
|
||||
<script
|
||||
src="https://kit.fontawesome.com/0a43c6cd1f.js"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<!--icons dark, go to up-->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
|
||||
/>
|
||||
|
||||
<!--ubuntu fonts-->
|
||||
<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");
|
||||
</style>
|
||||
|
||||
<title>EndeavourOS</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<!-- EOS - logo () -->
|
||||
<div class="logo">
|
||||
<img src="/img/EndeavourOS-logo.webp" alt="" />
|
||||
</div>
|
||||
|
||||
<!-- EOS - navigation -->
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/index.html">Domů</a></li>
|
||||
<li><a href="/novinky/index.html">Novinky</a></li>
|
||||
<li><a href="/wiki/index.html">Wiki</a></li>
|
||||
<li>
|
||||
<a href="https://discord.gg/9YA8A2xf" target="_blank">Discord</a>
|
||||
</li>
|
||||
<li><a href="https://t.me/eoscz" target="_blank">Telegram</a></li>
|
||||
<li><a href="/o-nas/index.html">O nás</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="menu-icon">
|
||||
<!-- Ikona hamburger -->
|
||||
<i class="fa-solid fa-bars"></i>
|
||||
<!-- Ikona cross -->
|
||||
<!-- <i class="fa-solid fa-xmark"></i> -->
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<section class="welcome">
|
||||
<h2>Na této sekci pilně pracuji.</h2>
|
||||
</section>
|
||||
</main>
|
||||
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">
|
||||
<i class="fas fa-arrow-up"></i>
|
||||
</button>
|
||||
<footer>
|
||||
Copyright ©
|
||||
<a href="https://git.archoslinux.cz/kankys" target="_blank"
|
||||
>Lukáš Kaňka</a
|
||||
>
|
||||
2024
|
||||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
35
clanky/script.js
Normal file
@ -0,0 +1,35 @@
|
||||
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
|
||||
}
|
169
clanky/style.css
Normal file
@ -0,0 +1,169 @@
|
||||
* {
|
||||
margin: 0;
|
||||
|
||||
padding: 0;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 1600px;
|
||||
margin: 0 auto;
|
||||
font-family: "Ubuntu", sans-serif;
|
||||
}
|
||||
|
||||
/* EOS ( header) */
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #313131;
|
||||
height: 70px;
|
||||
flex-direction: row;
|
||||
/*position: fixed;*/
|
||||
}
|
||||
|
||||
.logo {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 150px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
/* EOS - navigation */
|
||||
nav {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
nav li {
|
||||
display: inline-block;
|
||||
list-style-type: none;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
nav li a {
|
||||
text-decoration: none;
|
||||
color: #734f96;
|
||||
/*border: 1px solid #734f96;*/
|
||||
}
|
||||
|
||||
/* EOS - navigation icons */
|
||||
|
||||
.menu-icon {
|
||||
display: none;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
/* EOS - Welcome*/
|
||||
|
||||
.welcome {
|
||||
/*background: url("image/background.webp");*/
|
||||
min-height: calc(100vh - 70px);
|
||||
background-size: cover;
|
||||
/*background-position: center;*/
|
||||
text-align: center;
|
||||
}
|
||||
h2 {
|
||||
color: #734f96;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 5px;
|
||||
}
|
||||
.p {
|
||||
text-align: center;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
header {
|
||||
position: relative;
|
||||
}
|
||||
header nav {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
background-color: var(--special-blue);
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: block;
|
||||
color: var(--special-white);
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
header nav li {
|
||||
display: block !important;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 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-bottom: 10px;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
BIN
img/EndeavourOS-logo.webp
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
img/icons.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
img/slide-community-DEs.webp
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
img/slide-discover.webp
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
img/slide-welcome-DEs.webp
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
img/slide-welcome-app-1.webp
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/slide-welcome-easy-install.webp
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
img/stars.webp
Normal file
After Width: | Height: | Size: 194 KiB |
265
index.html
Normal file
@ -0,0 +1,265 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="description"
|
||||
content="EndeavourOS svobodný operační systém...."
|
||||
/>
|
||||
<meta name="keywords" content="EndeavourOS" />
|
||||
<meta name="author" content="Kankys" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="shortcut icon" href="img/icons.png" />
|
||||
<script
|
||||
src="https://kit.fontawesome.com/0a43c6cd1f.js"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<!--icons dark, go to up-->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
|
||||
/>
|
||||
|
||||
<!--ubuntu fonts-->
|
||||
<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");
|
||||
</style>
|
||||
|
||||
<title>EndeavourOS</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<!-- EOS - logo () -->
|
||||
<div class="logo">
|
||||
<img src="img/EndeavourOS-logo.webp" alt="" />
|
||||
</div>
|
||||
|
||||
<!-- EOS - navigation -->
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/novinky/index.html">Novinky</a></li>
|
||||
<li><a href="/wiki/index.html">Wiki</a></li>
|
||||
<li><a href="/clanky/index.html">Články</a></li>
|
||||
<li>
|
||||
<a href="https://discord.gg/9YA8A2xf" target="_blank">Discord</a>
|
||||
</li>
|
||||
<li><a href="https://t.me/eoscz" target="_blank">Telegram</a></li>
|
||||
<li><a href="/o-nas/index.html">O nás</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="menu-icon">
|
||||
<!-- Ikona hamburger -->
|
||||
<i class="fa-solid fa-bars"></i>
|
||||
<!-- Ikona cross -->
|
||||
<!-- <i class="fa-solid fa-xmark"></i> -->
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<section class="welcome">
|
||||
<h2>🇨🇿 Vítáme Tě na EndeavourOS Česká komunita! 🇨🇿</h2>
|
||||
<p>
|
||||
EndeavourOS je distribuce založená na Arch Linuxu, ( Českou komunitu
|
||||
Arch Linux najdeš na
|
||||
<a href="https://arch-linux.cz/" target="_blank">Arch-Linu xCZ</a> )
|
||||
která poskytuje prostředí Arch Linuxu bez potíží s jeho ruční
|
||||
instalací pro systémy x86_64. Po instalaci máte k dispozici lehké
|
||||
prostředí připravené k prozkoumání s Vaším terminálem, spolu s naší
|
||||
domácí aplikací Welcome App jako výkonným průvodcem, který vám pomůže.
|
||||
Brzy i v češtině
|
||||
</p>
|
||||
<p>
|
||||
Jsme Linuxový nadšenci Arch Linuxu a EndeavourOS, za tímto účel vznikl
|
||||
tento projekt s dovolením vývojářů EndeavourOS. Pravidelně Vám jsem
|
||||
budeme přinášet novinky ze světa EndeavourOS, v sekci Wiki najdete
|
||||
spousty tipů a návodů pro EndeavourOS. Na sociálních sítích Discord a
|
||||
Telegram najdete disk uzní fóra v češtině. Aktivně jsme v kontaktu s
|
||||
vývojáři EndeavourOS a pracujeme na překladu aplikace Welcome do
|
||||
českého jazyka.
|
||||
</p>
|
||||
<p>
|
||||
Web je stále ve vývoji tak se omlouváme za chybějící obsah a jiné
|
||||
nedodělky, ale pilně na projektu pracuji ve svém volném čase.
|
||||
</p>
|
||||
<p>
|
||||
Tento projekt by nikdy nevznikl bez
|
||||
<a href="https://arch-linux.cz/" target="_blank">Arch-LinuxCZ</a> a
|
||||
jeho správci
|
||||
<a href="https://mastodon.arch-linux.cz/@archos" target="_blank"
|
||||
>Archosovi</a
|
||||
>. Tím mu děkuji za trpělivost, rady a také za technickou podporu
|
||||
tohoto webu.
|
||||
</p>
|
||||
<h2>Minimální systémové požadavky pro EndeavourOS</h2>
|
||||
<p>🚀 2,5 GB RAM (offline instalace) a 4 GB RAM (online instalace)</p>
|
||||
<p>🚀 Dvoujádrový procesor (64 bitů, x86-64, amd64)</p>
|
||||
<p>🚀 15 GB místa na pevném disku</p>
|
||||
<p>
|
||||
🚀 Instalační program stále podporuje pouze starší systémy Bios, ale
|
||||
doporučuje se spouštět moderní systémy EFI (UEFI), které nejsou ve
|
||||
starším ( CSM ) režimu
|
||||
</p>
|
||||
<h2>Stažení EndeavourOS</h2>
|
||||
<p>
|
||||
EndeavourOS doporučujeme stahovat z oficiálních stránek projektu. Máte
|
||||
možnost stahování z několika zrcadel, stahovat EndeavourOS můžete pod
|
||||
tímto
|
||||
<a href="https://endeavouros.com/#Download" target="_blank">odkazem</a
|
||||
>.
|
||||
</p>
|
||||
<h2>Co můžete očekávat</h2>
|
||||
|
||||
<section class="about-section" id="about">
|
||||
<div class="about-section-wrapper">
|
||||
<div class="about-text">
|
||||
<h2 class="h2-about">Snadno použitelný instalační program</h2>
|
||||
<p class="about-text-p">
|
||||
Instalační program Calamares vás provede prvními kroky instalace
|
||||
systému s možností offline instalace KDE Plasma nebo online
|
||||
instala ce se spoustou možností…
|
||||
</p>
|
||||
</div>
|
||||
<div class="about-img">
|
||||
<img
|
||||
class="about-img content-container"
|
||||
src="img/slide-welcome-easy-install.webp"
|
||||
alt="#"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="about-section" id="about">
|
||||
<div class="about-section-wrapper">
|
||||
<div class="about-text">
|
||||
<h2 class="h2-about">
|
||||
Osm desktopových prostředí a jeden správce oken
|
||||
</h2>
|
||||
<p class="about-text-p">
|
||||
Online instalace vám umožňuje vybrat si Xfce, Plasma, Gnome,
|
||||
Mate, Cinnamon, Budgie, LxQt, LxDe a i3-wm, ale je toho víc…
|
||||
</p>
|
||||
</div>
|
||||
<div class="about-img">
|
||||
<img
|
||||
class="about-img content-container"
|
||||
src="img/slide-welcome-DEs.webp"
|
||||
alt="#"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="about-section" id="about">
|
||||
<div class="about-section-wrapper">
|
||||
<div class="about-text">
|
||||
<h2 class="h2-about">Pět správců oken</h2>
|
||||
<p class="about-text-p">
|
||||
Máme také správce oken Sway, Qtile, BSPWM, Openbox a Worm,
|
||||
všechny připravené k použití s výběrem přednastavení,
|
||||
připravené pro váš skokový start. Tyto WM nejsou dostupné
|
||||
prostřednictvím ISO, ale lze je nainstalovat ručně. přejděte na
|
||||
naši stránku
|
||||
<a
|
||||
href="https://github.com/EndeavourOS-Community-Editions"
|
||||
target="_blank"
|
||||
>GitHub</a
|
||||
>
|
||||
… Pro více informací
|
||||
</p>
|
||||
</div>
|
||||
<div class="about-img">
|
||||
<img
|
||||
class="about-img content-container"
|
||||
src="img/slide-community-DEs.webp"
|
||||
alt="#"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="about-section" id="about">
|
||||
<div class="about-section-wrapper">
|
||||
<div class="about-text">
|
||||
<h2 class="h2-about">Základní instalace připravená k doladění</h2>
|
||||
<p class="about-text-p">
|
||||
Bez ohledu na to, jakou metodu si vyberete, DE nebo WM, všechny
|
||||
mají jednu věc společnou, základní a téměř prostou instalaci se
|
||||
skromným, ale výkonným výběrem (terminálově ovládaných) aplikací
|
||||
a balíčků, abyste mohli začít svůj hluboký ponor do Arch.
|
||||
-založený systém. Abych zdůraznil některé z nich…
|
||||
</p>
|
||||
</div>
|
||||
<div class="about-img">
|
||||
<img
|
||||
class="about-img content-container"
|
||||
src="img/stars.webp"
|
||||
alt="#"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="about-section" id="about">
|
||||
<div class="about-section-wrapper">
|
||||
<div class="about-text">
|
||||
<h2 class="h2-about">
|
||||
Aplikace Vítejte, naše brána na vaši cestu
|
||||
</h2>
|
||||
<p class="about-text-p">
|
||||
Naše uvítací aplikace vás provede informacemi potřebnými pro
|
||||
vaše první kroky do systému a také vám poskytne několik
|
||||
užitečných nást rojů, které budete moci používat i po počátečním
|
||||
nastavení…
|
||||
</p>
|
||||
</div>
|
||||
<div class="about-img">
|
||||
<img
|
||||
class="about-img content-container"
|
||||
src="img/slide-welcome-app-1.webp"
|
||||
alt="#"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="about-section" id="about">
|
||||
<div class="about-section-wrapper">
|
||||
<div class="about-text">
|
||||
<h2 class="h2-about">
|
||||
Naše hvězdná komunita je tu, aby vás posunula vpřed
|
||||
</h2>
|
||||
<p class="about-text-p">
|
||||
Discovery je naše znalostní báze, která vám pomůže dále nastavit
|
||||
systém podle vašich potřeb, ale máme také vřelou a velmi
|
||||
užitečnou komunitu na našem fóru Discord a skupině Telegram,
|
||||
která odpovídá na vaše otázky.
|
||||
</p>
|
||||
</div>
|
||||
<div class="about-img">
|
||||
<img
|
||||
class="about-img content-container"
|
||||
src="img/slide-discover.webp"
|
||||
alt="#"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<p class="p">
|
||||
Na našem webu nesbíráme o Vás žádné informace ani tu nemáme žádné
|
||||
sledovací zařízení.
|
||||
</p>
|
||||
</section>
|
||||
</main>
|
||||
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">
|
||||
<i class="fas fa-arrow-up"></i>
|
||||
</button>
|
||||
<footer>
|
||||
Copyright ©
|
||||
<a href="https://git.archoslinux.cz/kankys" target="_blank"
|
||||
>Lukáš Kaňka</a
|
||||
>
|
||||
2024
|
||||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
78
novinky/index.html
Normal file
@ -0,0 +1,78 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="description"
|
||||
content="EndeavourOS svobodný operační systém...."
|
||||
/>
|
||||
<meta name="keywords" content="EndeavourOS" />
|
||||
<meta name="author" content="Kankys" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="shortcut icon" href="/img/icons.png" />
|
||||
<script
|
||||
src="https://kit.fontawesome.com/0a43c6cd1f.js"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<!--icons dark, go to up-->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
|
||||
/>
|
||||
|
||||
<!--ubuntu fonts-->
|
||||
<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");
|
||||
</style>
|
||||
|
||||
<title>EndeavourOS</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<!-- EOS - logo () -->
|
||||
<div class="logo">
|
||||
<img src="/img/EndeavourOS-logo.webp" alt="" />
|
||||
</div>
|
||||
|
||||
<!-- EOS - navigation -->
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/index.html">Domů</a></li>
|
||||
<li><a href="/wiki/index.html">Wiki</a></li>
|
||||
<li><a href="/clanky/index.html">Články</a></li>
|
||||
<li>
|
||||
<a href="https://discord.gg/9YA8A2xf" target="_blank">Discord</a>
|
||||
</li>
|
||||
<li><a href="https://t.me/eoscz" target="_blank">Telegram</a></li>
|
||||
<li><a href="/o-nas/index.html">O nás</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="menu-icon">
|
||||
<!-- Ikona hamburger -->
|
||||
<i class="fa-solid fa-bars"></i>
|
||||
<!-- Ikona cross -->
|
||||
<!-- <i class="fa-solid fa-xmark"></i> -->
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<section class="welcome">
|
||||
<h2>Na obsahu v této sekci pilně pracuji.</h2>
|
||||
</section>
|
||||
</main>
|
||||
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">
|
||||
<i class="fas fa-arrow-up"></i>
|
||||
</button>
|
||||
<footer>
|
||||
Copyright ©
|
||||
<a href="https://git.archoslinux.cz/kankys" target="_blank"
|
||||
>Lukáš Kaňka</a
|
||||
>
|
||||
2024
|
||||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
35
novinky/script.js
Normal file
@ -0,0 +1,35 @@
|
||||
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
|
||||
}
|
169
novinky/style.css
Normal file
@ -0,0 +1,169 @@
|
||||
* {
|
||||
margin: 0;
|
||||
|
||||
padding: 0;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 1600px;
|
||||
margin: 0 auto;
|
||||
font-family: "Ubuntu", sans-serif;
|
||||
}
|
||||
|
||||
/* EOS ( header) */
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #313131;
|
||||
height: 70px;
|
||||
flex-direction: row;
|
||||
/*position: fixed;*/
|
||||
}
|
||||
|
||||
.logo {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 150px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
/* EOS - navigation */
|
||||
nav {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
nav li {
|
||||
display: inline-block;
|
||||
list-style-type: none;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
nav li a {
|
||||
text-decoration: none;
|
||||
color: #734f96;
|
||||
/*border: 1px solid #734f96;*/
|
||||
}
|
||||
|
||||
/* EOS - navigation icons */
|
||||
|
||||
.menu-icon {
|
||||
display: none;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
/* EOS - Welcome*/
|
||||
|
||||
.welcome {
|
||||
/*background: url("image/background.webp");*/
|
||||
min-height: calc(100vh - 70px);
|
||||
background-size: cover;
|
||||
/*background-position: center;*/
|
||||
text-align: center;
|
||||
}
|
||||
h2 {
|
||||
color: #734f96;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 5px;
|
||||
}
|
||||
.p {
|
||||
text-align: center;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
header {
|
||||
position: relative;
|
||||
}
|
||||
header nav {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
background-color: var(--special-blue);
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: block;
|
||||
color: var(--special-white);
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
header nav li {
|
||||
display: block !important;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 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-bottom: 10px;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
132
o-nas/index.html
Normal file
@ -0,0 +1,132 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="description"
|
||||
content="EndeavourOS svobodný operační systém...."
|
||||
/>
|
||||
<meta name="keywords" content="EndeavourOS O nás" />
|
||||
<meta name="author" content="Kankys" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="shortcut icon" href="/img/icons.png" />
|
||||
<script
|
||||
src="https://kit.fontawesome.com/0a43c6cd1f.js"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<!--icons dark, go to up-->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
|
||||
/>
|
||||
<!--ubuntu fonts-->
|
||||
<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");
|
||||
</style>
|
||||
|
||||
<title>EndeavourOS</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<!-- EOS - logo () -->
|
||||
<div class="logo">
|
||||
<img src="/img/EndeavourOS-logo.webp" alt="" />
|
||||
</div>
|
||||
|
||||
<!-- EOS - navigation -->
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/index.html">Domů</a></li>
|
||||
<li><a href="/novinky/index.html">Novinky</a></li>
|
||||
<li><a href="/wiki/index.html">Wiki</a></li>
|
||||
<li><a href="/clanky/index.html">Články</a></li>
|
||||
<li>
|
||||
<a href="https://discord.gg/9YA8A2xf" target="_blank">Discord</a>
|
||||
</li>
|
||||
<li><a href="https://t.me/eoscz" target="_blank">Telegram</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="menu-icon">
|
||||
<!-- Ikona hamburger -->
|
||||
<i class="fa-solid fa-bars"></i>
|
||||
<!-- Ikona cross -->
|
||||
<!-- <i class="fa-solid fa-xmark"></i> -->
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<section class="welcome">
|
||||
<h2>O nás</h2>
|
||||
<p>
|
||||
Ahoj, moc si vážím že jsi navštívil/la web EndeavourOS České komunity.
|
||||
Projekt vznikl jako spřátelený projekt, k projektu
|
||||
<a href="arch-linux.cz" target="_blank">Arch Linux CZ</a>.
|
||||
</p>
|
||||
<p>
|
||||
EndeavourOS Česká Komunita vznikl s dovolením vývojářů EndeavourOS.
|
||||
EndeavourOS mě natolik oslovil, že jsem se na konec rozhodl pro tenteo
|
||||
projekt.na projektu pracuji pouze ve svém volném čase tak tempo jak
|
||||
roste není úplně nejrychlejší. Pokud by jsi chtěl/la podpořid jakým
|
||||
koliv způsobem neváhej mě kontaktovat.
|
||||
</p>
|
||||
<h2>Kontakty</h2>
|
||||
<p>
|
||||
<a
|
||||
href="https://git.archoslinux.cz/kankys/EndeavourOS_CZ"
|
||||
target="_blank"
|
||||
>Git</a
|
||||
>
|
||||
stránka tohoto projektu.
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://discord.gg/9YA8A2xf" target="_blank">Discord</a>
|
||||
skupina EndeavourOS CZ.
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://t.me/eoscz" target="_blank">Telegram</a> skupina
|
||||
EndeavourOS CZ.
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://lukaskanka.cz" target="_blank">Osobní blog</a> autora
|
||||
tohoto projektu.
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://arch-linux.cz" target="_blank">Arch linux CZ</a>
|
||||
skvělý projekt bez, kterého by toto vše nikdy nevzniklo.
|
||||
</p>
|
||||
<h2>Podpora projektu</h2>
|
||||
<p>
|
||||
👉 Pokud mě chceš podpořit nebo se podílet na obsahu tohoto webu, budu
|
||||
rád, když mi napíšeš.
|
||||
</p>
|
||||
<p>👉 Taky můžeš tento projekt podpořit pár Satoshi:</p>
|
||||
<img
|
||||
class="sat"
|
||||
src="https://lukaskanka.cz/index/about/img/sat.jpeg"
|
||||
alt="Satoshi"
|
||||
/>
|
||||
<p>👉 Nebo přes paypal:</p>
|
||||
<img
|
||||
src="https://lukaskanka.cz/index/about/img/qrcode-paypal.png"
|
||||
alt="Paypal"
|
||||
/>
|
||||
<p>Všechny prostředky budou použity na provoz tohoto webu.</p>
|
||||
</section>
|
||||
</main>
|
||||
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">
|
||||
<i class="fas fa-arrow-up"></i>
|
||||
</button>
|
||||
|
||||
<footer>
|
||||
Copyright ©
|
||||
<a href="https://git.archoslinux.cz/kankys" target="_blank"
|
||||
>Lukáš Kaňka</a
|
||||
>
|
||||
2024
|
||||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
35
o-nas/script.js
Normal file
@ -0,0 +1,35 @@
|
||||
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
|
||||
}
|
173
o-nas/style.css
Normal file
@ -0,0 +1,173 @@
|
||||
* {
|
||||
margin: 0;
|
||||
|
||||
padding: 0;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 1600px;
|
||||
margin: 0 auto;
|
||||
font-family: "Ubuntu", sans-serif;
|
||||
}
|
||||
|
||||
/* EOS ( header) */
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #313131;
|
||||
height: 70px;
|
||||
flex-direction: row;
|
||||
/*position: fixed;*/
|
||||
}
|
||||
|
||||
.logo {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 150px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
/* EOS - navigation */
|
||||
nav {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
nav li {
|
||||
display: inline-block;
|
||||
list-style-type: none;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
nav li a {
|
||||
text-decoration: none;
|
||||
color: #734f96;
|
||||
/*border: 1px solid #734f96;*/
|
||||
}
|
||||
|
||||
/* EOS - navigation icons */
|
||||
|
||||
.menu-icon {
|
||||
display: none;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
/* EOS - Welcome*/
|
||||
|
||||
.welcome {
|
||||
/*background: url("image/background.webp");*/
|
||||
min-height: calc(100vh - 70px);
|
||||
background-size: cover;
|
||||
/*background-position: center;*/
|
||||
text-align: center;
|
||||
}
|
||||
h2 {
|
||||
color: #734f96;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 5px;
|
||||
}
|
||||
.p {
|
||||
text-align: center;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
header {
|
||||
position: relative;
|
||||
}
|
||||
header nav {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
background-color: var(--special-blue);
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: block;
|
||||
color: var(--special-white);
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
header nav li {
|
||||
display: block !important;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 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-bottom: 10px;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 20%;
|
||||
}
|
35
script.js
Normal file
@ -0,0 +1,35 @@
|
||||
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
|
||||
}
|
169
style.css
Normal file
@ -0,0 +1,169 @@
|
||||
* {
|
||||
margin: 0;
|
||||
|
||||
padding: 0;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 1600px;
|
||||
margin: 0 auto;
|
||||
font-family: "Ubuntu", sans-serif;
|
||||
}
|
||||
|
||||
/* EOS ( header) */
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #313131;
|
||||
height: 70px;
|
||||
flex-direction: row;
|
||||
/*position: fixed;*/
|
||||
}
|
||||
|
||||
.logo {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 150px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
/* EOS - navigation */
|
||||
nav {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
nav li {
|
||||
display: inline-block;
|
||||
list-style-type: none;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
nav li a {
|
||||
text-decoration: none;
|
||||
color: #734f96;
|
||||
/*border: 1px solid #734f96;*/
|
||||
}
|
||||
|
||||
/* EOS - navigation icons */
|
||||
|
||||
.menu-icon {
|
||||
display: none;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
/* EOS - Welcome*/
|
||||
|
||||
.welcome {
|
||||
/*background: url("image/background.webp");*/
|
||||
min-height: calc(100vh - 70px);
|
||||
background-size: cover;
|
||||
/*background-position: center;*/
|
||||
text-align: center;
|
||||
}
|
||||
h2 {
|
||||
color: #734f96;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 5px;
|
||||
}
|
||||
.p {
|
||||
text-align: center;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
header {
|
||||
position: relative;
|
||||
}
|
||||
header nav {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
background-color: var(--special-blue);
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: block;
|
||||
color: var(--special-white);
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
header nav li {
|
||||
display: block !important;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 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-bottom: 10px;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
78
wiki/index.html
Normal file
@ -0,0 +1,78 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="description"
|
||||
content="EndeavourOS svobodný operační systém...."
|
||||
/>
|
||||
<meta name="keywords" content="EndeavourOS" />
|
||||
<meta name="author" content="Kankys" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="shortcut icon" href="/img/icons.png" />
|
||||
<script
|
||||
src="https://kit.fontawesome.com/0a43c6cd1f.js"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<!--icons dark, go to up-->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
|
||||
/>
|
||||
|
||||
<!--ubuntu fonts-->
|
||||
<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");
|
||||
</style>
|
||||
|
||||
<title>EndeavourOS</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<!-- EOS - logo () -->
|
||||
<div class="logo">
|
||||
<img src="/img/EndeavourOS-logo.webp" alt="" />
|
||||
</div>
|
||||
|
||||
<!-- EOS - navigation -->
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/index.html">Domů</a></li>
|
||||
<li><a href="/novinky/index.html">Novinky</a></li>
|
||||
<li><a href="/clanky/index.html">Články</a></li>
|
||||
<li>
|
||||
<a href="https://discord.gg/9YA8A2xf" target="_blank">Discord</a>
|
||||
</li>
|
||||
<li><a href="https://t.me/eoscz" target="_blank">Telegram</a></li>
|
||||
<li><a href="/o-nas/index.html">O nás</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="menu-icon">
|
||||
<!-- Ikona hamburger -->
|
||||
<i class="fa-solid fa-bars"></i>
|
||||
<!-- Ikona cross -->
|
||||
<!-- <i class="fa-solid fa-xmark"></i> -->
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<section class="welcome">
|
||||
<h2>Na obsahu v této sekci pilně pracuji.</h2>
|
||||
</section>
|
||||
</main>
|
||||
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">
|
||||
<i class="fas fa-arrow-up"></i>
|
||||
</button>
|
||||
<footer>
|
||||
Copyright ©
|
||||
<a href="https://git.archoslinux.cz/kankys" target="_blank"
|
||||
>Lukáš Kaňka</a
|
||||
>
|
||||
2024
|
||||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
35
wiki/script.js
Normal file
@ -0,0 +1,35 @@
|
||||
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
|
||||
}
|
169
wiki/style.css
Normal file
@ -0,0 +1,169 @@
|
||||
* {
|
||||
margin: 0;
|
||||
|
||||
padding: 0;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 1600px;
|
||||
margin: 0 auto;
|
||||
font-family: "Ubuntu", sans-serif;
|
||||
}
|
||||
|
||||
/* EOS ( header) */
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #313131;
|
||||
height: 70px;
|
||||
flex-direction: row;
|
||||
/*position: fixed;*/
|
||||
}
|
||||
|
||||
.logo {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 150px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
/* EOS - navigation */
|
||||
nav {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
nav li {
|
||||
display: inline-block;
|
||||
list-style-type: none;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
nav li a {
|
||||
text-decoration: none;
|
||||
color: #734f96;
|
||||
/*border: 1px solid #734f96;*/
|
||||
}
|
||||
|
||||
/* EOS - navigation icons */
|
||||
|
||||
.menu-icon {
|
||||
display: none;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
/* EOS - Welcome*/
|
||||
|
||||
.welcome {
|
||||
/*background: url("image/background.webp");*/
|
||||
min-height: calc(100vh - 70px);
|
||||
background-size: cover;
|
||||
/*background-position: center;*/
|
||||
text-align: center;
|
||||
}
|
||||
h2 {
|
||||
color: #734f96;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 5px;
|
||||
}
|
||||
.p {
|
||||
text-align: center;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
header {
|
||||
position: relative;
|
||||
}
|
||||
header nav {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
background-color: var(--special-blue);
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: block;
|
||||
color: var(--special-white);
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
header nav li {
|
||||
display: block !important;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 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-bottom: 10px;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|