Skip to content

Commit

Permalink
Merge branch 'eversiege-web' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Coopydood authored Oct 20, 2024
2 parents 81ccd41 + d8651a7 commit 819c9a5
Show file tree
Hide file tree
Showing 82 changed files with 11,150 additions and 42 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ boot/opencore-image-ng.sh
boot/mnt
docs/.screenshots
BaseSystem.dmg
.gitignore

boot.xml
ovmf/OVMF_VARS_PT.fd
resources/.notices
Expand All @@ -56,4 +56,6 @@ blobs/user/.noBaseSystemReminder
resources/.nrsMode
resources/BaseSystem.dmg
resources/BaseSystem.img
testVM/
testVM/
docs/_site
docs/.history
21 changes: 21 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# build output
dist/
# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ exclude:
- fixtures/

# Set a path/url to a logo that will be displayed instead of the title
logo: "assets/ULTMOS.png"
logo: "assets/images/ULTMOS.png"

# Enable or disable the site search
# Supports true (default) or false
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/components/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{% else %}
<div></div>
{% endif %}
{% include header_custom.html %}
{% if site.aux_links %}
{% include components/aux_nav.html %}
{% endif %}
{% include header_custom.html %}
</div>
3 changes: 2 additions & 1 deletion docs/_includes/css/just-the-docs.scss.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ $logo: "{{ site.logo | relative_url }}";
@import "./support/support";
@import "./custom/setup";
@import "./color_schemes/light";
{% unless include.color_scheme == "light" %}
@import "./color_schemes/dark";
{% unless include.color_scheme == "dark" %}
@import "./color_schemes/{{ include.color_scheme }}";
{% endunless %}
@import "./modules";
Expand Down
1 change: 1 addition & 0 deletions docs/_includes/header_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<button id="theme-toggle">Toggle Dark Mode</button>
19 changes: 19 additions & 0 deletions docs/_includes/js/custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
onload = function() {
// JavaScript to toggle between light and dark mode
const toggleButton = document.getElementById('theme-toggle');
const bodyElement = document.body;

// Check for saved mode preference in localStorage
const currentTheme = localStorage.getItem('theme');
if (currentTheme === 'light') {
bodyElement.classList.toggle('light-mode');
}

// Toggle mode and save preference
toggleButton.addEventListener('click', () => {
bodyElement.classList.toggle('light-mode');

const theme = bodyElement.classList.contains('light-mode') ? 'light' : 'dark';
localStorage.setItem('theme', theme); // Save the preference
});
}
60 changes: 31 additions & 29 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,41 @@
<html lang="{{ site.lang | default: 'en-US' }}">
{% include head.html %}
<body>
<a class="skip-to-main" href="#main-content">Skip to main content</a>
{% include icons/icons.html %}
{% if page.nav_enabled == true %}
{% include components/sidebar.html %}
{% elsif layout.nav_enabled == true and page.nav_enabled == nil %}
{% include components/sidebar.html %}
{% elsif site.nav_enabled != false and layout.nav_enabled == nil and page.nav_enabled == nil %}
{% include components/sidebar.html %}
{% endif %}
<div class="main" id="top">
{% include components/header.html %}
<div class="main-content-wrap">
{% include components/breadcrumbs.html %}
<div id="main-content" class="main-content">
<main>
{% if site.heading_anchors != false %}
{% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %}
{% else %}
{{ content }}
{% endif %}
<div class="window">
<a class="skip-to-main" href="#main-content">Skip to main content</a>
{% include icons/icons.html %}
{% if page.nav_enabled == true %}
{% include components/sidebar.html %}
{% elsif layout.nav_enabled == true and page.nav_enabled == nil %}
{% include components/sidebar.html %}
{% elsif site.nav_enabled != false and layout.nav_enabled == nil and page.nav_enabled == nil %}
{% include components/sidebar.html %}
{% endif %}
<div class="main" id="top">
{% include components/header.html %}
<div class="main-content-wrap">
{% include components/breadcrumbs.html %}
<div id="main-content" class="main-content">
<main>
{% if site.heading_anchors != false %}
{% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %}
{% else %}
{{ content }}
{% endif %}

{% if page.has_toc != false %}
{% include components/children_nav.html %}
{% endif %}
</main>
{% include components/footer.html %}
{% if page.has_toc != false %}
{% include components/children_nav.html %}
{% endif %}
</main>
{% include components/footer.html %}
</div>
</div>
{% if site.search_enabled != false %}
{% include components/search_footer.html %}
{% endif %}
</div>
{% if site.search_enabled != false %}
{% include components/search_footer.html %}
{% endif %}
</div>

