MediaWiki:Common.css

From Ludlow Family Wiki
Revision as of 05:41, 1 July 2015 by Dan (talk | contribs)
Jump to: navigation, search

Note: After saving, 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)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Force correct size of wiki logo */

#p-logo>a
    { background-size: 135px; }

/* Add space to tables */

table.wikitable>tbody>tr>th, table.wikitable>tbody>tr>td,
table.wikitable>tr>th, table.wikitable>tr>td
  { padding-left:4px; padding-right:4px; }

/* Misc formatting */

div.footer
  { clear: both; background: red; }

/* Link images */
div#content a[href*="//familysearch.org/"].external
  { background: url("https://edge.fscdn.org/assets/docs/fs_logo_favicon.ico") center right/14px no-repeat; padding-right: 16px; }
div#content a[href*="//maps.google.com/"].external
  { background: url("https://maps.gstatic.com/favicon4.ico") center right/14px no-repeat; padding-right: 15px; }
div#content a[href*="wikipedia.org/"].external
  { background: url("https://upload.wikimedia.org/wikipedia/en/2/28/WikipediaMobileAppLogo.png") center right/14px no-repeat; padding-right: 16px; }