Skip to content

Commit 20189b2

Browse files
Add embed-container CSS to week-04 page
1 parent 6cc2636 commit 20189b2

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

courses/agentic-research/week-04.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,3 +388,35 @@ Week 5 is the first pure-research week of the course: literature search with the
388388
- [ty documentation](https://docs.astral.sh/ty/)
389389
- [Bun documentation](https://bun.sh/docs)
390390
- [Biome documentation](https://biomejs.dev/)
391+
392+
<style>
393+
.embed-container {
394+
position: relative;
395+
padding-bottom: 56.25%;
396+
height: 0;
397+
overflow: hidden;
398+
border: 1px solid var(--md-default-fg-color--lightest);
399+
border-radius: 8px;
400+
margin-bottom: 1.5rem;
401+
}
402+
.embed-container iframe {
403+
position: absolute;
404+
top: 0;
405+
left: 0;
406+
width: 100%;
407+
height: 100%;
408+
border-radius: 8px;
409+
}
410+
.slide-hint {
411+
margin: -0.5rem 0 1.5rem 0;
412+
font-size: 0.75rem;
413+
color: var(--md-default-fg-color--lighter);
414+
}
415+
.slide-hint kbd {
416+
font-size: 0.7rem;
417+
padding: 0.1rem 0.3rem;
418+
border: 1px solid var(--md-default-fg-color--lightest);
419+
border-radius: 3px;
420+
background: var(--md-code-bg-color);
421+
}
422+
</style>

0 commit comments

Comments
 (0)