Christianpedia

MediaWiki: Common.css

No edit summary
No edit summary
Line 14: Line 14:
}
}
}
}
@media screen and (max-width: 767px) {
body.page-Welcome .overlay-enabled,
body.page-Welcome .overlay-enabled,
body.page-Welcome .mw-body {
body.page-Welcome .mw-body {
Line 21: Line 22:
     background-size: 100% auto;
     background-size: 100% auto;
}
}
.hit {
.hit {
     position: relative; /* Ensure the div has a positioning context */
     position: relative; /* Ensure the div has a positioning context */
     z-index: 1; /* Ensure the div is above the background */
     z-index: 1; /* Ensure the div is above the background */
}
}
}
@media screen and (max-width: 767px) {
@media screen and (max-width: 767px) {

Revision as of 06:23, 29 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: auto 94vh; /* Ensure full coverage on mobile devices */
    }
.mainpage {
    max-width: 95%;
}
}
@media screen and (max-width: 767px) {
body.page-Welcome .overlay-enabled,
body.page-Welcome .mw-body {
    background-color: #ffffff;
    background-image: url(https://christianpedia.site/images/3/37/Main_page_background.jpg);
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.hit {
    position: relative; /* Ensure the div has a positioning context */
    z-index: 1; /* Ensure the div is above the background */
}
}
@media screen and (max-width: 767px) {
body.page-Welcome .overlay-enabled,
body.page-Welcome .mw-body {
        background-size: auto 94vh; /* Ensure full coverage on mobile devices */
    }
}
Discuss this page