Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TU-Delft
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2024 Competition
TU-Delft
Commits
be881917
Commit
be881917
authored
8 months ago
by
Shraddha Raghuram
Browse files
Options
Downloads
Patches
Plain Diff
glitch fix
parent
52925140
No related branches found
No related tags found
No related merge requests found
Pipeline
#406863
passed
8 months ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
static/navbar.css
+0
-19
0 additions, 19 deletions
static/navbar.css
with
0 additions
and
19 deletions
static/navbar.css
+
0
−
19
View file @
be881917
...
...
@@ -74,25 +74,6 @@ body{
margin-right
:
30px
;
/* Ensure sufficient space between "Education" and "Safety" */
}
.my-navbar
>
li
.son
{
margin-top
:
0
;
/* Remove any margin to avoid indentation */
padding
:
0
;
/* Remove padding if not needed */
position
:
absolute
;
/* Position absolutely */
top
:
100%
;
/* Align the dropdown directly below the parent */
left
:
0
;
/* Align to the left edge of the parent */
width
:
100%
;
/* Make sure the dropdown is as wide as the parent */
background-color
:
#C6EBE8
;
/* Match the background to the navbar */
z-index
:
1000
;
/* Ensure it appears above other elements */
visibility
:
hidden
;
/* Initially hidden */
opacity
:
0
;
/* Start with invisible dropdown */
transition
:
opacity
0.3s
ease-out
,
visibility
0.3s
ease-out
;
/* Smooth transition for visibility and opacity */
}
.my-navbar
>
li
:hover
.son
,
.my-navbar
>
li
.active
.son
{
visibility
:
visible
;
/* Make it visible */
opacity
:
1
;
/* Make it opaque */
}
/* Adjust for smaller screens */
@media
screen
and
(
max-width
:
1130px
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment