Skip to content
Open
Show file tree
Hide file tree
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
101 changes: 83 additions & 18 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ body {
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Playfair Display', serif;
margin-bottom: 1rem;
}
Expand All @@ -51,7 +56,7 @@ header {
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
Expand All @@ -62,10 +67,17 @@ header {
font-size: 2.5rem;
background: linear-gradient(90deg, var(--accent), var(--primary));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin: 0;
}

.fx-logo {
height: 50px;
width: auto;
margin-right: 0.5rem;
}

nav ul {
display: flex;
gap: 2rem;
Expand Down Expand Up @@ -119,7 +131,7 @@ nav a:hover::after {

/* Hero Section */
.hero {
background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
background-size: cover;
background-position: center;
color: white;
Expand All @@ -131,7 +143,7 @@ nav a:hover::after {
.hero h2 {
font-size: 3rem;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.search-container {
Expand All @@ -146,7 +158,7 @@ nav a:hover::after {
border-radius: 50px;
border: none;
font-size: 1.1rem;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-btn {
Expand Down Expand Up @@ -215,7 +227,8 @@ nav a:hover::after {
transition: all 0.3s ease;
}

.category-tab.active, .category-tab:hover {
.category-tab.active,
.category-tab:hover {
background: var(--primary);
color: white;
}
Expand All @@ -232,14 +245,14 @@ nav a:hover::after {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
}

.website-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-image {
Expand Down Expand Up @@ -272,6 +285,7 @@ nav a:hover::after {
margin-bottom: 1rem;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
Expand Down Expand Up @@ -308,7 +322,8 @@ nav a:hover::after {
transition: color 0.3s ease;
}

.action-btn:hover, .action-btn.active {
.action-btn:hover,
.action-btn.active {
color: var(--secondary);
}

Expand All @@ -318,7 +333,7 @@ nav a:hover::after {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.events-slider {
Expand Down Expand Up @@ -385,7 +400,7 @@ footer {
.social-link {
width: 35px;
height: 35px;
background: rgba(255,255,255,0.1);
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
Expand All @@ -400,7 +415,7 @@ footer {
.copyright {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255,255,255,0.1);
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: var(--gray);
}

Expand All @@ -411,7 +426,7 @@ footer {
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.7);
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
Expand Down Expand Up @@ -452,17 +467,67 @@ footer {
}

/* Responsive */
/* Mobile Toggle */
.mobile-toggle {
display: none;
font-size: 1.5rem;
}

@media (max-width: 768px) {
header {
flex-direction: column;
gap: 1rem;
position: sticky;
top: 0;
z-index: 1000;
padding: 1rem;
}

.fx-header-inner {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
flex-wrap: wrap;
}

.mobile-toggle {
display: block;
}

nav ul {

/* Hide nav by default on mobile */
#navMenu {
width: 100%;
display: none;
order: 3;
margin-top: 1rem;
border-top: 1px solid var(--light-gray);
padding-top: 1rem;
}

/* Show nav when class 'show' is added */
#navMenu.show {
display: block;
animation: slideDown 0.3s ease forwards;
}

#navMenu ul {
flex-direction: column;
gap: 1rem;
text-align: center;
}

.hero h2 {
font-size: 2rem;
}
}

@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}

to {
opacity: 1;
transform: translateY(0);
}
}
Loading
Loading