Template:Main page/styles2.css

From WikiAnimal
Revision as of 21:18, 4 April 2024 by Jess (talk | contribs)
/* Hide talk page link for CA namespace */
.ca-talk { 
    display: none !important; 
}

/* Common styling for all main page boxes */
.mp-box {
    border: 1px solid #aaa;
    padding: 0.5em;
    margin-top: 4px;
    background: #f9f9f9; /* Set a common background color */
}

/* Styling for main headings */
.mp-h2 {
    border: 1px solid #aaa;
    margin: 0.5em 0;
    padding: 0.2em 0.4em;
    font-size: 120%;
    font-weight: bold;
    font-family: inherit;
    background: #cef2e0; /* Set a background color */
}

/* Styling for subheadings */
.mp-later {
    font-size: 85%;
    font-weight: normal;
}

/* Welcome section */
#mp-welcomecount {
    text-align: center;
    margin: 0.4em;
}

#mp-welcome {
    font-size: 162%;
    padding: 0.1em;
}

#mp-welcome h1 {
    font-size: inherit;
    font-family: inherit;
    display: inline;
    border: none;
}

/* Clear fix */
.mp-contains-float::after {
    content: "";
    display: block;
    clear: both;
}

/* Responsive adjustments */
@media (max-width: 875px) {
    /* Specific adjustments for smaller screens if needed */
}