Skip to content

Commit

Permalink
trying to fix talks.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeberv committed Nov 10, 2023
1 parent 4677244 commit a9de38b
Showing 1 changed file with 34 additions and 5 deletions.
39 changes: 34 additions & 5 deletions _pages/talks.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,21 @@ author_profile: true
{% endfor %}

<style>
/* Existing styles... */
.talks-entry {
display: grid;
grid-template-columns: 3fr 2fr; /* Adjusted for proper alignment */
column-gap: 30px; /* Increased gap for more space between description and video */
align-items: center; /* Center the items vertically */
margin-bottom: 2em;
}

.talks-content {
padding-right: 1em; /* Added padding between text and video */
}

.talks-video {
position: relative;
}

.talks-video-link {
display: block;
Expand All @@ -85,17 +99,32 @@ author_profile: true
box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Add shadow for depth */
}

/* SVG play button styles remain unchanged */
.play-button-overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
/* ... other styles ... */
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}

/* Media queries remain unchanged */
@media (max-width: 767px) {
/* ... */
.talks-entry {
grid-template-columns: 1fr; /* Single column on small screens */
align-items: flex-start; /* Align items to the start on small screens */
}

.talks-video {
order: 2;
margin: auto; /* Center the video */
margin-top: 1em; /* Space between text and video on small screens */
width: 80%; /* Video preview width is 80% of the text column width */
}

.talks-video a {
width: 100%; /* Full width of the video container */
}
}
</style>

0 comments on commit a9de38b

Please sign in to comment.