</div>
{% if site.mermaid %}
{% include components/mermaid.html %}
{% endif %}
Expand Down
1 change: 0 additions & 1 deletion docs/_sass/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ body {
font-size: inherit;
line-height: $body-line-height;
color: $body-text-color;
background-color: $body-background-color;
overflow-wrap: break-word;
}

Expand Down
4 changes: 2 additions & 2 deletions docs/_sass/color_schemes/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $body-heading-color: $grey-lt-000;
$body-text-color: $grey-lt-300;
$link-color: $blue-000;
$nav-child-link-color: $grey-dk-000;
$sidebar-color: $grey-dk-300;
$sidebar-color: rgba($grey-dk-300, 0.4);
$base-button-color: $grey-dk-250;
$btn-primary-color: $blue-200;
$code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid
Expand All @@ -13,6 +13,6 @@ $feedback-color: darken($sidebar-color, 3%);
$table-background-color: $grey-dk-250;
$search-background-color: $grey-dk-250;
$search-result-preview-color: $grey-dk-000;
$border-color: $grey-dk-200;
$border-color: $grey-dk-300;

@import "./vendor/OneDarkJekyll/syntax"; // this is the one-dark-vivid atom syntax theme
73 changes: 73 additions & 0 deletions docs/_sass/custom/custom.scss
Original file line number Diff line number Diff line change
@@ -1 +1,74 @@
// custom SCSS (or CSS) goes here

html {

position: relative;
background-image: url("https://static1.squarespace.com/static/5e949a92e17d55230cd1d44f/t/666797c50267ef33983aa221/1718065110482/SequoiaDark.png");
background-position: center center;
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
height: 100vh;

}

.main {

background-color: rgba($body-background-color, 0.94);
backdrop-filter: blur(500px);
min-height: 100vh;

}


.side-bar {

background-color: rgba($sidebar-color, 0.7);
backdrop-filter: blur(25px);

}

.light-mode {

@import "../color_schemes/light.scss";

background-image: url(https://media.discordapp.net/attachments/764964269460029442/1293703419483394159/SequoiaLight.png?ex=670856b3&is=67070533&hm=4898869ebea28d70fafa001b371d4acd7f5489b1b1cfba1e6afcc3e0a2d32396&=&format=webp&quality=lossless);
background-position: center center;
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;

.main {

background-color: rgba($white, 0.6);
backdrop-filter: blur(500px);
min-height: 100vh;

}

.main-content,
.footer {
// @sproott - I was here

h1,
h2,
h3,
h4,
h5 {

color: $grey-dk-300;

}

color: $grey-dk-300;

}

.side-bar {

background-color: rgba($white, 0.7);
backdrop-filter: blur(25px);

}

}
6 changes: 2 additions & 4 deletions docs/_sass/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
z-index: 0;
display: flex;
flex-wrap: wrap;
background-color: $sidebar-color;

@include mq(md) {
flex-flow: column nowrap;
Expand All @@ -16,7 +15,6 @@
}

@include mq(lg) {
width: calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width});
min-width: $nav-width;
}

Expand Down Expand Up @@ -60,13 +58,14 @@

@include mq(md) {
position: relative;
max-width: $content-width;
}
}

.main-content-wrap {
padding-top: $gutter-spacing-sm;
padding-bottom: $gutter-spacing-sm;
background-attachment: fixed;


@include container;

Expand Down Expand Up @@ -121,7 +120,6 @@
@include mq(md) {
height: $header-height;
max-height: $header-height;
border-bottom: $border $border-color;
}
}

Expand Down
2 changes: 1 addition & 1 deletion docs/_sass/support/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ $nav-width-md: 15.5rem !default;
$nav-list-item-height: $sp-6 !default;
$nav-list-item-height-sm: $sp-8 !default;
$nav-list-expander-right: true;
$content-width: 50rem !default;
$content-width: 30rem !default;
$header-height: 3.75rem !default;
$search-results-width: $content-width - $nav-width !default;
$transition-duration: 400ms;
Expand Down
3 changes: 3 additions & 0 deletions docs/assets/css/just-the-docs-dark.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
---
{% include css/just-the-docs.scss.liquid color_scheme="dark" %}
8 changes: 8 additions & 0 deletions docs/assets/css/just-the-docs-default.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
---
{% if site.color_scheme and site.color_scheme != "nil" %}
{% assign color_scheme = site.color_scheme %}
{% else %}
{% assign color_scheme = "light" %}
{% endif %}
{% include css/just-the-docs.scss.liquid color_scheme=color_scheme %}
3 changes: 3 additions & 0 deletions docs/assets/css/just-the-docs-light.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
---
{% include css/just-the-docs.scss.liquid color_scheme="light" %}
File renamed without changes
Loading

0 comments on commit 819c9a5

Please sign in to comment.