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
32 changes: 32 additions & 0 deletions docs/changelog/font.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/* Font Imports */
@font-face {
font-family: 'Druk Wide Cyr';
src: url('assets/fonts/Druk-Wide-Cyr-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('assets/fonts/Montserrat-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('assets/fonts/Montserrat-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('assets/fonts/Montserrat-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
66 changes: 63 additions & 3 deletions docs/changelog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta itemprop="description" content="DDNet client with additional feaetures, customizable outlines, profiles, bind wheel, frozen tee display, anti-latency tools, player indicator" />
<meta itemprop="image" content="../assets/logo-vert.png" />

<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="../style.css">
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script>
Expand All @@ -21,12 +21,53 @@
gfm: true
});
</script>
<style>
/* Font Imports */
@font-face {
font-family: 'Druk Wide Cyr';
src: url('../assets/fonts/Druk-Wide-Cyr-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('../assets/fonts/Montserrat-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('../assets/fonts/Montserrat-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('../assets/fonts/Montserrat-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
</style>
</head>
<body>
<nav data-aos="fade-down" data-aos-duration="1000">
<div class="nav-content">
<div class="logo"><a href="../">T-CLIENT</a></div>
<div class="logo">T-CLIENT</div>
<div class="hamburger">
<span></span>
<span></span>
<span></span>
</div>
<div class="nav-links">
<a href="../faq/">FAQ</a>
<span class="divider"></span>
<a href="https://discord.gg/BgPSapKRkZ" class="discord-link">
Discord
<img class="discord-icon" src="../assets/discord.svg" alt="Discord">
Expand Down Expand Up @@ -55,7 +96,7 @@ <h2>Changelog</h2>

<footer>
<div class="footer-content">
<p>2024 <a href="https://github.com/sjrc6/TaterClient-ddnet" target="_blank">TaterClient</a></p>
<p>2025 <a href="https://github.com/sjrc6/TaterClient-ddnet" target="_blank">TaterClient</a></p>
<span class="divider"></span>
<p>Website by <a href="https://github.com/noxygalaxy" target="_blank">@noxygalaxy</a></p>
</div>
Expand All @@ -66,5 +107,24 @@ <h2>Changelog</h2>
AOS.init();
</script>
<script src="script.js"></script>
<script>
window.addEventListener('scroll', () => {
const nav = document.querySelector('nav');
if (window.scrollY > 150) {
nav.classList.add('scrolled');
} else {
nav.classList.remove('scrolled');
}
});

document.querySelector('.hamburger').addEventListener('click', () => {
const hamburger = document.querySelector('.hamburger');
const navLinks = document.querySelector('.nav-links');
const nav = document.querySelector('nav');
hamburger.classList.toggle('active');
navLinks.classList.toggle('active');
nav.classList.toggle('hamburger-active');
});
</script>
</body>
</html>
32 changes: 32 additions & 0 deletions docs/faq/font.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/* Font Imports */
@font-face {
font-family: 'Druk Wide Cyr';
src: url('assets/fonts/Druk-Wide-Cyr-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('assets/fonts/Montserrat-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('assets/fonts/Montserrat-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('assets/fonts/Montserrat-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
28 changes: 26 additions & 2 deletions docs/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tater Client | FAQ</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="../style.css">
</head>
<body>
<nav data-aos="fade-down" data-aos-duration="1000">
<div class="nav-content">
<div class="logo"><a href="../">T-CLIENT</a></div>
<div class="logo">T-CLIENT</div>
<div class="hamburger">
<span></span>
<span></span>
<span></span>
</div>
<div class="nav-links">
<a href="https://discord.gg/BgPSapKRkZ" target="_blank" class="discord-link">
Discord
Expand Down Expand Up @@ -48,5 +53,24 @@ <h1 id="faqTitle">Loading...</h1>
</footer>

<script src="script.js"></script>
<script>
window.addEventListener('scroll', () => {
const nav = document.querySelector('nav');
if (window.scrollY > 150) {
nav.classList.add('scrolled');
} else {
nav.classList.remove('scrolled');
}
});

document.querySelector('.hamburger').addEventListener('click', () => {
const hamburger = document.querySelector('.hamburger');
const navLinks = document.querySelector('.nav-links');
const nav = document.querySelector('nav');
hamburger.classList.toggle('active');
navLinks.classList.toggle('active');
nav.classList.toggle('hamburger-active');
});
</script>
</body>
</html>
32 changes: 32 additions & 0 deletions docs/font.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/* Font Imports */
@font-face {
font-family: 'Druk Wide Cyr';
src: url('assets/fonts/Druk-Wide-Cyr-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('assets/fonts/Montserrat-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('assets/fonts/Montserrat-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Montserrat';
src: url('assets/fonts/Montserrat-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
Loading
Loading