Skip to content
Merged
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
38 changes: 38 additions & 0 deletions docs/docs/assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -2781,3 +2781,41 @@ a.ak-stat:hover {
.md-typeset details.knobs-callout > *:last-child {
padding-bottom: 1rem;
}

/* ---- Embedded video clips ----------------------------------------------
Used by help pages that end with a "Watch the Video" section.
16:9 box that shrinks with the column, so the player never overflows on a
phone. The caption carries a plain link, so the video stays reachable if
the iframe is blocked. */
.md-typeset .video-clip {
margin: 1.25rem 0 1.5rem;
max-width: 800px;
}
.md-typeset .video-clip__frame {
position: relative;
aspect-ratio: 16 / 9;
overflow: hidden;
border: 1px solid var(--md-default-fg-color--lightest);
border-radius: 4px;
background: #000;
}
/* Older browsers drop aspect-ratio. The padding keeps the 16:9 height there. */
@supports not (aspect-ratio: 16 / 9) {
.md-typeset .video-clip__frame { padding-top: 56.25%; }
}
.md-typeset .video-clip__frame iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
.md-typeset .video-clip figcaption {
margin-top: 0.5rem;
font-size: 0.8rem;
color: var(--md-default-fg-color--light);
}
@media print {
.md-typeset .video-clip__frame { display: none; }
}
Loading