Documentation website style and structure updates (#78)

* docs: minify scripts, improve design of pages, move css to respective file

* merge
This commit is contained in:
Aidan
2025-01-06 22:06:18 -05:00
committed by GitHub
parent 9e5d99d7e8
commit d5ee4315ca
6 changed files with 199 additions and 273 deletions
+11 -73
View File
@@ -9,78 +9,7 @@
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap" rel="stylesheet">
<link rel="icon" href="../assets/icons/ksu-next-tab.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
html, body {
height: 100%;
margin: 0;
display: flex;
flex-direction: column;
}
footer {
margin-top: auto;
}
body {
font-family: 'Inter', sans-serif;
background-color: #ffffff;
color: #000000;
}
.navbar {
background-color: #000000;
}
.navbar-brand span {
font-weight: bold;
font-size: 1.5rem;
color: #ffffff;
}
.navbar-toggler {
background-color: #ffffff;
}
header {
background-color: #000000;
color: #ffffff;
padding: 5rem 0;
}
header h1 {
font-size: 2.5rem;
}
header p {
font-size: 1.2rem;
}
footer {
background-color: #000000;
color: #ffffff;
padding: 1.5rem 0;
}
footer a {
color: #ffffff;
}
.table th, .table td {
vertical-align: middle;
}
.navbar-nav .nav-link {
color: #ffffff;
}
.navbar-nav .nav-link:hover {
color: #cccccc;
}
#devices a {
color: #000000;
}
</style>
<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
@@ -96,7 +25,16 @@
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link text-light" href="../index.html">Home</a>
<a class="nav-link text-light" href="https://rifsxd.github.io/KernelSU-Next/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-light" href="https://rifsxd.github.io/KernelSU-Next/#installation">Installation</a>
</li>
<li class="nav-item">
<a class="nav-link text-light" href="features.html">Features</a>
</li>
<li class="nav-item"></li>
<a class="nav-link text-light" href="#">Devices</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/rifsxd/KernelSU-Next" target="_blank">