Jump to content
Wikimedia Meta-Wiki

User:He7d3r/global.css

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
 /* [[File:User:He7d3r/global.css]] (workaround for [[phab:T35355]]) */
 /* Omite alguns elementos da interface */
 /* html:not(.mw) #centralNotice, Fundraising Notice */
 html:not(.mw)#n-sitesupport,/* Donation link on sidebar */
 html:not(.mw)#n-variablepage,/* idem */
 html:not(.mw)#n-help,
 html:not(.mw)#n-shoplink,
 html:not(.mw)#t-recentchangeslinked,
 html:not(.mw)#n-welcome,
 html:not(.mw)#n-createpage,
 html:not(.mw)#n-newpages-description,
 html:not(.mw)#n-contact-description,
 html:not(.mw)#siteSub,
 html:not(.mw)#editpage-copywarn,
 html:not(.mw)#newarticletext,
 html:not(.mw)#cpwarn,
 html:not(.mw)#sandbox_warning,
 html:not(.mw).mw-tos-summary,
 html:not(.mw)#mw-clearyourcache,
 html:not(.mw)[id*="footer-"],
 html:not(.mw)[id*="editnotice-"],
 html:not(.mw).mw-editTools,
 html:not(.mw)#pt-mytalk,
 html:not(.mw)#pt-logout,
 html:not(.mw)#mw-watchlist-resetbutton,
 html:not(.mw)#watchlist-message+p,
 html:not(.mw).mw-history-legend,
 /* meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js */
 /* [[File:Krinkle RTRCdev.js]] */
 html:not(.mw).page-Usuário_a_Krinkle_RTRC#kr-panel-toggle{
 display:none!important;
 }

 /* To color the mention "updated since my last visit" in the history */
 html:not(.mw)span.updatedmarker{
 color:black;
 background:#BDFFBD;
 }

 /* Formata as ligações conforme a página de destino */
 html:not(.mw)#bodyContenta.extiw[href*=".wikipedia.org/w"]{
 color:green;
 }
 html:not(.mw)#bodyContenta[href$=".css"],
 html:not(.mw)#bodyContenta[href$=".js"]{
 border-bottom:#3331pxdotted;
 }
 html:not(.mw)#bodyContenta[href$=".css"]{
 background:#FFEFDE;
 }
 html:not(.mw)#bodyContenta[href$=".js"]{
 background:#EDF7EE;
 }
 html:not(.mw)#bodyContenta.extiw[href*=".wiktionary.org/w"]{
 border-bottom:1pxdotted#999;
 color:#000;
 }

 /* Formata os avisos */
 html:not(.mw).errorbox,.successbox{
 margin-bottom:0.5em;
 padding:0.1em0.5em;
 }
 html:not(.mw).usermessage{
 background:#e0e8ff;
 border:1pxsolid#99b3ff;
 }

 /* Altera a aparência das ligações que são redirecionamentos (nas categorias e na [[Especial:Allpages]]) */
 html:not(.mw).allpagesredirecta,.redirectsa,.pagesredirecta,.redirect-in-category,.allpagesredirect{
 font-style:italic;
 color:green;
 }

 /* Correção para que as tags <syntaxhighlight> e as páginas de .css e .js fiquem com o tamanho normal
  [[Bugzilla:26204]]. */
 html:not(.mw)div.mw-geshidiv,
 html:not(.mw)div.mw-geshidivpre,
 html:not(.mw)span.mw-geshi,
 html:not(.mw)pre.source-css,
 html:not(.mw)pre.source-javascript{
 font-family:monospace,"Courier New"!important;
 }

 /* Restaura a aparência usual da combinação de "font" com "a" nas páginas de discussão (geralmente são assinaturas) */
 html:not(.mw).ns-talk.action-view#mw-content-texta>font,
 html:not(.mw).ns-talk.action-view#mw-content-textfont>a{
 color:#0645AD!important;
 background:#fff!important;
 font-family:sans-serif!important;
 font-size:1em!important;
 }
 html:not(.mw).ns-talk.action-view#mw-content-texta:visited>font,
 html:not(.mw).ns-talk.action-view#mw-content-textfont>a:visited{
 color:#0B0080!important;
 background:#fff!important;
 font-family:sans-serif!important;
 font-size:1em!important;
 }

 html:not(.mw).mw-special-Watchlist.mw-title[href^="/wiki/Wikipedia:Village_pump"],
 html:not(.mw).mw-special-Watchlist.mw-title[href^="//en.wikipedia.org/wiki/Wikipedia%3AVillage%20pump"]{
 text-decoration:underline;
 }

 /* Exibe links para as âncoras dos títulos de seção apenas ao passar o mouse sobre o título */
 /* [[w:fr:MediaWiki:Gadget-AncreTitres.js]] */
 h1:hover>span.noprint,
 h2:hover>span.noprint,
 h3:hover>span.noprint,
 h4:hover>span.noprint,
 h5:hover>span.noprint,
 h6:hover>span.noprint{
 visibility:visible;
 }

 h1>span.noprint,
 h2>span.noprint,
 h3>span.noprint,
 h4>span.noprint,
 h5>span.noprint,
 h6>span.noprint{
 visibility:hidden;
 }

 /* Let's make things using deprecated HTML elements more noticeable to be able to fix them... */

 html:not(.mw)basefont::before{
 content:"<basefont>";
 }
 html:not(.mw)font::before{
 content:"<font>";
 }
 html:not(.mw)basefont::before,
 html:not(.mw)basefont::after,
 html:not(.mw)font::before,
 html:not(.mw)font::after{
 color:#FFF!important;
 background-color:#A11!important;
 font-weight:bold!important;
 font-variant:small-caps!important;
 border:1pxsolid#A11!important;
 padding:1px2px!important;
 }
 html:not(.mw)basefont::after{
 content:"</basefont>";
 }
 html:not(.mw)font::after{
 content:"</font>";
 }

 html:not(.mw)acronym::before{
 content:"<acronym>";
 }
 html:not(.mw)big::before{
 content:"<big>";
 }
 html:not(.mw)dir::before{
 content:"<dir>";
 }
 html:not(.mw)strike::before{
 content:"<strike>";
 }
 html:not(.mw)tt::before{
 content:"<tt>";
 }
 html:not(.mw)table[cellpadding]::before{
 content:"cellpadding=";
 }
 html:not(.mw)table[cellspacing]::before{
 content:"cellspacing=";
 }
 html:not(.mw)[align]::before{
 content:"align=";
 }
 html:not(.mw)[valign]::before{
 content:"valign=";
 }
 html:not(.mw)[width]::before{
 content:"width=";
 }
 html:not(.mw)[border]::before{
 content:"border=";
 }
 html:not(.mw)acronym::before,
 html:not(.mw)acronym::after,
 html:not(.mw)big::before,
 html:not(.mw)big::after,
 html:not(.mw)dir::before,
 html:not(.mw)dir::after,
 html:not(.mw)strike::before,
 html:not(.mw)strike::after,
 html:not(.mw)tt::before,
 html:not(.mw)tt::after,
 html:not(.mw)table[cellpadding]::before,
 html:not(.mw)table[cellspacing]::before,
 html:not(.mw)[align]::before,
 html:not(.mw)[valign]::before,
 html:not(.mw)[width]::before,
 html:not(.mw)[border]::before{
 color:#FFF!important;
 background-color:#A55!important;
 font-weight:bold!important;
 border:1pxsolid#A55!important;
 padding:0px5px!important;
 }
 html:not(.mw)acronym::after{
 content:"</acronym>";
 }
 html:not(.mw)big::after{
 content:"</big>";
 }
 html:not(.mw)dir::after{
 content:"</dir>";
 }
 html:not(.mw)strike::after{
 content:"</strike>";
 }
 html:not(.mw)tt::after{
 content:"</tt>";
 }

 html:not(.mw)center::before{
 content:"<center>";
 }
 html:not(.mw)center::before,
 html:not(.mw)center::after{
 color:#DDD!important;
 background-color:#000!important;
 border:1pxdotted#DDD!important;
 padding:1px3px!important;
 }
 html:not(.mw)center::after{
 content:"</center>";
 }

 html:not(.mw).mw-empty-li{
 display:block;
 color:#DDD!important;
 background-color:#000!important;
 border:1pxdotted#DDD!important;
 padding:1px3px!important;
 }

AltStyle によって変換されたページ (->オリジナル) /