Add video gallery section with YouTube Shorts
- Update app.py to include video IDs - Add video section to index.html - Add CSS for vertical video aspect ratio - Add basic integration test Co-authored-by: abustosp <63634574+abustosp@users.noreply.github.com>
This commit is contained in:
@@ -400,6 +400,44 @@ p {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
/* Videos Section */
|
||||
.videos-section {
|
||||
background-color: var(--bg-body);
|
||||
}
|
||||
|
||||
.video-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 2rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.video-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
/* 9:16 Aspect Ratio */
|
||||
padding-bottom: 177.77%;
|
||||
background: var(--bg-surface);
|
||||
border-radius: var(--radius-md);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--shadow-soft);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.video-wrapper:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: var(--shadow-hover);
|
||||
}
|
||||
|
||||
.video-wrapper iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Map Section */
|
||||
.map-section {
|
||||
background-color: var(--bg-alt);
|
||||
|
||||
Reference in New Issue
Block a user