Difference between revisions of "MediaWiki:Common.css"

From Aligera Docs
Jump to navigation Jump to search
Line 37: Line 37:
 
#t-recentchangeslinked { display: none !important; }
 
#t-recentchangeslinked { display: none !important; }
 
/* #t-specialpages { display: none !important; } */
 
/* #t-specialpages { display: none !important; } */
 +
 +
/* Ocultar links do histórico e páginas especiais para não logados */
 +
body:not(.logged-in) a[href*="Special:"],
 +
body:not(.logged-in) a[href*="action=history"] {
 +
  display: none !important;
 +
}
 +
 +
/* Ocultar aba "Alterações recentes" para não logados */
 +
body:not(.logged-in) li#n-recentchanges {
 +
  display: none !important;
 +
}
 +
 +
/* Ocultar aba "Páginas especiais" para não logados */
 +
body:not(.logged-in) li#n-specialpages {
 +
  display: none !important;
 +
}

Revision as of 13:04, 14 February 2025

/* Default color background*/
body {
  background: #ffffff;
}

/* Head Color backgound*/
#mw-page-base {
  background: #005aaa;
  /* background: #7690c; */
}

/* Personal links (top right)*/
#p-personal a:link { 
  color: #ffffff;
}

#footer-icons {
	display: none;
}

/* Remove TABS*/
#ca-talk { display: none !important; }
#ca-view { display: none !important; }	

/*
#ca-history { display: none !important;}
*/

#ca-watch { display: none !important; }	
#ca-unwatch { display: none !important; }	
#ca-viewsource { display: none !important; }
#n-help-mediawiki { display: none !important; }

#n-randompage { display: none !important; }

#t-whatlinkshere { display: none !important; }
#t-recentchangeslinked { display: none !important; }
/* #t-specialpages { display: none !important; } */

/* Ocultar links do histórico e páginas especiais para não logados */
body:not(.logged-in) a[href*="Special:"],
body:not(.logged-in) a[href*="action=history"] {
  display: none !important;
}

/* Ocultar aba "Alterações recentes" para não logados */
body:not(.logged-in) li#n-recentchanges {
  display: none !important;
}

/* Ocultar aba "Páginas especiais" para não logados */
body:not(.logged-in) li#n-specialpages {
  display: none !important;
}