Skip to content

Commit

Permalink
Deploy wowwood/blue-site to wowwood/blue-site:gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jul 29, 2024
0 parents commit 6b295bf
Show file tree
Hide file tree
Showing 62 changed files with 11,520 additions and 0 deletions.
302 changes: 302 additions & 0 deletions 404.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
whatthe.blue
1 change: 1 addition & 0 deletions VERSION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.4.1
337 changes: 337 additions & 0 deletions about/index.html

Large diffs are not rendered by default.

Binary file added buttons/adryd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added buttons/faelix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added buttons/glauca.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added buttons/infernocomms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added buttons/love_blahaj.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions class-banner.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* classification banners */

.class-banner {
text-transform: uppercase;
font-size: 16px;
line-height: 1;
text-align: center;
padding: 6px 0;
font-weight: bold;
font-family: "Helvetica Neue", sans-serif;
letter-spacing: 1px;
}

.class-banner--not-set {
background-color: #616161;
color: white;
}

.class-banner--unclassified {
background-color: #007a33;
color: white;
}

.class-banner--controlled {
background-color: #502b85;
color: white;
}

.class-banner--conf {
background-color: #0033a0;
color: white;
}

.class-banner--s {
background-color: #c8102e;
color: white;
}

.class-banner--top-secret {
background-color: #ff8c00;
color: black;
}

.class-banner--ts-sci {
background-color: #fce83a;
color: black;
}

11 changes: 11 additions & 0 deletions colourchange.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
function colourchange(e) {
if (e.style.webkitAnimationName !== 'colourchange') {
e.style.webkitAnimationName = 'colourchange';
e.style.webkitAnimationDuration = '4s';

// make sure to reset the name after 4 seconds, otherwise another call to colorchange wont have any effect
setTimeout(function () {
e.style.webkitAnimationName = '';
}, 4000);
}
}
75 changes: 75 additions & 0 deletions dark-light-theme.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/**
* source:
* https://dev.to/whitep4nth3r/the-best-lightdark-mode-theme-toggle-in-javascript-368f
*
*
* Utility function to calculate the current theme setting.
* Look for a local storage value.
* Fall back to system setting.
* Fall back to light mode.
*/
function calculateSettingAsThemeString({ localStorageTheme, systemSettingDark }) {
if (localStorageTheme !== null) {
return localStorageTheme;
}

if (systemSettingDark.matches) {
return "dark";
}

return "light";
}

/**
* Utility function to update the button text and aria-label.
*/
function updateButton({ buttonEl, isDark }) {
const newCta = isDark ? "☀️" : "🌛";
// use an aria-label if you are omitting text on the button
// and using a sun/moon icon, for example
buttonEl.setAttribute("aria-label", newCta);
buttonEl.innerText = ("aria-label", newCta);
}

/**
* Utility function to update the theme setting on the html tag
*/
function updateThemeOnHtmlEl({ theme }) {
document.querySelector("html").setAttribute("data-theme", theme);
}


/**
* On page load:
*/

/**
* 1. Grab what we need from the DOM and system settings on page load
*/
const button = document.querySelector("[data-theme-toggle]");
const localStorageTheme = localStorage.getItem("theme");
const systemSettingDark = window.matchMedia("(prefers-color-scheme: dark)");

/**
* 2. Work out the current site settings
*/
let currentThemeSetting = calculateSettingAsThemeString({ localStorageTheme, systemSettingDark });

/**
* 3. Update the theme setting and button text according to current settings
*/
updateButton({ buttonEl: button, isDark: currentThemeSetting === "dark" });
updateThemeOnHtmlEl({ theme: currentThemeSetting });

/**
* 4. Add an event listener to toggle the theme
*/
button.addEventListener("click", (event) => {
const newTheme = currentThemeSetting === "dark" ? "light" : "dark";

localStorage.setItem("theme", newTheme);
updateButton({ buttonEl: button, isDark: newTheme === "dark" });
updateThemeOnHtmlEl({ theme: newTheme });

currentThemeSetting = newTheme;
});
10 changes: 10 additions & 0 deletions elasticlunr.min.js

Large diffs are not rendered by default.

Binary file added favicon.ico
Binary file not shown.
Binary file added favicon/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-114x114-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-114x114.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-120x120-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-144x144-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-152x152-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-180x180-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-57x57-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-57x57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-60x60-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-72x72-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-72x72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-76x76-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon/apple-touch-icon-precomposed.png
Binary file added favicon/apple-touch-icon.png
9 changes: 9 additions & 0 deletions favicon/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#ffffff</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added favicon/favicon-16x16.png
Binary file added favicon/favicon-32x32.png
Binary file added favicon/favicon.ico
Binary file not shown.
Binary file added favicon/favicon_package_v0.16.zip
Binary file not shown.
Binary file added favicon/mstile-150x150.png
27 changes: 27 additions & 0 deletions favicon/safari-pinned-tab.svg
24 changes: 24 additions & 0 deletions flags.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
:root {
--rainbow: linear-gradient(
45deg,
#e40303 0% 10%,
#ff8c00 10% 20%,
#ffed00 20% 30%,
#008026 30% 40%,
#0044ff 40% 50%,
#750787 50% 60%,
#ffffff 60% 70%,
#ffafc8 70% 80%,
#74d7ee 80% 90%,
#613915 90% 100%
);
--trans: linear-gradient(
90deg,
#74d7ee 0% 20%,
#ffafc8 20% 40%,
#ffffff 40% 60%,
#ffafc8 60% 80%,
#74d7ee 80% 100%
);

}
1 change: 1 addition & 0 deletions govuk-frontend-5.4.1.min.css.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions govuk-frontend-5.4.1.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 6b295bf

Please sign in to comment.