WIP: design: complete landing page redesign (Vercel/Linear style) #6
+129
-112
@@ -1,117 +1,134 @@
|
||||
<!--
|
||||
This file is part of <project name>.
|
||||
|
||||
Copyright (C) 2024 Oscloud
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Mxchat CZ — komunitní šifrovaný chat</title>
|
||||
<meta name="description" content="Mxchat.cz je komunitní šifrovaný chat postavený na protokolu Matrix. Provozuje OSCloud kolektiv." />
|
||||
<script defer src="https://analytics.oscloud.cz/script.js" data-website-id="d11917fd-7d35-485d-b288-d71eaf85a56d"></script>
|
||||
<link rel="stylesheet" type="text/css" href="./style/alt.style.css" />
|
||||
<link rel="icon" type="image/x-icon" href="./res/site/icons/favicon.ico" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css"
|
||||
integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY="
|
||||
crossorigin="anonymous"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<header class="page-header" role="banner">
|
||||
<img src="./index/img/logo_oscloud.png" alt="OSCloud"
|
||||
style="max-width: 110px; height: auto; display: block; margin: 0 auto;" />
|
||||
<h1 class="project-name">Mxchat CZ</h1>
|
||||
<p class="project-tagline">
|
||||
Komunitní šifrovaný chat postavený na protokolu Matrix.
|
||||
Provozuje kolektiv <a href="https://oscloud.cz" target="_blank" rel="noopener"><strong>OSCloud</strong></a>.
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<div class="main-content">
|
||||
|
||||
<p class="section-title">Začínáte?</p>
|
||||
<nav>
|
||||
<a href="/index/registrace/registrace.html" class="btn btn-primary">
|
||||
<i class="fa fa-user-plus"></i> Registrace
|
||||
</a>
|
||||
<a href="/index/navody/index.html" class="btn btn-primary">
|
||||
<i class="fa fa-book"></i> Návody
|
||||
</a>
|
||||
<a href="/index/FAQ/FAQ.html" class="btn">
|
||||
<i class="fa fa-question-circle"></i> FAQ
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<p class="section-title">O projektu</p>
|
||||
<nav>
|
||||
<a href="/index/about/index.html" class="btn">
|
||||
<i class="fa fa-info-circle"></i> O Mxchat
|
||||
</a>
|
||||
<a href="/index/Bridges/index.html" class="btn">
|
||||
<i class="fa fa-link"></i> Mosty
|
||||
</a>
|
||||
<a href="/index/news/news.html" class="btn">
|
||||
<i class="fa fa-newspaper-o"></i> Novinky
|
||||
</a>
|
||||
<a href="/index/podpora/index.html" class="btn">
|
||||
<i class="fa fa-heart"></i> Podpořit
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<p class="section-title">Komunita</p>
|
||||
<nav>
|
||||
<a href="/index/kontakty/index.html" class="btn">
|
||||
<i class="fa fa-envelope"></i> Kontakty
|
||||
</a>
|
||||
<a href="https://matrix.to/#/#podpora:mxchat.cz" class="btn" target="_blank" rel="noopener">
|
||||
<i class="fa fa-matrix-org"></i> #podpora:mxchat.cz
|
||||
</a>
|
||||
<a href="https://mamutovo.cz/@oscloud" class="btn" target="_blank" rel="noopener">
|
||||
<i class="fa fa-mastodon"></i> Mastodon
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<p class="section-title">Právní informace</p>
|
||||
<nav>
|
||||
<a href="/index/Pravidla/index.html" class="btn">
|
||||
<i class="fa fa-list-ul"></i> Pravidla
|
||||
</a>
|
||||
<a href="/index/podminky/index.html" class="btn">
|
||||
<i class="fa fa-file-text-o"></i> Podmínky služby
|
||||
</a>
|
||||
<a href="/index/privacy-policy/index.html" class="btn">
|
||||
<i class="fa fa-shield"></i> Privacy Policy
|
||||
</a>
|
||||
</nav>
|
||||
<html lang="cs" data-theme="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Mxchat CZ — komunitní šifrovaný chat</title>
|
||||
<meta name="description" content="Mxchat.cz je komunitní šifrovaný chat postavený na protokolu Matrix. Provozuje OSCloud kolektiv." />
|
||||
<script defer src="https://analytics.oscloud.cz/script.js" data-website-id="d11917fd-7d35-485d-b288-d71eaf85a56d"></script>
|
||||
<link rel="stylesheet" href="./style/mxchat.css" />
|
||||
<link rel="icon" type="image/x-icon" href="./res/site/icons/favicon.ico" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="site-nav">
|
||||
<a href="/" class="nav-logo">
|
||||
<div class="nav-logo-icon">M</div>
|
||||
<span class="nav-logo-text">mxchat.cz</span>
|
||||
</a>
|
||||
<button class="nav-menu-btn" onclick="document.querySelector('.nav-links').classList.toggle('open')" aria-label="Menu">☰</button>
|
||||
<div class="nav-links">
|
||||
<a href="/index/navody/index.html" class="nav-link">Návody</a>
|
||||
<a href="/index/Bridges/index.html" class="nav-link">Mosty</a>
|
||||
<a href="/index/news/news.html" class="nav-link">Novinky</a>
|
||||
<a href="/index/FAQ/FAQ.html" class="nav-link">FAQ</a>
|
||||
<a href="/index/registrace/registrace.html" class="nav-cta">Registrace</a>
|
||||
<button class="theme-toggle" onclick="toggleTheme()" aria-label="Přepnout téma"></button>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<footer class="site-footer">
|
||||
<p>
|
||||
Copyright © 2024-2026 Oscloud
|
||||
·
|
||||
<a href="https://git.arch-linux.cz/Oscloud/web-mxchat" target="_blank" rel="noopener">
|
||||
<i class="fa fa-gitea"></i> Gitea
|
||||
</a>
|
||||
</p>
|
||||
</footer>
|
||||
</body>
|
||||
<section class="hero">
|
||||
<div class="hero-badge">Open source · End-to-end encrypted</div>
|
||||
<h1>Komunitní šifrovaný chat postavený na Matrixu</h1>
|
||||
<p>Provozuje kolektiv <a href="https://oscloud.cz" target="_blank" rel="noopener">OSCloud</a>. Bezpečná komunikace s mosty do WhatsApp, Telegram, Signal a dalších.</p>
|
||||
<div class="hero-actions">
|
||||
<a href="/index/registrace/registrace.html" class="btn-primary">Začít chatovat</a>
|
||||
<a href="/index/navody/index.html" class="btn-secondary">Návody</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="card-grid">
|
||||
<a href="/index/about/index.html" class="link-card">
|
||||
<div>
|
||||
<div class="link-card-title"><i class="fa fa-info-circle"></i> O Mxchat</div>
|
||||
<div class="link-card-desc">Co je mxchat.cz a proč existuje</div>
|
||||
</div>
|
||||
<span class="link-card-arrow">→</span>
|
||||
</a>
|
||||
<a href="/index/Bridges/index.html" class="link-card">
|
||||
<div>
|
||||
<div class="link-card-title"><i class="fa fa-link"></i> Mosty (Bridges)</div>
|
||||
<div class="link-card-desc">WhatsApp, Telegram, Signal a další</div>
|
||||
</div>
|
||||
<span class="link-card-arrow">→</span>
|
||||
</a>
|
||||
<a href="/index/Pravidla/index.html" class="link-card">
|
||||
<div>
|
||||
<div class="link-card-title"><i class="fa fa-list-ul"></i> Pravidla</div>
|
||||
<div class="link-card-desc">Komunitní pravidla serveru</div>
|
||||
</div>
|
||||
<span class="link-card-arrow">→</span>
|
||||
</a>
|
||||
<a href="/index/podminky/index.html" class="link-card">
|
||||
<div>
|
||||
<div class="link-card-title"><i class="fa fa-file-text-o"></i> Podmínky služby</div>
|
||||
<div class="link-card-desc">Právní podmínky používání</div>
|
||||
</div>
|
||||
<span class="link-card-arrow">→</span>
|
||||
</a>
|
||||
<a href="/index/privacy-policy/index.html" class="link-card">
|
||||
<div>
|
||||
<div class="link-card-title"><i class="fa fa-shield"></i> Privacy Policy</div>
|
||||
<div class="link-card-desc">Zásady ochrany osobních údajů</div>
|
||||
</div>
|
||||
<span class="link-card-arrow">→</span>
|
||||
</a>
|
||||
<a href="/index/kontakty/index.html" class="link-card">
|
||||
<div>
|
||||
<div class="link-card-title"><i class="fa fa-envelope"></i> Kontakty</div>
|
||||
<div class="link-card-desc">podpora@oscloud.cz</div>
|
||||
</div>
|
||||
<span class="link-card-arrow">→</span>
|
||||
</a>
|
||||
<a href="/index/podpora/index.html" class="link-card">
|
||||
<div>
|
||||
<div class="link-card-title"><i class="fa fa-heart"></i> Podpořit</div>
|
||||
<div class="link-card-desc">Jak podpořit projekt</div>
|
||||
</div>
|
||||
<span class="link-card-arrow">→</span>
|
||||
</a>
|
||||
<a href="https://mamutovo.cz/@oscloud" class="link-card" target="_blank" rel="noopener">
|
||||
<div>
|
||||
<div class="link-card-title"><i class="fa fa-mastodon"></i> Mastodon</div>
|
||||
<div class="link-card-desc">@oscloud@mamutovo.cz</div>
|
||||
</div>
|
||||
<span class="link-card-arrow">→</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<footer class="site-footer">
|
||||
<span>© 2024-2026 OSCloud</span>
|
||||
<div class="footer-links">
|
||||
<a href="https://mamutovo.cz/@oscloud" target="_blank" rel="noopener"><i class="fa fa-mastodon"></i> Mastodon</a>
|
||||
<a href="https://matrix.to/#/#podpora:mxchat.cz" target="_blank" rel="noopener"><i class="fa fa-matrix-org"></i> Matrix</a>
|
||||
<a href="https://git.arch-linux.cz/Oscloud/web-mxchat" target="_blank" rel="noopener"><i class="fa fa-gitea"></i> Gitea</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
function toggleTheme() {
|
||||
var html = document.documentElement;
|
||||
var current = html.getAttribute("data-theme");
|
||||
var next = current === "dark" ? "light" : "dark";
|
||||
html.setAttribute("data-theme", next);
|
||||
localStorage.setItem("mxchat-theme", next);
|
||||
updateToggleIcon(next);
|
||||
}
|
||||
function updateToggleIcon(theme) {
|
||||
var btn = document.querySelector(".theme-toggle");
|
||||
if (btn) btn.textContent = theme === "dark" ? "\u2600" : "\uD83C\uDF19";
|
||||
}
|
||||
(function() {
|
||||
var saved = localStorage.getItem("mxchat-theme");
|
||||
if (saved) {
|
||||
document.documentElement.setAttribute("data-theme", saved);
|
||||
updateToggleIcon(saved);
|
||||
} else {
|
||||
updateToggleIcon("dark");
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,523 @@
|
||||
/*
|
||||
mxchat.cz — design system
|
||||
Copyright (C) 2024 Oscloud — GPLv3+
|
||||
|
||||
Vercel/Linear inspired. Dark-first with light toggle.
|
||||
OSCloud blue (#1565c0) as primary accent.
|
||||
*/
|
||||
|
||||
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400&display=swap");
|
||||
|
||||
/* ============================================
|
||||
TOKENS
|
||||
============================================ */
|
||||
:root {
|
||||
--font-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
--font-mono: "Geist Mono", "JetBrains Mono", "Fira Code", monospace;
|
||||
|
||||
--accent: #1565c0;
|
||||
--accent-light: #1e88e5;
|
||||
--accent-hover: #1976d2;
|
||||
--accent-subtle: rgba(21, 101, 192, 0.12);
|
||||
|
||||
--radius-sm: 6px;
|
||||
--radius-md: 10px;
|
||||
--radius-lg: 14px;
|
||||
--radius-full: 9999px;
|
||||
|
||||
--transition: 0.2s ease;
|
||||
--max-width: 720px;
|
||||
--nav-height: 56px;
|
||||
}
|
||||
|
||||
/* ---------- DARK (default) ---------- */
|
||||
:root,
|
||||
[data-theme="dark"] {
|
||||
--bg: #09090b;
|
||||
--bg-elevated: #111113;
|
||||
--bg-card: #161618;
|
||||
--bg-card-hover: #1c1c1f;
|
||||
|
||||
--text: #fafafa;
|
||||
--text-secondary: #a1a1aa;
|
||||
--text-muted: #71717a;
|
||||
--text-dim: #52525b;
|
||||
|
||||
--border: rgba(255, 255, 255, 0.06);
|
||||
--border-hover: rgba(255, 255, 255, 0.12);
|
||||
--border-strong: rgba(255, 255, 255, 0.18);
|
||||
|
||||
--badge-bg: rgba(21, 101, 192, 0.15);
|
||||
--badge-text: #42a5f5;
|
||||
--code-bg: rgba(255, 255, 255, 0.06);
|
||||
|
||||
--toggle-icon: "☀";
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
/* ---------- LIGHT ---------- */
|
||||
[data-theme="light"] {
|
||||
--bg: #ffffff;
|
||||
--bg-elevated: #f8f8fa;
|
||||
--bg-card: #ffffff;
|
||||
--bg-card-hover: #f4f4f5;
|
||||
|
||||
--text: #18181b;
|
||||
--text-secondary: #52525b;
|
||||
--text-muted: #71717a;
|
||||
--text-dim: #a1a1aa;
|
||||
|
||||
--border: rgba(0, 0, 0, 0.06);
|
||||
--border-hover: rgba(0, 0, 0, 0.1);
|
||||
--border-strong: rgba(0, 0, 0, 0.15);
|
||||
|
||||
--badge-bg: rgba(21, 101, 192, 0.08);
|
||||
--badge-text: #1565c0;
|
||||
--code-bg: rgba(0, 0, 0, 0.04);
|
||||
|
||||
--toggle-icon: "🌙";
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
RESET
|
||||
============================================ */
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
html { height: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
|
||||
body {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: var(--font-body);
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
color: var(--text);
|
||||
background: var(--bg);
|
||||
transition: background var(--transition), color var(--transition);
|
||||
}
|
||||
img { max-width: 100%; display: block; }
|
||||
a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
|
||||
a:hover { color: var(--accent); text-decoration: underline; }
|
||||
|
||||
/* ============================================
|
||||
NAV
|
||||
============================================ */
|
||||
.site-nav {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: var(--nav-height);
|
||||
padding: 0 24px;
|
||||
background: var(--bg);
|
||||
border-bottom: 0.5px solid var(--border);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
}
|
||||
.nav-logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
}
|
||||
.nav-logo:hover { text-decoration: none; color: var(--text); }
|
||||
.nav-logo-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
background: var(--accent);
|
||||
border-radius: var(--radius-sm);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
}
|
||||
.nav-logo-text {
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
.nav-links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
.nav-link {
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
padding: 6px 12px;
|
||||
border-radius: var(--radius-sm);
|
||||
transition: all var(--transition);
|
||||
text-decoration: none;
|
||||
}
|
||||
.nav-link:hover {
|
||||
color: var(--text);
|
||||
background: var(--bg-card);
|
||||
text-decoration: none;
|
||||
}
|
||||
.nav-cta {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: #fff;
|
||||
background: var(--accent);
|
||||
padding: 6px 16px;
|
||||
border-radius: var(--radius-sm);
|
||||
text-decoration: none;
|
||||
transition: background var(--transition);
|
||||
}
|
||||
.nav-cta:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }
|
||||
|
||||
/* Theme toggle */
|
||||
.theme-toggle {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 0.5px solid var(--border-strong);
|
||||
border-radius: var(--radius-sm);
|
||||
background: transparent;
|
||||
color: var(--text-secondary);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
transition: all var(--transition);
|
||||
margin-left: 6px;
|
||||
}
|
||||
.theme-toggle:hover {
|
||||
background: var(--bg-card);
|
||||
color: var(--text);
|
||||
border-color: var(--border-hover);
|
||||
}
|
||||
|
||||
/* Mobile nav */
|
||||
.nav-menu-btn {
|
||||
display: none;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--text);
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.nav-links { display: none; }
|
||||
.nav-menu-btn { display: flex; align-items: center; justify-content: center; }
|
||||
.nav-links.open {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
top: var(--nav-height);
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: var(--bg);
|
||||
border-bottom: 0.5px solid var(--border);
|
||||
padding: 12px 24px;
|
||||
gap: 4px;
|
||||
}
|
||||
.nav-links.open .nav-link,
|
||||
.nav-links.open .nav-cta {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
HERO (landing only)
|
||||
============================================ */
|
||||
.hero {
|
||||
text-align: center;
|
||||
padding: 72px 24px 24px;
|
||||
max-width: 680px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.hero-badge {
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
color: var(--badge-text);
|
||||
background: var(--badge-bg);
|
||||
border: 0.5px solid rgba(21, 101, 192, 0.25);
|
||||
padding: 5px 16px;
|
||||
border-radius: var(--radius-full);
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.hero h1 {
|
||||
font-size: 44px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.12;
|
||||
margin-bottom: 16px;
|
||||
color: var(--text);
|
||||
}
|
||||
.hero p {
|
||||
font-size: 17px;
|
||||
color: var(--text-muted);
|
||||
max-width: 460px;
|
||||
margin: 0 auto 36px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.hero-actions {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.hero { padding: 48px 20px 36px; }
|
||||
.hero h1 { font-size: 30px; }
|
||||
.hero p { font-size: 15px; }
|
||||
.hero-actions { flex-direction: column; align-items: center; }
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
BUTTONS
|
||||
============================================ */
|
||||
.btn-primary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
padding: 10px 24px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
font-family: var(--font-body);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: background var(--transition);
|
||||
text-decoration: none;
|
||||
}
|
||||
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }
|
||||
|
||||
.btn-secondary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
background: transparent;
|
||||
color: var(--text);
|
||||
padding: 10px 24px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
font-family: var(--font-body);
|
||||
border: 0.5px solid var(--border-strong);
|
||||
cursor: pointer;
|
||||
transition: all var(--transition);
|
||||
text-decoration: none;
|
||||
}
|
||||
.btn-secondary:hover {
|
||||
background: var(--bg-card);
|
||||
border-color: var(--border-hover);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
LINK CARDS (landing quick links)
|
||||
============================================ */
|
||||
.card-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
padding: 16px 24px 40px;
|
||||
}
|
||||
.link-card {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 24px 24px;
|
||||
border: 0.5px solid var(--border);
|
||||
border-radius: var(--radius-md);
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
transition: all var(--transition);
|
||||
}
|
||||
.link-card:hover {
|
||||
border-color: var(--border-hover);
|
||||
background: var(--bg-card-hover);
|
||||
text-decoration: none;
|
||||
}
|
||||
.link-card-title {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
.link-card-title i {
|
||||
color: var(--accent-light);
|
||||
font-size: 14px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
.link-card-desc {
|
||||
font-size: 14px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.link-card-arrow {
|
||||
color: var(--text-dim);
|
||||
font-size: 16px;
|
||||
transition: transform var(--transition);
|
||||
}
|
||||
.link-card:hover .link-card-arrow {
|
||||
transform: translateX(3px);
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.card-grid { grid-template-columns: 1fr; padding: 24px 16px; }
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
PAGE CONTENT (podstranky)
|
||||
============================================ */
|
||||
.page-content {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
max-width: var(--max-width);
|
||||
margin: 0 auto;
|
||||
padding: 48px 24px 64px;
|
||||
}
|
||||
.page-content h1 {
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.02em;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.page-content h2 {
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.01em;
|
||||
margin-top: 40px;
|
||||
margin-bottom: 12px;
|
||||
color: var(--text);
|
||||
}
|
||||
.page-content h3 {
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
margin-top: 28px;
|
||||
margin-bottom: 8px;
|
||||
color: var(--text);
|
||||
}
|
||||
.page-content p {
|
||||
margin-bottom: 1em;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.7;
|
||||
}
|
||||
.page-content ul,
|
||||
.page-content ol {
|
||||
margin-bottom: 1em;
|
||||
padding-left: 1.4em;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.page-content li {
|
||||
margin-bottom: 0.35em;
|
||||
line-height: 1.65;
|
||||
}
|
||||
.page-content strong {
|
||||
color: var(--text);
|
||||
font-weight: 500;
|
||||
}
|
||||
.page-content em {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.page-content a {
|
||||
color: var(--accent-light);
|
||||
}
|
||||
.page-content code {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.9em;
|
||||
padding: 2px 6px;
|
||||
background: var(--code-bg);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.page-content hr {
|
||||
border: none;
|
||||
border-top: 0.5px solid var(--border);
|
||||
margin: 32px 0;
|
||||
}
|
||||
.page-content blockquote {
|
||||
border-left: 2px solid var(--accent);
|
||||
padding: 8px 16px;
|
||||
margin: 1em 0;
|
||||
color: var(--text-muted);
|
||||
background: var(--accent-subtle);
|
||||
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
||||
}
|
||||
.page-content img {
|
||||
border-radius: var(--radius-md);
|
||||
border: 0.5px solid var(--border);
|
||||
margin: 16px 0;
|
||||
}
|
||||
.page-subtitle {
|
||||
font-size: 15px;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
/* Back link */
|
||||
.back-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 13px;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.back-link:hover { color: var(--accent-light); text-decoration: none; }
|
||||
|
||||
/* ============================================
|
||||
FOOTER
|
||||
============================================ */
|
||||
.site-footer {
|
||||
padding: 24px 32px;
|
||||
max-width: 900px;
|
||||
margin: 48px auto 0;
|
||||
border-top: 0.5px solid var(--border);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
.footer-links {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
.footer-links a {
|
||||
color: var(--text-dim);
|
||||
text-decoration: none;
|
||||
font-size: 12px;
|
||||
}
|
||||
.footer-links a:hover { color: var(--text-secondary); text-decoration: none; }
|
||||
@media (max-width: 640px) {
|
||||
.site-footer { flex-direction: column; gap: 8px; text-align: center; }
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
ACCESSIBILITY
|
||||
============================================ */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Focus visible */
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* Selection */
|
||||
::selection {
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
}
|
||||
Reference in New Issue
Block a user