diff --git a/aes.html b/aes.html index f288ba6..f1bc126 100644 --- a/aes.html +++ b/aes.html @@ -3,14 +3,14 @@ + + + encryptme: Simple AES encryption/decryption - - encryptme: Simple AES encryption/decryption - -

encryptme

+

AES

diff --git a/index.html b/index.html index 6c1b4b2..61a49b2 100644 --- a/index.html +++ b/index.html @@ -3,13 +3,13 @@ - - encryptme + encryptme + -

encryptme

+

Tools

Encryption/decryption

AES diff --git a/scripts/header-template.js b/scripts/header-template.js new file mode 100644 index 0000000..0c2545b --- /dev/null +++ b/scripts/header-template.js @@ -0,0 +1,8 @@ +header = document.createElement("div"); +header.classList.add("page-header"); + +header.innerHTML = ` +

encryptme

+` + +document.body.appendChild(header); diff --git a/style.css b/style.css index c417b5c..63c73f0 100644 --- a/style.css +++ b/style.css @@ -127,6 +127,11 @@ button:active { background: #0077ff44; } +.page-header a { + color: #000000; + text-decoration: none; +} + @media (prefers-color-scheme: dark) { body { color: #c9d1d9; @@ -149,6 +154,10 @@ button:active { background: #1d2127; color: #c9d1d9; } + + .page-header a { + color: #c9d1d9; + } } [hidden] {