Difference between revisions of "MediaWiki:Vector.css"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(this makes sense - blue locks on external links (copied from wikipedia:MediaWiki:Vector.css); it pulls a URL from upload.wikimedia.org, so I don't know if it'll do anything, though)
 
(increase Vector sidebar width to accommodate ads)
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
#bodyContent a.external[href ^="https://"],
 
#bodyContent a.external[href ^="https://"],
 
.link-https {
 
.link-https {
   background: url("//upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif") center right no-repeat;
+
   background: url("//upload.wikimedia.org/wikipedia/commons/0/00/Lock_icon_blue.gif") center right no-repeat;
 
   /* @noflip */
 
   /* @noflip */
 
   padding-right: 16px;
 
   padding-right: 16px;
 
}
 
}
 +
 +
/* increase Vector sidebar width to accommodate ads */
 +
div#mw-panel { width: 12em; }
 +
div#p-Ads div.body {margin: 0em !important; }
 +
div#footer, #mw-head-base, div#content, #left-navigation { margin-left: 12em; }

Latest revision as of 21:19, 10 July 2018

/* CSS placed here will affect users of the Vector skin */

/* Blue instead of yellow padlock for secure links. */
#bodyContent a.external[href ^="https://"],
.link-https {
  background: url("//upload.wikimedia.org/wikipedia/commons/0/00/Lock_icon_blue.gif") center right no-repeat;
  /* @noflip */
  padding-right: 16px;
}

/* increase Vector sidebar width to accommodate ads */
div#mw-panel { width: 12em; }
div#p-Ads div.body {margin: 0em !important; }
div#footer, #mw-head-base, div#content, #left-navigation { margin-left: 12em; }