From d8cb219975dd55385ef4e8fee3751112f7804843 Mon Sep 17 00:00:00 2001
From: T <154358121+TMHSDigital@users.noreply.github.com>
Date: Mon, 8 Jul 2024 21:46:53 -0400
Subject: [PATCH] V2-TEST
---
css/color-palette.css | 23 +++----
css/image.resizer.css | 22 +++++--
css/styles.css | 136 +++++++--------------------------------
index.html | 29 ++++-----
js/color-palette.js | 72 ++++++++++-----------
js/common.js | 35 ++++++----
js/image-resizer.js | 62 +++++++-----------
pages/about.html | 30 ++++-----
pages/color-palette.html | 31 +++------
pages/image-resizer.html | 59 +++++++++--------
10 files changed, 195 insertions(+), 304 deletions(-)
diff --git a/css/color-palette.css b/css/color-palette.css
index 8ba5011..02d2878 100644
--- a/css/color-palette.css
+++ b/css/color-palette.css
@@ -1,17 +1,14 @@
-#palette-container {
+#color-palette-container {
display: flex;
- justify-content: space-between;
- margin-top: 1rem;
+ justify-content: center;
+ align-items: center;
+ flex-wrap: wrap;
}
-.color-swatch {
- width: 50px;
- height: 50px;
- border-radius: 50%;
-}
-
-.color-info {
- text-align: center;
- font-size: 0.8rem;
- margin-top: 0.5rem;
+.color-box {
+ width: 100px;
+ height: 100px;
+ margin: 10px;
+ border-radius: 5px;
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
diff --git a/css/image.resizer.css b/css/image.resizer.css
index 4eb9685..c7397c3 100644
--- a/css/image.resizer.css
+++ b/css/image.resizer.css
@@ -1,11 +1,25 @@
-#image-container {
+#image-preview-container {
max-height: 300px;
overflow: hidden;
- margin-bottom: 1rem;
- border-radius: 5px;
+ margin-bottom: 20px;
}
-#image-container img {
+#image-preview {
max-width: 100%;
height: auto;
}
+
+.cyber-button {
+ background: linear-gradient(90deg, #00f, #0ff);
+ border: none;
+ padding: 10px 20px;
+ color: #fff;
+ font-size: 1em;
+ cursor: pointer;
+ transition: background 0.3s ease, transform 0.3s ease;
+}
+
+.cyber-button:hover {
+ background: linear-gradient(90deg, #0ff, #00f);
+ transform: scale(1.05);
+}
diff --git a/css/styles.css b/css/styles.css
index d90dd25..b6d65c1 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -1,140 +1,52 @@
body {
- font-family: 'Roboto', sans-serif;
+ font-family: 'Inter', sans-serif;
background-color: #000;
color: #fff;
margin: 0;
padding: 0;
display: flex;
- justify-content: center;
+ flex-direction: column;
align-items: center;
+ justify-content: center;
min-height: 100vh;
-}
-
-.container {
- background-color: rgba(16, 24, 39, 0.8);
- padding: 2rem;
- border-radius: 10px;
- box-shadow: 0 0 20px #00fff2;
- max-width: 600px;
- width: 100%;
-}
-
-.neon-text {
- font-family: 'Orbitron', sans-serif;
- color: #fff;
- text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #00fff2, 0 0 35px #00fff2, 0 0 40px #00fff2;
text-align: center;
- margin-bottom: 2rem;
}
-nav {
- display: flex;
- justify-content: center;
- margin-bottom: 2rem;
+header {
+ margin-bottom: 20px;
}
-nav a {
- color: #00fff2;
- text-decoration: none;
- margin: 0 1rem;
- font-weight: bold;
- transition: color 0.3s ease;
+h1 {
+ font-size: 2.5em;
+ color: #00f;
+ text-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
}
-nav a:hover {
- color: #fff;
- text-shadow: 0 0 5px #00fff2;
+h2 {
+ font-size: 2em;
+ margin-bottom: 10px;
}
-.content {
- display: flex;
- flex-direction: column;
- gap: 1rem;
-}
-
-.input-group {
- display: flex;
- flex-direction: column;
-}
-
-label {
- margin-bottom: 0.5rem;
- color: #00fff2;
-}
-
-input[type="file"], input[type="number"] {
- background-color: #1f2937;
- border: 1px solid #374151;
- color: #fff;
- padding: 0.5rem;
- border-radius: 5px;
+p {
+ font-size: 1.2em;
+ margin-bottom: 20px;
}
-.tech-button {
- background: linear-gradient(45deg, #00a3ff, #00fff2);
- color: #000;
- border: none;
- padding: 10px 20px;
- font-size: 16px;
- font-weight: bold;
- text-transform: uppercase;
- border-radius: 5px;
- cursor: pointer;
- transition: all 0.3s ease;
- text-align: center;
- text-decoration: none;
-}
-
-.tech-button:hover {
- background: linear-gradient(45deg, #00fff2, #00a3ff);
- box-shadow: 0 0 10px #00fff2;
-}
-
-.instructions {
- text-align: center;
- color: #9ca3af;
- font-size: 0.9rem;
-}
-
-.welcome-text {
- font-size: 1.2rem;
- text-align: center;
- margin-bottom: 1rem;
-}
-
-.services-list {
- list-style-type: none;
+nav ul {
+ list-style: none;
padding: 0;
}
-.services-list li {
- margin-bottom: 1rem;
+nav ul li {
+ display: inline;
+ margin-right: 15px;
}
-.services-list a {
- color: #00fff2;
+nav ul li a {
+ color: #00f;
text-decoration: none;
- font-weight: bold;
- transition: color 0.3s ease;
-}
-
-.services-list a:hover {
- color: #fff;
- text-shadow: 0 0 5px #00fff2;
}
-.cta-text {
- text-align: center;
- margin-top: 2rem;
-}
-
-.cta-text a {
- color: #00fff2;
- text-decoration: none;
- font-weight: bold;
-}
-
-.cta-text a:hover {
- color: #fff;
- text-shadow: 0 0 5px #00fff2;
+nav ul li a:hover {
+ text-decoration: underline;
}
diff --git a/index.html b/index.html
index 87c0df2..630b09e 100644
--- a/index.html
+++ b/index.html
@@ -7,24 +7,21 @@
-
-
Digital Services Hub
-
-
-
-
-
Welcome to our Digital Services Hub!
-
We offer a range of free tools to help with your digital media needs:
-
-
-
-
+
+