"میڈیاویکی:Common.css" کے نسخوں کے درمیان فرق

نعت کائنات سے
Jump to navigationJump to search
کوئی خلاصۂ ترمیم نہیں
کوئی خلاصۂ ترمیم نہیں
سطر 44: سطر 44:
/* ---------- Light typographic polish (does NOT touch skin layout) ---------- */
/* ---------- Light typographic polish (does NOT touch skin layout) ---------- */


/* Slightly larger, nicer Urdu type in sidebar/portlet links sitewide */
/* Sitewide Urdu Nastaliq font + comfortable reading size */
body,
.mw-body,
.mw-body-content,
#bodyContent,
#mw-content-text,
.mw-parser-output,
p, li, dd, dt, td, th, blockquote,
h1, h2, h3, h4, h5, h6,
.firstHeading, #firstHeading, .mw-first-heading {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Alvi Nastaleeq', 'Pak Nastaleeq', serif !important;
}
 
/* Body / paragraph reading size */
body,
.mw-body-content,
#mw-content-text,
.mw-parser-output,
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output dd,
.mw-parser-output td,
.mw-parser-output th {
    font-size: 20px !important;
    line-height: 2.1 !important;
}
 
/* Headings — slightly bigger, weight 600 for readability with Nastaliq */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6,
.firstHeading, #firstHeading, .mw-first-heading {
    font-weight: 600 !important;
    line-height: 1.7 !important;
}
.mw-parser-output h1, .firstHeading, #firstHeading, .mw-first-heading { font-size: 32px !important; }
.mw-parser-output h2 { font-size: 28px !important; }
.mw-parser-output h3 { font-size: 24px !important; }
.mw-parser-output h4 { font-size: 22px !important; }
 
/* TOC (table of contents) tidy */
.toc, #toc {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif !important;
    font-size: 18px !important;
    line-height: 1.9 !important;
}
 
/* Sidebar / portlet links sitewide */
.mw-portlet a,
.mw-portlet a,
.portlet a,
.portlet a,
سطر 51: سطر 101:
.sidebar a,
.sidebar a,
.mw-sidebar a {
.mw-sidebar a {
     font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Alvi Nastaleeq', sans-serif;
     font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Alvi Nastaleeq', sans-serif !important;
     font-size: 16px;
     font-size: 17px !important;
     line-height: 1.9;
     line-height: 1.9 !important;
}
}


/* Slightly stronger portlet section headings */
/* Sidebar section headings */
.mw-portlet-heading,
.mw-portlet-heading,
.portlet h3,
.portlet h3,
سطر 62: سطر 112:
.sidebar h2,
.sidebar h2,
.sidebar h3 {
.sidebar h3 {
     font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', sans-serif;
     font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', sans-serif !important;
     font-weight: 600;
     font-weight: 600 !important;
}
}



نسخہ بمطابق 13:38، 1 مئی 2026ء

/* =========================================================
   نعت کائنات — MediaWiki:Common.css
   Paste contents of this file into:
   https://naatkainaat.org/index.php/MediaWiki:Common.css
   After saving, do Ctrl+F5 on any page to clear CSS cache.
   ========================================================= */


/* ---------- Hide page title on Main Page (صفحۂ اول) ---------- */
/* Cover every body-class variant MediaWiki/Timeless may emit. */
body.page-صفحۂ_اول #firstHeading,
body.page-صفحۂ_اول .mw-first-heading,
body.page-صفحۂ_اول .mw-page-title-main,
body.page-Main_Page #firstHeading,
body.page-Main_Page .mw-first-heading,
body.page-Main_Page .mw-page-title-main,
body.rootpage-صفحۂ_اول #firstHeading,
body.rootpage-صفحۂ_اول .mw-first-heading,
body.rootpage-Main_Page #firstHeading,
body.rootpage-Main_Page .mw-first-heading,
body.mainpage #firstHeading,
body.mainpage .mw-first-heading,
body.mainpage .mw-page-title-main,
body[class*="page-صفحۂ"] #firstHeading,
body[class*="page-صفحۂ"] .mw-first-heading,
body[class*="rootpage-صفحۂ"] #firstHeading,
body[class*="rootpage-صفحۂ"] .mw-first-heading,
body[class*="page-%D8%B5%D9%81%D8%AD%DB%82"] #firstHeading,
body[class*="page-%D8%B5%D9%81%D8%AD%DB%82"] .mw-first-heading {
    display: none !important;
}

/* Hide the "From <site>" subtitle on the main page too */
body.page-صفحۂ_اول #siteSub,
body.page-Main_Page #siteSub,
body.mainpage #siteSub,
body.page-صفحۂ_اول #contentSub,
body.page-Main_Page #contentSub,
body.mainpage #contentSub {
    display: none !important;
}


/* ---------- Light typographic polish (does NOT touch skin layout) ---------- */

/* Sitewide Urdu Nastaliq font + comfortable reading size */
body,
.mw-body,
.mw-body-content,
#bodyContent,
#mw-content-text,
.mw-parser-output,
p, li, dd, dt, td, th, blockquote,
h1, h2, h3, h4, h5, h6,
.firstHeading, #firstHeading, .mw-first-heading {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Alvi Nastaleeq', 'Pak Nastaleeq', serif !important;
}

/* Body / paragraph reading size */
body,
.mw-body-content,
#mw-content-text,
.mw-parser-output,
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output dd,
.mw-parser-output td,
.mw-parser-output th {
    font-size: 20px !important;
    line-height: 2.1 !important;
}

/* Headings — slightly bigger, weight 600 for readability with Nastaliq */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6,
.firstHeading, #firstHeading, .mw-first-heading {
    font-weight: 600 !important;
    line-height: 1.7 !important;
}
.mw-parser-output h1, .firstHeading, #firstHeading, .mw-first-heading { font-size: 32px !important; }
.mw-parser-output h2 { font-size: 28px !important; }
.mw-parser-output h3 { font-size: 24px !important; }
.mw-parser-output h4 { font-size: 22px !important; }

/* TOC (table of contents) tidy */
.toc, #toc {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif !important;
    font-size: 18px !important;
    line-height: 1.9 !important;
}

/* Sidebar / portlet links sitewide */
.mw-portlet a,
.portlet a,
#mw-panel a,
#column-one a,
.sidebar a,
.mw-sidebar a {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Alvi Nastaleeq', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.9 !important;
}

/* Sidebar section headings */
.mw-portlet-heading,
.portlet h3,
.portlet h5,
.sidebar h2,
.sidebar h3 {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', sans-serif !important;
    font-weight: 600 !important;
}

/* Soft warm page background like Wikipedia */
body {
    background: #f6f6f6;
}