MediaWiki:Common.css: Difference between revisions

From Linux Wiki
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: .col2-responsive td { width: 50%; } @media screen and (max-width: 720px) { .col2-responsive td { display: block; width: 100% !important; padding-right: 0 !important; } }")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
     width: 50%;
     width: 50%;
}
}
//.embedvideo {
//    width: 100%;
//    margin: 0 auto; /* centrează pe desktop */
//}
.embedvideo iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;


@media screen and (max-width: 720px) {
@media screen and (max-width: 720px) {
     .col2-responsive td {
     .col2-responsive td {
         display: block;
         display: block !important;
         width: 100% !important;
         width: 100% !important;
         padding-right: 0 !important;
         padding-right: 0 !important;
        box-sizing: border-box !important;
     }
     }
//.embedvideo iframe {
//    width: 100% !important;
//    height: auto !important;
//    aspect-ratio: 16 / 9;
//}
}
}

Latest revision as of 00:18, 5 May 2026

/* CSS placed here will be applied to all skins */

.col2-responsive td {
    width: 50%;
}

//.embedvideo {
//    width: 100%;
//    margin: 0 auto; /* centrează pe desktop */
//}

.embedvideo iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;

@media screen and (max-width: 720px) {
    .col2-responsive td {
        display: block !important;
        width: 100% !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

//.embedvideo iframe {
//    width: 100% !important;
//    height: auto !important;
//    aspect-ratio: 16 / 9;
//}

}