Difference between revisions of "MediaWiki:Common.css"
| Line 1: | Line 1: | ||
| + | /* Force correct size of wiki logo */ | ||
| + | |||
#p-logo>a { | #p-logo>a { | ||
background-size: 135px; | 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; } | ||
| + | |||
| + | |||
| + | /* Link images */ | ||
| + | div#content a[href*="//familysearch.org/"].external | ||
| + | { background: url("https://edge.fscdn.org/assets/docs/fs_logo_favicon.ico") center right no-repeat; padding-right: 17px; } | ||
| + | div#content a[href*="//maps.google.com/"].external | ||
| + | { background: url("https://maps.gstatic.com/favicon4.ico") center right no-repeat; padding-right: 15px; } | ||
| + | div#content a[href*="wikipedia.org/"].external | ||
| + | { background: url("https://wikipedia.org/static/favicon/wikipedia.ico") center right no-repeat; padding-right: 17px; } | ||
Revision as of 19:46, 21 June 2015
/* 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; }
/* Link images */
div#content a[href*="//familysearch.org/"].external
{ background: url("https://edge.fscdn.org/assets/docs/fs_logo_favicon.ico") center right no-repeat; padding-right: 17px; }
div#content a[href*="//maps.google.com/"].external
{ background: url("https://maps.gstatic.com/favicon4.ico") center right no-repeat; padding-right: 15px; }
div#content a[href*="wikipedia.org/"].external
{ background: url("https://wikipedia.org/static/favicon/wikipedia.ico") center right no-repeat; padding-right: 17px; }