MediaWiki:Common.css: Difference between revisions

From D4RPoMM
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Hide entire toolbox in Vector skin */
/* ========================================================================
.monobook-sidebar #p-tb {
  In the left sidebar (#mw-panel): hide all its contents...
   display: none;
  ======================================================================== */
#mw-panel {
  display: block !important;
}
#mw-panel > * {
   display: none !important;
}
}


/* .vector-sidebar #t-whatlinkshere,  {
/* Now, explicitly display the logo and the mainpage link */
/*   display: none;
#p-logo,
/* }
#n-mainpage {
/* .vector-sidebar #t-recentchangeslinked,  {
   display: block !important;
/*   display: none;
}
/* }
 
/* .vector-sidebar #t-specialpages,  {
/* ========================================================================
/*   display: none;
  In the personal tools (#p-personal): hide everything except the login link
/* }
  ======================================================================== */
/*.vector-sidebar #t-print,
#p-personal {
/* .vector-sidebar #t-permalink,
   display: block !important;
/* .vector-sidebar #t-info,
}
/*.vector-sidebar #t-cite,
#p-personal > * {
/* .vector-sidebar #t-smwbrowse {
   display: none !important;
/*  display: none;
}
/*}
#pt-login {
/*body.mw-user-logged-out #p-navigation {
  display: inline-block !important;
/*  display: none;
}
/*}
 
/* Hide the Tools sidebar for logged-out users */
/* ========================================================================
body.loggedout #p-tb {
  In the toolbox (#p-tb): hide everything except the print command
    display: none;
  ======================================================================== */
#p-tb {
  display: block !important;
}
#p-tb > * {
  display: none !important;
}
#t-print {
  display: inline-block !important;
}
}

Revision as of 15:17, 11 April 2025

/* CSS placed here will be applied to all skins */
/* ========================================================================
   In the left sidebar (#mw-panel): hide all its contents...
   ======================================================================== */
#mw-panel {
  display: block !important;
}
#mw-panel > * {
  display: none !important;
}

/* Now, explicitly display the logo and the mainpage link */
#p-logo,
#n-mainpage {
  display: block !important;
}

/* ========================================================================
   In the personal tools (#p-personal): hide everything except the login link
   ======================================================================== */
#p-personal {
  display: block !important;
}
#p-personal > * {
  display: none !important;
}
#pt-login {
  display: inline-block !important;
}

/* ========================================================================
   In the toolbox (#p-tb): hide everything except the print command
   ======================================================================== */
#p-tb {
  display: block !important;
}
#p-tb > * {
  display: none !important;
}
#t-print {
  display: inline-block !important;
}