|
|
| Line 1: |
Line 1: |
| /* ===== मायड़भासा विकी — Main Page styles ===== */ | | /* ===================================================================== |
| .mb-hero { | | मायड़ विकी — इन्फोबॉक्स (Wikipedia जैड़ो सादो रूप) |
| background: linear-gradient(135deg, #f6e7c8, #fbe3d0);
| | पुराणी रंगीन स्टाइल हटाय'र इण पूरै ब्लॉक नै MediaWiki:Common.css में चेपो |
| border: 1px solid #d9b88a;
| | ===================================================================== */ |
| border-radius: 10px;
| | table.rw-infobox { |
| padding: 20px 16px;
| | float: right; |
| text-align: center;
| | clear: right; |
| margin-bottom: 18px;
| | width: 22em; |
| | margin: 0.5em 0 0.5em 1em !important; |
| | padding: 0.2em !important; |
| | border: 1px solid #a2a9b1 !important; |
| | border-spacing: 3px; |
| | background: #f8f9fa !important; |
| | color: #202122 !important; |
| | font-size: 88% !important; |
| | line-height: 1.5em !important; |
| | box-shadow: none !important; |
| | border-radius: 0 !important; |
| } | | } |
| .mb-hero-title { font-size: 1.7em; font-weight: bold; color: #7a2e0e; line-height: 1.3; } | | table.rw-infobox th, |
| .mb-hero-sub { font-size: 1.05em; margin-top: 6px; color: #4a3a2a; } | | table.rw-infobox td { |
| .mb-hero-tag { font-size: 0.95em; margin-top: 4px; color: #8a5a2a; font-style: italic; }
| | background: transparent !important; |
| .mb-hero-stats { margin-top: 12px; font-size: 0.95em; color: #333; }
| | color: #202122 !important; |
| | | border: none !important; |
| .mb-section-head {
| | padding: 0.2em !important; |
| font-size: 1.15em; font-weight: bold; color: #7a2e0e;
| | vertical-align: top; |
| border-bottom: 2px solid #e0a96d; padding-bottom: 4px; margin: 0 0 10px;
| |
| } | | } |
| | | table.rw-infobox th { text-align: left; padding-right: 0.6em !important; white-space: nowrap; } |
| .mb-grid { | | table.rw-infobox th.rw-infobox-title { |
| display: grid;
| | font-size: 125%; |
| grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
| | font-weight: bold; |
| gap: 12px;
| | text-align: center; |
| margin-bottom: 18px;
| | line-height: 1.3em; |
| } | | } |
| .mb-card { | | table.rw-infobox th.rw-infobox-header { |
| background: #fffaf2; border: 1px solid #ead2ae; border-radius: 8px;
| | background: #eaecf0 !important; |
| padding: 12px 14px;
| | text-align: center; |
| } | | } |
| .mb-card:hover { border-color: #c97a3a; } | | table.rw-infobox a { color: #0645ad; } |
| .mb-card-title { font-size: 1.08em; font-weight: bold; } | | table.rw-infobox a.new { color: #d33; } |
| .mb-card-desc { font-size: 0.9em; color: #666; margin-top: 4px; } | |
|
| |
|
| .mb-two-col {
| | /* मोबाइल: पूरी चौड़ाई */ |
| display: grid;
| | @media screen and (max-width: 640px) { |
| grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
| | table.rw-infobox { float: none; width: 100% !important; margin: 0 0 1em 0 !important; } |
| gap: 14px;
| |
| }
| |
| .mb-box { | |
| border: 1px solid #ead2ae; border-radius: 8px; padding: 12px 14px; background: #fff;
| |
| } | | } |
| .mb-small { font-size: 0.88em; color: #666; margin-top: 8px; }
| |
|
| |
| /* Dark mode (Vector 2022 night mode) */
| |
| html.skin-theme-clientpref-night .mb-hero { background: #3a2a1e; border-color: #6b4a2a; }
| |
| html.skin-theme-clientpref-night .mb-hero-title,
| |
| html.skin-theme-clientpref-night .mb-section-head { color: #f0b37a; }
| |
| html.skin-theme-clientpref-night .mb-hero-sub,
| |
| html.skin-theme-clientpref-night .mb-hero-stats { color: #ddd; }
| |
| html.skin-theme-clientpref-night .mb-card,
| |
| html.skin-theme-clientpref-night .mb-box { background: #222; border-color: #5a4330; }
| |
| html.skin-theme-clientpref-night .mb-card-desc,
| |
| html.skin-theme-clientpref-night .mb-small { color: #aaa; }
| |
|
| |
|
| /* ===== Section boxes with sub-category links ===== */ | | /* डार्क मोड (Vector 2022) */ |
| .mb-hero-quick { margin-top: 12px; font-size: 0.92em; line-height: 1.9; } | | html.skin-theme-clientpref-night table.rw-infobox { background: #1b1d21 !important; border-color: #54595d !important; } |
| .mb-section .mb-links { margin-top: 8px; font-size: 0.9em; } | | html.skin-theme-clientpref-night table.rw-infobox th, |
| .mb-section .mb-links ul { margin: 0 0 0 1.1em; } | | html.skin-theme-clientpref-night table.rw-infobox td { color: #eaecf0 !important; } |
| .mb-section .mb-links li { margin-bottom: 3px; } | | html.skin-theme-clientpref-night table.rw-infobox th.rw-infobox-header { background: #27292d !important; } |
| .mb-two-col { margin-bottom: 18px; } | | html.skin-theme-clientpref-night table.rw-infobox a { color: #88a3e8; } |
| .mb-editors { margin-top: 4px; }
| |
| html.skin-theme-clientpref-night .mb-hero-quick { color: #ddd; } | |