MediaWiki:Common.css: Difference between revisions

From WikiProducers
Jump to navigation Jump to search
mNo edit summary
m google fonts
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Playfair+Display:wght@600&display=swap');
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Hide page title display */
/* Hide page title display */
Line 10: Line 13:
// <weight>: Use a value from 200 to 900
// <weight>: Use a value from 200 to 900
// <uniquifier>: Use a unique and descriptive class name
// <uniquifier>: Use a unique and descriptive class name
/* Hide Wiki tools section for non-logged-in and non-admin users */
.mw-portlet-Wiki_tools,
.mw-portlet-Page_tools,
.mw-portlet-User_page_tools {
  display: none !important;
}
/* Show for admins only */
body.user-group-sysop .mw-portlet-Wiki_tools,
body.user-group-sysop .mw-portlet-Page_tools,
body.user-group-sysop .mw-portlet-User_page_tools {
  display: block !important;
}

Latest revision as of 05:17, 4 November 2025

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Playfair+Display:wght@600&display=swap');

/* CSS placed here will be applied to all skins */
/* Hide page title display */
#firstHeading {
    display: none;
}
/* infobox agent
.badge { display:inline-block; padding:.15em .5em; border-radius:999px; background:#f2f2f2; font-size:.85em; }
.infobox { border:1px solid #ddd; background:#fff; }

// <weight>: Use a value from 200 to 900
// <uniquifier>: Use a unique and descriptive class name

/* Hide Wiki tools section for non-logged-in and non-admin users */
.mw-portlet-Wiki_tools, 
.mw-portlet-Page_tools,
.mw-portlet-User_page_tools {
  display: none !important;
}

/* Show for admins only */
body.user-group-sysop .mw-portlet-Wiki_tools,
body.user-group-sysop .mw-portlet-Page_tools,
body.user-group-sysop .mw-portlet-User_page_tools {
  display: block !important;
}