Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
yonasuriv committed Oct 12, 2024
1 parent e34b969 commit 1292b51
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 119 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/version-logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
118 changes: 0 additions & 118 deletions assets/default/css/osint-navbar.css

This file was deleted.

121 changes: 121 additions & 0 deletions assets/default/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="stylesheet" href="assets/default/css/style.css">
<link rel="stylesheet" href="assets/default/css/osint-navbar.css">
<link rel="icon" href="assets/default/icons/favicon.png">
<script src="assets/default/js/search-focus.js"></script>
<script src="assets/default/js/osint-navbar.js"></script>
<title>Panic Sonda - OSINT Search Engine</title>
</head>
Expand Down

0 comments on commit 1292b51

Please sign in to comment.