MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
body.page-Main_Page h1.firstHeading {
body.page-Main_Page h1.firstHeading {
     display: none;
     display: none;
}
.welcome-banner {
    width: 100%;
    overflow: hidden;
    border: 1px solid #a2a9b1;
    background-color: #f0f0f0;
}
.welcome-header {
    font-weight: bold;
    font-size: 115%;
}
.welcome-text {
    width: 70%;
    float: left;
    text-align: center;
    background-color: #f0f0f0;
}
.welcome-image {
    width: 30%;
    float: left;
    padding-top: 2%;
    padding-bottom: 2%;
    background-color: #f0f0f0;
}
@media screen and (max-width: 768px) {
    .welcome-text {
        width: 100%;
        float: none;
    }
   
    .welcome-image {
        width: 100%;
        float: none;
        padding-top: 0;
    }
}
}


Line 61: Line 21:
     float: left;
     float: left;
     background-color: #f0f0f0;
     background-color: #f0f0f0;
    text-align: center;
}
}


Line 69: Line 30:
     padding-bottom: 2%;
     padding-bottom: 2%;
     background-color: #f0f0f0;
     background-color: #f0f0f0;
    text-align: center;
}
}


Line 148: Line 110:
         text-align: center;    /* Ensure text stays centered in flex layout */
         text-align: center;    /* Ensure text stays centered in flex layout */
         padding: 10px;          /* Your eras-table padding */
         padding: 10px;          /* Your eras-table padding */
    }
}
.youtube-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    max-width: 960px; /* Optional: caps the size on large screens */
}
.youtube-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media only screen and (max-width: 768px) {
    .youtube-responsive {
        max-width: 560px; /* Smaller size for tablets */
    }
}
@media only screen and (max-width: 480px) {
    .youtube-responsive {
        max-width: 320px; /* Even smaller for phones */
     }
     }
}
}