Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update style.css #895

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,30 @@
}

/* Hover effect for event items */
/* Individual event item */
.event-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px; /* Increased padding for more space */
border: 2px solid var(--roman-silver); /* Border matching roman silver */
border-radius: 12px; /* Slightly more rounded corners */
background-color: var(--roman-silver_10); /* Light transparent background */
color: var(--roman-silver); /* Text color using roman silver */
transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Added box-shadow transition */
font-size: 1.4rem; /* Bigger font size for better readability */
}

/* Hover effect on event items */
.event-item:hover {
transform: scale(1.03); /* Slightly enlarges the event item on hover */
cursor: pointer;
background-color: rgba(0, 0, 0, 0.05); /* Light background change on hover */
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}



#search-results{
position:absolute;
left: -100px;
Expand Down