From 1292b518e19f0d0fefc1ab4c166d4483a98a2161 Mon Sep 17 00:00:00 2001 From: Jonathan Di Rico Date: Sat, 12 Oct 2024 14:41:39 -0400 Subject: [PATCH] Update --- .github/workflows/version-logger.py | 4 +- assets/default/css/osint-navbar.css | 118 --------------------------- assets/default/css/style.css | 121 ++++++++++++++++++++++++++++ index.html | 1 + 4 files changed, 125 insertions(+), 119 deletions(-) delete mode 100644 assets/default/css/osint-navbar.css diff --git a/.github/workflows/version-logger.py b/.github/workflows/version-logger.py index 1a3636f..bf17e0e 100644 --- a/.github/workflows/version-logger.py +++ b/.github/workflows/version-logger.py @@ -87,11 +87,13 @@ def changes_outside_excluded_dirs(): # Convert commit date to desired format commit_datetime = datetime.strptime(commit_date, '%a %b %d %H:%M:%S %Y %z') formatted_date = commit_datetime.strftime('%B %d, %Y, at %H:%M (UTC%z)') + date_version = commit_datetime.strftime('%d.%m.%y') # Prepare the log entry if author is not github-actions[bot] if author_name != 'github-actions[bot]': new_log_entry = [ - f"Update: {major}.{minor}.{patch} {type} update: {commit_message}\n", + f"Update: {commit_message}\n", + f"Version: {type} {major}.{minor}.{patch}-{date_version}\n", f"Commit: {commit_hash}\n", f"Author: {author_name} on {formatted_date}\n", "\n" diff --git a/assets/default/css/osint-navbar.css b/assets/default/css/osint-navbar.css deleted file mode 100644 index e9c067a..0000000 --- a/assets/default/css/osint-navbar.css +++ /dev/null @@ -1,118 +0,0 @@ -.navbar { - background-color: #000000; - padding: 10px; - margin-top: 10px; - width: 100%; - display: flex; - justify-content: flex-start; - align-items: center; - position: relative; -} - -.menu-left { - display: flex; - gap: 20px; /* Space between #menu-osint and #menu */ -} - -#menu-right { - position: fixed; - right: 20px; - top: 20px; -} - -.navbar ul { - list-style-type: none; - padding: 0; - margin: 0; - display: flex; - gap: 10px; /* Space between individual list items */ -} - -.navbar ul li { - margin: 0 10px; - position: relative; /* Make li the reference for absolute positioning */ -} - -.navbar ul li a { - display: block; - color: #333; - text-align: center; - padding: 14px 20px; - text-decoration: none; - background-color: black; - text-transform: uppercase; -} - -.navbar ul li a:hover { - background-color: black; - color: var(--red); -} - -/* First level submenu */ -.navbar ul li ul { - display: none; - position: absolute; - left: 0; - top: 100%; - background-color: black; - z-index: 1; -} - -/* Show first-level submenu on hover */ -.navbar ul li:hover > ul { - display: block; -} - -/* Styling for first-level submenu items */ -.navbar ul li ul li a { - color: black; - font-size: 12px; - background-color: lightgray; - text-align: left; - border-radius: 2px; -} - -.navbar ul li ul li a:hover { - background-color: var(--red); - color: black; -} - -/* Second-level submenu (nested) positioning */ -.navbar ul li ul li ul { - display: none; - position: absolute; - top: 0; - left: 100%; /* Positions the second-level submenu to the right of the parent */ - background-color: black; - z-index: 2; -} - -/* Show second-level submenu on hover */ -.navbar ul li ul li:hover > ul { - display: block; -} - -/* Ensure that the second-level submenu does not overlap with the parent menu */ -.navbar ul li ul li ul li { - position: relative; -} - -.navbar ul li ul li ul li a { - font-size: 12px; - background-color: #333; - color: white; - padding: 10px; -} - -/* Styling for hover in the second-level submenu */ -.navbar ul li ul li ul li a:hover { - background-color: var(--red); - color: black; -} - -/* Clearfix for floating elements */ -.navbar::after { - content: ""; - clear: both; - display: table; -} \ No newline at end of file diff --git a/assets/default/css/style.css b/assets/default/css/style.css index 88449ba..26efc46 100644 --- a/assets/default/css/style.css +++ b/assets/default/css/style.css @@ -303,4 +303,125 @@ color: var(--red); text-decoration: underline !important; } } +} + +.navbar { + background-color: #000000; + padding: 10px; + margin-top: 10px; + width: 100%; + display: flex; + justify-content: flex-start; + align-items: center; + position: relative; +} + +.menu-left { + display: flex; + gap: 20px; /* Space between #menu-osint and #menu */ +} + +#menu-right { + position: fixed; + justify-content: flex-start; + align-items: center; + right: 20px; + top: 20px; +} + +.navbar ul { + list-style-type: none; + padding: 0; + margin: 0; + display: flex; + gap: 10px; /* Space between individual list items */ +} + +.navbar ul li { + margin: 0 10px; + position: relative; /* Make li the reference for absolute positioning */ +} + +.navbar ul li a { + display: block; + color: #333; + text-align: center; + padding: 14px 20px; + text-decoration: none; + background-color: black; + text-transform: uppercase; +} + +.navbar ul li a:hover { + background-color: black; + color: var(--red); +} + +/* First level submenu */ +.navbar ul li ul { + display: none; + position: absolute; + left: 0; + top: 100%; + background-color: black; + z-index: 1; +} + +/* Show first-level submenu on hover */ +.navbar ul li:hover > ul { + display: block; +} + +/* Styling for first-level submenu items */ +.navbar ul li ul li a { + color: black; + font-size: 12px; + background-color: lightgray; + text-align: left; + border-radius: 2px; +} + +.navbar ul li ul li a:hover { + background-color: var(--red); + color: black; +} + +/* Second-level submenu (nested) positioning */ +.navbar ul li ul li ul { + display: none; + position: absolute; + top: 0; + left: 100%; /* Positions the second-level submenu to the right of the parent */ + background-color: black; + z-index: 2; +} + +/* Show second-level submenu on hover */ +.navbar ul li ul li:hover > ul { + display: block; +} + +/* Ensure that the second-level submenu does not overlap with the parent menu */ +.navbar ul li ul li ul li { + position: relative; +} + +.navbar ul li ul li ul li a { + font-size: 12px; + background-color: #333; + color: white; + padding: 10px; +} + +/* Styling for hover in the second-level submenu */ +.navbar ul li ul li ul li a:hover { + background-color: var(--red); + color: black; +} + +/* Clearfix for floating elements */ +.navbar::after { + content: ""; + clear: both; + display: table; } \ No newline at end of file diff --git a/index.html b/index.html index 01939e9..8df69e8 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,7 @@ + Panic Sonda - OSINT Search Engine