MediaWiki:Common.css

From Ludlow Family Wiki
Revision as of 14:40, 3 April 2016 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.
/* Hide account creation links (encourage Facebook logins instead) */

#pt-createaccount { display:none; }
#pt-login { display:none; }

/* Force correct size of wiki logo */

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

/* Misc formatting */

table.wikitable>tbody>tr>th, table.wikitable>tbody>tr>td, table.wikitable>tr>th, table.wikitable>tr>td
  { padding-left:4px; padding-right:4px; }
table.timeline-table
  { margin: 15px 50px; border-collapse: collapse; background-color: #f9f9f9; }
table.timeline-table>tbody>tr>th, table.timeline-table>tbody>tr>td, table.timeline-table>tr>th, table.timeline-table>tr>td
  { border-top: solid 1px DarkGray; border-bottom: solid 1px DarkGray; padding: 0px 8px; }
.timeline-table-year
  { text-align: right; white-space:nowrap; }
h2
  { clear:both; }
.gallerytext
  { text-align:center; }
div.timeline-event
  { border-color: DarkGray; background-color: #f9f9f9; }
div.timeline-event-content
  { margin: 0px; text-align:center; font-size:70%; }
blockquote
  { border-top: solid 1px LightGray; border-bottom: solid 1px LightGray; background-color: #f9f9f9; padding-left:4px; padding-right:4px; }

/* 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*="//www.google.com/maps/"].external
  { background: url("https://maps.google.com/mapfiles/ms/icons/red-dot.png") center right/12px no-repeat; padding-right: 13px; }
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; }