add embedded content styles to docs and handbook (#7261)

This commit is contained in:
Eric 2022-08-16 17:51:41 -05:00 committed by GitHub
parent e299cc41f1
commit ef6c388852
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -630,6 +630,19 @@
[purpose='checklist-item']::marker {
display: none;
}
[purpose='embedded-content'] {
position: relative;
margin-bottom: 40px;
width: 100%;
padding-bottom: 57%;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
}

View file

@ -333,6 +333,19 @@
content: url('/images/icon-link-16x16@2x.png');
}
}
[purpose='embedded-content'] {
position: relative;
margin-bottom: 40px;
width: 100%;
padding-bottom: 57%;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
}
[purpose='handbook-landing-page'] {