From a2a5bee50fcac04216e1794d91548c9e4ac98c5f Mon Sep 17 00:00:00 2001
From: abhiram v <106994329+abhiramtx@users.noreply.github.com>
Date: Sun, 12 Jan 2025 11:26:34 -0600
Subject: [PATCH 1/2] Update index.html
Signed-off-by: abhiram v <106994329+abhiramtx@users.noreply.github.com>
---
website/source/index.html | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/website/source/index.html b/website/source/index.html
index e32c7147..ddb8ed56 100644
--- a/website/source/index.html
+++ b/website/source/index.html
@@ -28,7 +28,42 @@
Install
+
+
+
+
+
+
+
+
@@ -242,6 +277,8 @@ Community Projects
const section = document.getElementById(sectionId);
const elementPosition = section.getBoundingClientRect().top + window.scrollY; // Add current scroll position
window.scrollTo({ behavior: 'smooth', top: elementPosition-75});
+ document.getElementById('menu').style = "display: none;";
+ open = 0;
}
From 025292b5c41f80515e049cc7704e70bc781a2a19 Mon Sep 17 00:00:00 2001
From: abhiram v <106994329+abhiramtx@users.noreply.github.com>
Date: Sun, 12 Jan 2025 11:27:21 -0600
Subject: [PATCH 2/2] Update style.css
Signed-off-by: abhiram v <106994329+abhiramtx@users.noreply.github.com>
---
website/source/css/style.css | 49 +++++++++++++++++++++++++++++++++---
1 file changed, 45 insertions(+), 4 deletions(-)
diff --git a/website/source/css/style.css b/website/source/css/style.css
index 8526c142..ff425b01 100644
--- a/website/source/css/style.css
+++ b/website/source/css/style.css
@@ -1,11 +1,23 @@
-@media (max-width: 768px) {
+
+
+@media only screen and (max-width: 800px) {
.nav-buttons {
display: none; /* Hides the navigation buttons */
}
+ #menu-button {
+ display: block!important;
+ }
+ .nav-buttons {
+ display: none!important; /* Hides the navigation buttons */
+ }
/* You can also hide the logo if needed */
.logo {
- display: none; /* Hides the logo */
+ display: block; /* Hides the logo */
+ }
+
+ .logo img {
+ width: 100px!important;
}
/* Stack columns in section 1 */
@@ -19,6 +31,10 @@
width: 80%; /* Make image responsive */
margin-bottom: 20px; /* Add some space below the image */
}
+
+ .expand-box {
+ width: 90%!important;
+ }
}
/* General Reset */
@@ -26,12 +42,20 @@
margin: 0;
padding: 0;
box-sizing: border-box;
+ /* overflow-x: hidden; */
+}
+
+#menu-button {
+ background-color: rgba(107, 0, 0, 0);
+ color: white;
+ border: none;
}
body {
font-family: 'IBM Plex Sans', sans-serif;
background-color: #121212;
color: #ffffff;
+ overflow-x: hidden;
}
/* Sticky Header */
@@ -44,8 +68,9 @@ header {
border-bottom: 1px solid #333;
position: sticky;
top: 0;
- z-index: 1000;
+ z-index: 10000000000000000000000000000000000000;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25); /* Added shadow for the header */
+ height: 65px;
}
.logo-section {
@@ -467,4 +492,20 @@ a {
font-size: 14px; /* Font size for author */
color: #aaa; /* Slightly lighter color for author */
margin: 0;
-}
\ No newline at end of file
+}
+
+.menu {
+ top: 65px;
+ position: absolute;
+ width: 100vw;
+ height: 100vh;
+ background-color: rgba(0, 0, 0, 0.767);
+ backdrop-filter: blur(10px);
+ margin: 0;
+ left: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ gap: 10%;
+}