"साँचा:Main Page/styles.css": अवतरणों में अंतर

Adarshatva (वार्ता | योगदान)
"→MediaWiki:MobileMainPage.css - currently not running: body.skin-minerva #content { background-color: #fff; background-image: linear-gradient(to top, #ffffff, #eaecf0); } →Minerva styles: body.skin-minerva tr, body.skin-minerva td, body.skin-minerva tbody, body.skin-minerva table { display: block !important; width: 100% !important; box-sizing: border-box; } body.skin-minerva h3 { display: block !important; }..." के साथ नया पृष्ठ बनाया
टैग: मोबाइल संपादन मोबाइल वेब संपादन
 
मुखपृष्ठ: मुख्य बटन के अक्षरों का रंग पक्का किया
टैग: मोबाइल संपादन मोबाइल वेब संपादन उन्नत मोबाइल संपादन
 
(२ सदस्यों द्वारा किए गए ४ मध्यवर्ती अवतरण नहीं दिखाए गए हैं)
पंक्ति १: पंक्ति १:
/* MediaWiki:MobileMainPage.css - currently not running */
/* मुखपृष्ठ की शैलियाँ */
body.skin-minerva #content {
#mp-banner,
  background-color: #fff;
#mp-upper,
  background-image: linear-gradient(to top, #ffffff, #eaecf0);
#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;
}
}
}


/* Minerva styles */
/* आधुनिक मुखपृष्ठ रूप (2026) */
body.skin-minerva tr,
.bp-hero {
body.skin-minerva td,
    background: linear-gradient(180deg, #eef3fa 0%, #ffffff 90%);
body.skin-minerva tbody,
    border: 1px solid #dbe1ea;
body.skin-minerva table {
    border-radius: 20px;
 
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
  display: block !important;
    color: #1d2939;
  width: 100% !important;
    padding: 36px 24px 30px;
  box-sizing: border-box;
    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 !important;
    text-decoration: none;
}
.bp-btn:hover {
    background: #2b56ab;
}
.bp-btn-alt {
    background: #ffffff;
}
.bp-btn-alt a {
    color: #3366cc !important;
}
.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%;
}
}
}
 
/* गहरा रूप */
body.skin-minerva h3 {
.bp-dark .bp-hero {
  display: block !important;
    background: linear-gradient(180deg, #131b28 0%, #182130 90%);
    border-color: #2e405c;
    color: #e6ebf2;
}
}
 
.bp-dark .bp-hero h1 {
body.skin-minerva #mp-upper tr td:last-child,
    color: #f2f6fc;
body.skin-minerva tr td:first-child {
  background: none !important;
  border: none !important;
}
}
 
.bp-dark .bp-hero p {
body.skin-minerva .welcomeHolder {
    color: #9fb0c3;
  display: block !important;
  margin-bottom: 44px;
}
}
 
.bp-dark .bp-chip {
body.skin-minerva .content-box-primary,
    background: #1b2637;
body.skin-minerva .content-box-secondary table {
    border-color: #2e405c;
  margin: 0 !important;
    color: #e6ebf2;
}
}
 
.bp-dark .bp-btn-alt {
body.skin-minerva .content-box-primary {
    background: #1b2637;
  border: solid 1px #3366cc !important;
  border-radius: 2px;
}
}
 
.bp-dark .bp-portal {
body.skin-minerva .content-box-primary table {
    background: #1b2637;
  margin: 0 !important;
    border-color: #2e405c;
}
}
 
.bp-dark .bp-portal a {
body.skin-minerva .content-box-primary td {
    color: #e6ebf2;
  background: #eaf3ff !important;
  padding: 15px !important;
}
}
 
.bp-dark .bp-card,
body.skin-minerva .content-box-primary th {
.bp-dark .bp-section {
  background: #36c !important;
    background: #182130;
  color: #fff !important;
    border-color: #2e405c;
  text-align: left !important;
  border: none !important;
  padding: 0 20px !important;
}
}
 
.bp-dark .bp-card-head {
/* in the news styling */
    background: #1b2637;
body.skin-minerva .content-box-secondary table {
    border-bottom-color: #2e405c;
  border-radius: 2px;
    color: #f2f6fc;
  margin: 0 !important;
  border: solid 1px #00af89 !important;
}
}
body.skin-minerva .content-box-secondary th {
.bp-dark .bp-card-head a {
  background: #00af89 !important;
    color: #f2f6fc;
  color: #fff !important;
  text-align: left !important;
  border: none !important;
  padding: 0 20px !important;
}
}
 
.bp-dark .bp-section-head {
body.skin-minerva #mp-lower,
    color: #f2f6fc;
body.skin-minerva #mp-bottom,
body.skin-minerva #mp-banner {
  display: none !important;
}
}