dailies: add a max-width of 100% to media
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -213,6 +213,25 @@ pre {
|
||||
max-width: 40%;
|
||||
}
|
||||
|
||||
img, video {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.iframe-parent {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
height: 0;
|
||||
padding-bottom: 56.25%
|
||||
}
|
||||
|
||||
.iframe-parent iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 319px) {
|
||||
body {
|
||||
width: 90%;
|
||||
|
Reference in New Issue
Block a user