Skip to content

Commit

Permalink
add new site made with new.css
Browse files Browse the repository at this point in the history
  • Loading branch information
intergrav committed Apr 24, 2024
1 parent e80c198 commit f423b09
Show file tree
Hide file tree
Showing 5 changed files with 159 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
35 changes: 35 additions & 0 deletions downloads/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Downloads - Additive</title>
<link rel="stylesheet" href="https://fonts.xz.style/serve/inter.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1/new.min.css">
</head>
<body>
<header>
<h1>Additive</h1>
<nav>
<a href="/">home</a> /
<a>downloads</a> /
<a href="https://github.com/skywardmc/additive/wiki">wiki</a> /
<a href="https://github.com/skywardmc/additive">git</a>
</nav>
</header>

<h1>Downloads</h1>
<p>Additive is distributed on Modrinth. You can install it through any third-party launcher that supports Modrinth packs, or through our standalone installer for the Mojang launcher.</p>
<p><strong>Before installing either Adrenaline or Additive, make sure to read Sodium's <a href="https://github.com/CaffeineMC/sodium-fabric/wiki/Driver-Compatibility">Driver Compatibility</a> page if you are on an old device to prevent issues.</strong></p>

<h2>With third-party launchers</h2>
<p>If you prefer to use a third-party option such as the Modrinth App, Prism Launcher, ATLauncher, or anything else that supports Modrinth modpacks, simply follow the instructions from <a href="https://docs.modrinth.com/docs/modpacks/playing_modpacks/">Modrinth's documentation</a>.</p>

<h2>For the Mojang launcher</h2>
<p>If you don't want to install any third-party stuff, you can use the Additive installer which lets you select a version to download and install to the Minecraft launcher. You can also choose to install Adrenaline through here. This installer is made by Gaming32 - please go <a href="https://github.com/Gaming32/additive-installer/issues">here</a> to report issues and suggest features for the project.</p>
<blockquote>
<p><strong><a href="https://github.com/Gaming32/additive-installer/releases/download/v1.0.1/additive-installer-1.0.1.jar">Download universal .jar file</a></strong> (Windows, MacOS, Linux, etc)</p>
<p>Can't open it? Try running <code>java -jar additive-installer-1.0.1.jar</code> in a terminal</p>
</blockquote>
</body>
</html>
Binary file added favicon.ico
Binary file not shown.
53 changes: 53 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Additive</title>
<link rel="stylesheet" href="https://fonts.xz.style/serve/inter.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1/new.min.css">
</head>
<body>
<header>
<h1>Additive</h1>
<nav>
<a>home</a> /
<a href="/downloads">downloads</a> /
<a href="https://github.com/skywardmc/additive/wiki">wiki</a> /
<a href="https://github.com/skywardmc/additive">git</a>
</nav>
</header>

<h1>Modern OptiFine alternative.</h1>
<p>Additive is a simple, modern, open-source alternative to OptiFine for modern versions of Minecraft. It has basically every feature from OptiFine, including:</p>
<ul>
<li>Major FPS and logic performance improvements</li>
<li>Built-in shader pack support</li>
<li>Extra resource pack features, e.g. CIT</li>
<li>Camera zoom to see further</li>
<li>Dynamic lighting with items</li>
<li>Better grass and snow</li>
<li>OptiFine donator capes (and <a href="https://github.com/intergrav/Additive/wiki/Supporter-cape">free capes</a>)</li>
<li>Other features <a href="https://github.com/skywardmc/additive/wiki/Give-up-OptiFine">listed here</a></li>
</ul>
<p>There are also these extra features included:</p>
<ul>
<li>Free, simple world hosting
<ul>
<li>Simply click "Open Externally" in the menu of your world and you'll get a shareable IP</li>
</ul>
</li>
<li>Modularity
<ul>
<li>Lets you disable features that are incompatible with other mods or features you dislike</li>
</ul>
</li>
<li>Fast updates</li>
<li>Other features <a href="https://github.com/skywardmc/additive/wiki/Extra-features">listed here</a></li>
</ul>
<p>For more information, read through Additive's <a href="https://modrinth.com/modpack/additive">Modrinth page</a>.</p>

<h2>How do I get it?</h2>
<p>For installation and downloads, see <a href="/downloads">this page</a>. It provides instructions for third-party launchers and also an installer for the Mojang launcher.</p>
</body>
</html>
28 changes: 28 additions & 0 deletions theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
:root {
--nc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--nc-font-mono: Consolas, monaco, 'Ubuntu Mono', 'Liberation Mono', 'Courier New', Courier, monospace;

/* Light theme */
--nc-tx-1: #000000;
--nc-tx-2: #1A1A1A;
--nc-bg-1: #FFFFFF;
--nc-bg-2: #F6F8FA;
--nc-bg-3: #E5E7EB;
--nc-lk-1: #0070F3;
--nc-lk-2: #0366D6;
--nc-lk-tx: #FFFFFF;
--nc-ac-1: #79FFE1;
--nc-ac-tx: #0C4047;

/* Dark theme */
--nc-d-tx-1: #ffffff;
--nc-d-tx-2: #eeeeee;
--nc-d-bg-1: #7d7d7d;
--nc-d-bg-2: #111111;
--nc-d-bg-3: #222222;
--nc-d-lk-1: #3291FF;
--nc-d-lk-2: #0070F3;
--nc-d-lk-tx: #FFFFFF;
--nc-d-ac-1: #7928CA;
--nc-d-ac-tx: #FFFFFF;
}

0 comments on commit f423b09

Please sign in to comment.