Difference between revisions of "MediaWiki:Common.css"
m (34 revisions imported: Import from Smith wiki) |
|||
| (24 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
/* Force correct size of wiki logo */ | /* Force correct size of wiki logo */ | ||
| Line 30: | Line 25: | ||
blockquote | blockquote | ||
{ border-top: solid 1px LightGray; border-bottom: solid 1px LightGray; background-color: #f9f9f9; padding-left:4px; padding-right:4px; } | { border-top: solid 1px LightGray; border-bottom: solid 1px LightGray; background-color: #f9f9f9; padding-left:4px; padding-right:4px; } | ||
| + | .toc | ||
| + | { margin: 1em 0; } | ||
| + | .private-notice | ||
| + | { padding: 0 2em; margin: 1em; background:#fff8c4; border-top:1px solid #f2c779; border-bottom:1px solid #f2c779; font-style:italic; } | ||
| + | .private-notice p | ||
| + | { margin: 0; } | ||
| + | |||
| + | /* Subpage list hacks */ | ||
| + | .subpagelist | ||
| + | { margin: 0.5em 0; } | ||
| + | .subpagelist p, .subpagelist ul, .subpagelist li | ||
| + | { display: inline; font-style:italic; } | ||
| + | .subpagelist ul | ||
| + | { margin: 0px; } | ||
| + | .subpagelist li:before | ||
| + | { content: '\2022\00a0'; } | ||
| + | .subpagelist li:first-child:before | ||
| + | { content: ''; } | ||
/* Link images */ | /* Link images */ | ||
| − | div#content a[href*="//familysearch.org/"].external | + | div#content a[href*="//www.familysearch.org/"].external |
{ background: url("https://edge.fscdn.org/assets/docs/fs_logo_favicon.ico") center right/14px no-repeat; padding-right: 16px; } | { 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 | div#content a[href*="//www.google.com/maps/"].external | ||
Latest revision as of 14:06, 13 January 2020
/* 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; }
pre
{ white-space:pre-wrap; }
.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; }
.toc
{ margin: 1em 0; }
.private-notice
{ padding: 0 2em; margin: 1em; background:#fff8c4; border-top:1px solid #f2c779; border-bottom:1px solid #f2c779; font-style:italic; }
.private-notice p
{ margin: 0; }
/* Subpage list hacks */
.subpagelist
{ margin: 0.5em 0; }
.subpagelist p, .subpagelist ul, .subpagelist li
{ display: inline; font-style:italic; }
.subpagelist ul
{ margin: 0px; }
.subpagelist li:before
{ content: '\2022\00a0'; }
.subpagelist li:first-child:before
{ content: ''; }
/* Link images */
div#content a[href*="//www.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://wikipedia.org/static/favicon/wikipedia.ico") center right/14px no-repeat; padding-right: 16px; }