Christianpedia

MediaWiki: Common.css

No edit summary
No edit summary
Line 7: Line 7:
/* Media query for mobile devices */
/* Media query for mobile devices */
@media screen and (max-width: 767px) {
@media screen and (max-width: 767px) {
     .page-Main_Page {
     .page-Welcome {
         background-size: cover; /* Ensure full coverage on mobile devices */
         background-size: cover; /* Ensure full coverage on mobile devices */
     }
     }
}
}

Revision as of 11:53, 28 March 2024

/* CSS placed here will affect users of the Tweeki skin */
.page-Welcome {
    background-image: url(https://christianpedia.site/images/3/37/Main_page_background.jpg);
    background-repeat: no-repeat;
    background-size: 100% auto;
}
/* Media query for mobile devices */
@media screen and (max-width: 767px) {
    .page-Welcome {
        background-size: cover; /* Ensure full coverage on mobile devices */
    }
}
Discuss this page