Difference between revisions of "MediaWiki:Common.css"

From Expat Wiki
Jump to navigation Jump to search
(Replace external link icon with Unicode and move it left.)
Line 4: Line 4:
 
li#ca-talk { display: none; }
 
li#ca-talk { display: none; }
  
 +
/* Template:CTA. */
 
span.cta a {
 
span.cta a {
 
   display:inline-block;
 
   display:inline-block;
Line 11: Line 12:
 
   color:#fff !important;
 
   color:#fff !important;
 
   font-weight:bold;
 
   font-weight:bold;
 +
}
 +
 +
/* Replace external link icon with Unicode and move it left. */
 +
.mw-parser-output .external {
 +
    background: none;
 +
    padding-right: 0;
 +
}
 +
.mw-parser-output .external::before {
 +
  content: "↗️ ";
 
}
 
}
  

Revision as of 16:33, 20 April 2022

/* CSS placed here will be applied to all skins */

/* Hide Discussion tab. */
li#ca-talk { display: none; }

/* Template:CTA. */
span.cta a {
  display:inline-block;
  padding: 0.5em 1em;
  background: none #36c !important;
  border:#36c;
  color:#fff !important;
  font-weight:bold;
}

/* Replace external link icon with Unicode and move it left. */
.mw-parser-output .external {
    background: none;
    padding-right: 0;
}
.mw-parser-output .external::before {
  content: "↗️ ";
}

/* Google Translate gadget */
div.goog-te-gadget:before {
  padding: 0.5em 0;
}
div.goog-te-gadget:before {
  content:"Auto-translate to:";
  padding-right: 0.5em;
}