सामग्री पर जाएँ

साँचा:Main Page/styles.css

भारतपीडिया से
Bharatwiki Socrates (वार्ता | योगदान) द्वारा परिवर्तित १२:४९, १५ नवम्बर २०२६ का अवतरण (मुखपृष्ठ का आधुनिक रूप: हल्के रंग, सफेद कार्ड, गहरे रूप का समर्थन)
/* मुखपृष्ठ की शैलियाँ */
#mp-banner,
#mp-upper,
#mp-bottom {
    box-sizing: border-box;
}
.wikilogo {
    float: left;
}
h3.mp {
    margin: 0;
    padding: 0.2em 0.5em;
}
.welcomeHolder {
    display: none;
    box-sizing: border-box;
    margin-top: 10px;
}
.brandHolder {
    box-sizing: border-box;
}
@media screen and (max-width: 720px) {
.welcomeHolder {
        display: block;
}
}

/* आधुनिक मुखपृष्ठ रूप (2026) */
.bp-hero {
    background: linear-gradient(180deg, #eef3fa 0%, #ffffff 90%);
    border: 1px solid #dbe1ea;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
    color: #1d2939;
    padding: 36px 24px 30px;
    text-align: center;
    margin-bottom: 16px;
}
.bp-hero h1 {
    color: #10243e;
    border: none;
    margin: 0 0 6px;
    font-size: 225%;
    font-weight: 700;
}
.bp-hero p {
    color: #475467;
    margin: 4px 0;
    font-size: 108%;
}
.bp-stats {
    margin: 16px 0 4px;
}
.bp-chip {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #cfd9e6;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    padding: 5px 15px;
    margin: 3px;
    font-weight: bold;
    color: #1d2939;
}
.bp-chip a {
    color: #3366cc;
}
.bp-actions {
    margin-top: 14px;
}
.bp-btn {
    display: inline-block;
    background: #3366cc;
    border: 1px solid #3366cc;
    border-radius: 999px;
    padding: 8px 20px;
    margin: 3px;
    font-weight: bold;
}
.bp-btn a {
    color: #ffffff;
    text-decoration: none;
}
.bp-btn:hover {
    background: #2b56ab;
}
.bp-btn-alt {
    background: #ffffff;
}
.bp-btn-alt a {
    color: #3366cc;
}
.bp-btn-alt:hover {
    background: #eef3fa;
}
.bp-portal-nav {
    text-align: center;
    margin: 10px 0 16px;
    color: #475467;
}
.bp-portal {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #dbe1ea;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    padding: 7px 15px;
    margin: 3px;
    font-weight: bold;
}
.bp-portal a {
    color: #1d2939;
    text-decoration: none;
}
.bp-portal:hover {
    border-color: #3366cc;
}
.bp-portal:hover a {
    color: #3366cc;
}
.bp-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.bp-card {
    flex: 1 1 300px;
    border: 1px solid #dbe1ea;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
    overflow: hidden;
}
.bp-card-head {
    background: #eef2f7;
    border-bottom: 1px solid #dbe1ea;
    color: #10243e;
    font-weight: bold;
    padding: 10px 16px;
    font-size: 115%;
}
.bp-card-head a {
    color: #10243e;
}
.bp-card-body {
    padding: 12px 16px;
}
.bp-section {
    border: 1px solid #dbe1ea;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
    padding: 0 16px 12px;
    margin-bottom: 14px;
}
.bp-section-head {
    font-size: 125%;
    font-weight: bold;
    color: #10243e;
    border-bottom: 2px solid #3366cc;
    padding: 10px 0 5px;
    margin-bottom: 10px;
}
@media screen and (max-width: 720px) {
.bp-hero {
    padding: 24px 14px 20px;
}
.bp-hero h1 {
    font-size: 170%;
}
}
/* गहरा रूप */
.bp-dark .bp-hero {
    background: linear-gradient(180deg, #131b28 0%, #182130 90%);
    border-color: #2e405c;
    color: #e6ebf2;
}
.bp-dark .bp-hero h1 {
    color: #f2f6fc;
}
.bp-dark .bp-hero p {
    color: #9fb0c3;
}
.bp-dark .bp-chip {
    background: #1b2637;
    border-color: #2e405c;
    color: #e6ebf2;
}
.bp-dark .bp-btn-alt {
    background: #1b2637;
}
.bp-dark .bp-portal {
    background: #1b2637;
    border-color: #2e405c;
}
.bp-dark .bp-portal a {
    color: #e6ebf2;
}
.bp-dark .bp-card,
.bp-dark .bp-section {
    background: #182130;
    border-color: #2e405c;
}
.bp-dark .bp-card-head {
    background: #1b2637;
    border-bottom-color: #2e405c;
    color: #f2f6fc;
}
.bp-dark .bp-card-head a {
    color: #f2f6fc;
}
.bp-dark .bp-section-head {
    color: #f2f6fc;
}