Jump to content

MediaWiki:Common.css: Difference between revisions

From Blunt Wiki Rajasthani
राजस्थानी भासा विकी रो सरूआती ढांचो
No edit summary
 
(5 intermediate revisions by 2 users not shown)
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) */
/* डार्क मोड (Vector 2022) */
html.skin-theme-clientpref-night .mb-hero { background: #3a2a1e; border-color: #6b4a2a; }
html.skin-theme-clientpref-night table.rw-infobox { background: #1b1d21 !important; border-color: #54595d !important; }
html.skin-theme-clientpref-night .mb-hero-title,
html.skin-theme-clientpref-night table.rw-infobox th,
html.skin-theme-clientpref-night .mb-section-head { color: #f0b37a; }
html.skin-theme-clientpref-night table.rw-infobox td { color: #eaecf0 !important; }
html.skin-theme-clientpref-night .mb-hero-sub,
html.skin-theme-clientpref-night table.rw-infobox th.rw-infobox-header { background: #27292d !important; }
html.skin-theme-clientpref-night .mb-hero-stats { color: #ddd; }
html.skin-theme-clientpref-night table.rw-infobox a { color: #88a3e8; }
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; }


/* ===== संदर्भ (Cite web / news / book / podcast) ===== */
cite.rw-cite { font-style: normal; word-wrap: break-word; }
cite.rw-cite q { quotes: '"' '"'; }

Latest revision as of 14:47, 28 October 2026

/* =====================================================================
   मायड़ विकी — इन्फोबॉक्स (Wikipedia जैड़ो सादो रूप)
   पुराणी रंगीन स्टाइल हटाय'र इण पूरै ब्लॉक नै MediaWiki:Common.css में चेपो
   ===================================================================== */
table.rw-infobox {
	float: right;
	clear: right;
	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;
}
table.rw-infobox th,
table.rw-infobox td {
	background: transparent !important;
	color: #202122 !important;
	border: none !important;
	padding: 0.2em !important;
	vertical-align: top;
}
table.rw-infobox th { text-align: left; padding-right: 0.6em !important; white-space: nowrap; }
table.rw-infobox th.rw-infobox-title {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
	line-height: 1.3em;
}
table.rw-infobox th.rw-infobox-header {
	background: #eaecf0 !important;
	text-align: center;
}
table.rw-infobox a { color: #0645ad; }
table.rw-infobox a.new { color: #d33; }

/* मोबाइल: पूरी चौड़ाई */
@media screen and (max-width: 640px) {
	table.rw-infobox { float: none; width: 100% !important; margin: 0 0 1em 0 !important; }
}

/* डार्क मोड (Vector 2022) */
html.skin-theme-clientpref-night table.rw-infobox { background: #1b1d21 !important; border-color: #54595d !important; }
html.skin-theme-clientpref-night table.rw-infobox th,
html.skin-theme-clientpref-night table.rw-infobox td { color: #eaecf0 !important; }
html.skin-theme-clientpref-night table.rw-infobox th.rw-infobox-header { background: #27292d !important; }
html.skin-theme-clientpref-night table.rw-infobox a { color: #88a3e8; }

/* ===== संदर्भ (Cite web / news / book / podcast) ===== */
cite.rw-cite { font-style: normal; word-wrap: break-word; }
cite.rw-cite q { quotes: '"' '"'; }