Skip to content
Open
Show file tree
Hide file tree
Changes from 4 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
238 changes: 238 additions & 0 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
// Custom styles for events
.featured-events {
.featured-card {
border: none;
background: linear-gradient(to right bottom, #ffffff, #f8f9fa);
transition: transform 0.3s ease, box-shadow 0.3s ease;

&:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
}
}

.year-section {
.year-header {
background-color: #e8f5f3;
border-radius: 8px;
transition: all 0.3s ease;

h2 {
font-weight: 600;
color: #2c3e50;
}

.event-count {
background: rgba(255,255,255,0.9);
padding: 0.5rem 1rem;
border-radius: 20px;
font-weight: 500;
color: #34495e;
}
}

.event-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: none;

&:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-title {
color: #2c3e50;
font-weight: 600;
}

.card-text {
color: #6c757d;
}

.event-type-badge {
display: inline-block;
padding: 0.25rem 0.75rem;
background-color: #e8f5f3;
color: #34495e;
border-radius: 15px;
font-size: 0.875rem;
font-weight: 500;
}

.event-meta {
font-size: 0.9rem;
color: #6c757d;

i {
color: #34495e;
}
}

.event-tags {
.badge {
background-color: #f8f9fa;
color: #34495e;
font-weight: 500;
padding: 0.5rem 0.75rem;
border-radius: 15px;
border: 1px solid #e9ecef;
}
}

.btn-primary {
background-color: #34495e;
border-color: #34495e;
transition: all 0.3s ease;
border-radius: 6px;
padding: 0.5rem 1.5rem;

&:hover {
background-color: #2c3e50;
border-color: #2c3e50;
transform: translateY(-1px);
}
}
}
}

// Event detail page styles
.event-article {
.display-4 {
color: #2c3e50;
font-weight: 600;
}

.event-meta, .event-location {
i {
color: #34495e;
}
}

.speaker-card {
transition: transform 0.3s ease;
background: #ffffff;
border: 1px solid #e9ecef;

&:hover {
transform: translateY(-3px);
border-color: #34495e;
}

img {
border: 2px solid #e8f5f3;
}
}

.resources-section {
.list-group-item {
transition: all 0.3s ease;
border: 1px solid #e9ecef;
margin-bottom: 0.5rem;
border-radius: 6px;

&:hover {
background-color: #f8f9fa;
color: #34495e;
border-color: #34495e;
}

i {
color: #34495e;
}
}
}
}

// Responsive adjustments
@media (max-width: 768px) {
.year-section {
.year-header {
.display-4 {
font-size: 2rem;
}

.event-count {
font-size: 0.875rem;
}
}

.card {
margin-bottom: 1rem;
}
}

.featured-events {
.featured-card {
margin-bottom: 1.5rem;
}
}
}

// Custom styles for news sections
.news-sidebar {
position: sticky;
top: 2rem;
max-height: calc(100vh - 4rem);
overflow-y: auto;

.list-group-item {
border: none;
border-radius: 6px;
margin-bottom: 0.5rem;
transition: all 0.3s ease;

&:hover {
background-color: #f8f9fa;
transform: translateX(5px);
}

&.active {
background-color: #e8f5f3;
color: #34495e;
border-color: #34495e;
}

small {
font-size: 0.875rem;
}
}
}

.news-article {
.display-4 {
color: #2c3e50;
font-weight: 600;
}

.news-meta {
i {
color: #34495e;
}
}

.news-tags {
.badge {
background-color: #f8f9fa;
color: #34495e;
font-weight: 500;
padding: 0.5rem 0.75rem;
border-radius: 15px;
border: 1px solid #e9ecef;

&:hover {
background-color: #e8f5f3;
border-color: #34495e;
}
}
}
}

#news-content {
min-height: 400px;
transition: opacity 0.3s ease;

&.loading {
opacity: 0.6;
}
}
71 changes: 71 additions & 0 deletions config.toml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you forced static menu ?
This is done dinamically. please don't touch the menu in this way

Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ sidebar_menu_compact = true
sidebar_menu_foldable = true
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable = false
sidebar_cache_limit = 10

# Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
Expand Down Expand Up @@ -149,3 +150,73 @@ disable = false
[[module.imports]]
path = "github.com/google/docsy/dependencies"
disable = false

[[menu.main]]
name = "About"
weight = 10
url = "/about/"

[[menu.main]]
name = "Screenshots"
weight = 20
url = "/screenshots/"

[[menu.main]]
name = "GSoC"
weight = 30
url = "/gsoc/"

[[menu.main]]
name = "Documentation"
weight = 40
url = "/docs/"

[[menu.main]]
name = "News"
weight = 50
url = "/news/"

[params.ui.sidebar]
# Enable sidebar navigation
enable = true
# Enable auto-expand for active section
auto_expand = true
# Enable sidebar tree view
tree = true
# Enable sidebar collapse/expand button
collapse_enable = true
# Enable generation of sidebar tree index
generate = true

[params.taxonomy]
# set taxonomyCloud = [] to hide taxonomy clouds
taxonomyCloud = ["tags", "categories"]

[params.sections]
news = true

# Add news to the menu sections that should show in sidebar
[[menu.news]]
name = "Project Updates"
weight = 10
url = "/news/project-updates/"

[[menu.news]]
name = "Events"
weight = 20
url = "/news/events/"

[[menu.news]]
name = "Community"
weight = 30
url = "/news/community/"

[[menu.news]]
name = "Security"
weight = 40
url = "/news/security/"

[[menu.news]]
name = "Features"
weight = 50
url = "/news/features/"
29 changes: 0 additions & 29 deletions content/en/events/2022/eclipsecon-2022.md

This file was deleted.

11 changes: 0 additions & 11 deletions content/en/events/_index.md

This file was deleted.

Loading
Loading