"میڈیاویکی:Common.css" کے نسخوں کے درمیان فرق
نعت کائنات سے
Jump to navigationJump to search
کوئی خلاصۂ ترمیم نہیں |
کوئی خلاصۂ ترمیم نہیں |
||
| سطر 10: | سطر 10: | ||
/------------- sidebar sytiling ----------------------/ | /------------- sidebar sytiling ----------------------/ | ||
/* Sidebar headings */ | |||
#mw-panel .portal h3 { | #mw-panel .portal h3 { | ||
font-weight: bold; | font-weight: bold; | ||
color: #004080; /* deep blue headings */ | color: #004080; /* deep blue headings */ | ||
border-bottom: 1px solid #ddd; | |||
padding-bottom: 4px; | |||
} | } | ||
/* Sidebar links */ | |||
#mw-panel .body li a { | #mw-panel .body li a { | ||
padding: 6px; | display: block; | ||
padding: 6px 8px; | |||
border-radius: 4px; | border-radius: 4px; | ||
transition: background 0.2s; | transition: background 0.2s, color 0.2s; | ||
font-size: 14px; | |||
} | } | ||
/* Hover effect */ | |||
#mw-panel .body li a:hover { | #mw-panel .body li a:hover { | ||
background: #f0f8ff; /* light highlight */ | background: #f0f8ff; /* light highlight */ | ||
color: #00264d; /* darker text */ | |||
} | } | ||
/* Add subtle spacing between sections */ | |||
#mw-panel .portal { | |||
margin-bottom: 12px; | |||
} | |||
/---------------sidebar styling closed--------------/ | /---------------sidebar styling closed--------------/ | ||
نسخہ بمطابق 10:39، 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.
========================================================= */
/------------- sidebar sytiling ----------------------/
/* Sidebar headings */
#mw-panel .portal h3 {
font-weight: bold;
color: #004080; /* deep blue headings */
border-bottom: 1px solid #ddd;
padding-bottom: 4px;
}
/* Sidebar links */
#mw-panel .body li a {
display: block;
padding: 6px 8px;
border-radius: 4px;
transition: background 0.2s, color 0.2s;
font-size: 14px;
}
/* Hover effect */
#mw-panel .body li a:hover {
background: #f0f8ff; /* light highlight */
color: #00264d; /* darker text */
}
/* Add subtle spacing between sections */
#mw-panel .portal {
margin-bottom: 12px;
}
/---------------sidebar styling closed--------------/
/* ---------- Hide page title on Main Page (صفحۂ اول) ---------- */
/* MediaWiki auto-generates body class as "page-<URL-encoded-title>". */
body.page-صفحۂ_اول h1.firstHeading,
body.page-صفحۂ_اول #firstHeading,
body.page-صفحۂ_اول .mw-first-heading,
body.page-Main_Page h1.firstHeading,
body.page-Main_Page #firstHeading,
body.page-Main_Page .mw-first-heading {
display: none !important;
}
/* Also hide the "From <site>" subtitle / siteSub on the main page */
body.page-صفحۂ_اول #siteSub,
body.page-Main_Page #siteSub,
body.page-صفحۂ_اول #contentSub,
body.page-Main_Page #contentSub {
display: none !important;
}
/* CSS placed here will be applied to all skins */
@font-face {
font-family: 'Jameel Noori Nastaleeq';
src: url('path-to-font-file.ttf');
}
#mw-panel {
width: 22%; /* Adjust the percentage as needed */
}
body {
font-family: 'Jameel Noori Nastaleeq', sans-serif;
font-size: 20px !important; /* Font size properly applied */
}
h1, h2, h3, h4 {
color: green;
}
#ca-talk {
display: none !important;
}