MediaWiki:Common.css: Difference between revisions

From Indpedia
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 6: Line 6:




/* Ensure the body takes the full height of the viewport */
/* Ensure the footer has proper padding and styling */
html, body {
#footer {
     height: 100%;
     position: relative;
     margin: 0;
    padding: 15px 0;
     background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.1);
}
}


/* Style the footer */
#custom-footer {
#custom-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding: 15px 0;
    text-align: center;
     font-size: 0.9em;
     font-size: 0.9em;
     color: #333;
     color: #333;
     position: relative;
     text-align: center;
     bottom: 0;
     margin-bottom: 10px; /* Ensure space between footer text and links */
    width: 100%;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.1);
}
}


/* Ensure the footer stays at the bottom if the content is short */
/* Style links in the footer */
.mw-body {
#footer .noprint {
     margin-bottom: 60px; /* Adjust this based on footer height */
     font-size: 0.8em;
}
}


/* For responsive design on mobile */
/* Responsive design */
@media (max-width: 600px) {
@media (max-width: 600px) {
     #custom-footer {
     #custom-footer {

Revision as of 09:59, 11 August 2024

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

#ca-viewsource {
    display: none;
}


/* Ensure the footer has proper padding and styling */
#footer {
    position: relative;
    padding: 15px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.1);
}

#custom-footer {
    font-size: 0.9em;
    color: #333;
    text-align: center;
    margin-bottom: 10px; /* Ensure space between footer text and links */
}

/* Style links in the footer */
#footer .noprint {
    font-size: 0.8em;
}

/* Responsive design */
@media (max-width: 600px) {
    #custom-footer {
        font-size: 0.8em;
        padding: 10px 0;
    }
}