Template:Main page/styles2.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
.ca-talk { display:none!important; } | /* Hide talk page link for CA namespace */ | ||
/* | .ca-talk { | ||
display: none !important; | |||
} | |||
/* Common styling for all main page boxes */ | |||
.mp-box { | .mp-box { | ||
border: 1px solid # | border: 1px solid #aaa; | ||
padding: | padding: 0.5em; | ||
margin-top: 4px; | margin-top: 4px; | ||
background: #f9f9f9; /* Set a common background color */ | |||
} | } | ||
/* Styling for main headings */ | |||
.mp-h2 { | |||
border: 1px solid # | border: 1px solid #aaa; | ||
margin: 0.5em 0; | margin: 0.5em 0; | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
Line 15: | Line 20: | ||
font-weight: bold; | font-weight: bold; | ||
font-family: inherit; | font-family: inherit; | ||
background: #cef2e0; /* Set a background color */ | |||
} | } | ||
/* Styling for subheadings */ | |||
.mp-later { | .mp-later { | ||
font-size: 85%; | font-size: 85%; | ||
Line 22: | Line 29: | ||
} | } | ||
/* Welcome section */ | |||
#mp-welcomecount { | #mp-welcomecount { | ||
text-align: center; | text-align: center; | ||
Line 44: | Line 47: | ||
} | } | ||
/* Clear fix */ | |||
/* | |||
.mp-contains-float::after { | .mp-contains-float::after { | ||
content: ""; | content: ""; | ||
Line 59: | Line 54: | ||
} | } | ||
/* Responsive adjustments */ | |||
@media (max-width: 875px) { | @media (max-width: 875px) { | ||
/* | /* Specific adjustments for smaller screens if needed */ | ||
} | } |
Revision as of 21:18, 4 April 2024
/* 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 */
}