mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-21 18:06:38 +00:00
Style Consistency Changes and Element Improvements (#541)
Co-authored-by: braginini <bangvalo@gmail.com>
This commit is contained in:
@@ -59,68 +59,6 @@
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.videowrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
overflow: hidden;
|
||||
margin-left: 10px;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.videowrapper {
|
||||
max-width: 40rem; /* matches prose max-width-2xl */
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.videowrapper {
|
||||
max-width: 50rem; /* matches prose max-width-3xl */
|
||||
}
|
||||
}
|
||||
|
||||
.videowrapper iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.videowrapperadjusted {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
overflow: hidden;
|
||||
margin-left: 10px;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.videowrapperadjusted {
|
||||
max-width: 40rem; /* matches prose max-width-2xl */
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.videowrapperadjusted {
|
||||
max-width: 50rem; /* matches prose max-width-3xl */
|
||||
}
|
||||
}
|
||||
|
||||
.videowrapperadjusted iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.spacer-sm {
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user