MediaWiki:Common.css
Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
___NORICHEDITOR___
/* CSS placed here will be applied to all skins */
/* Entries to counter wiki.css code that is disrupting the ability of text to flow */
#mainContent p {
clear: none;
}
#contentSub {
display: block;
font-size: 84%;
line-height: 1.2em;
margin: 0 0 1.4em 1em;
color: #7D7D7D;
width: auto;
}
dd {
margin-bottom: 0.5em;
}
/* Entries to counter wiki.css code for TOC */
#toc {
width: auto;
}
#toc ul {
margin-top: 0px;
}
#toc ul {
margin-left: 1em;
}
/* images */
div.floatright, table.floatright {
clear: right;
float: right;
position: relative;
margin: 0 0 .5em .5em;
border: 0;
}
div.floatleft, table.floatleft {
float: left;
clear: left;
position: relative;
margin: 0 .5em .5em 0;
border: 0;
}
/* this can be used to switch off special external link styling */
plainlinks a {
background: none !important;
padding: 0 !important;
}
/* prettytable class for skinning normal tables
*/
table.prettytable{
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
color: black;
width: 100%;
}
.prettytable th, .prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
.prettytable th {
background: #f2f2f2;
text-align: center;
}
.prettytable caption {
font-weight: bold;
}
/* For linked citation numbers and document IDs, where
the number need not be shown on a screen or a handheld,
but should be included in the printed version */
@media screen, handheld {
.citation *.printonly {
display: none;
}
}
/* Styling for url. Breaks long urls, etc., rather than overflowing box */
.url {
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
// Non standard for webkit
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
/* Style for horizontal lists (separator following item).
IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
@source mediawiki.org/wiki/Snippets/Horizontal_lists
@revision 5 (2014-02-24)
@author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
/* Display nested lists inline */
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
.hlist dd:after,
.hlist li:after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ") ";
font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
content: ") ";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) " ";
white-space: nowrap;
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) " ";
}
/* Unbulleted lists */
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ul li {
margin-bottom: 0;
}
/* Code to fix injected header */
body > .wikiContainer {
position: relative;
min-height: 500px;
top: 64px;
}
header >.global-pri-nav-container > h1 {
padding-top: 0;
padding-bottom: 0;
border-bottom: 0;
}
#global-engage-header + .wikiContainer #p-logo {
display: none;
}
#global-engage-header + .wikiContainer div#mw-panel {
top: 0;
}
#global-engage-header + .wikiContainer #pt-anonlogin,
#global-engage-header + .wikiContainer #pt-logout {
display: none;
}
#global-engage-header ul.main-nav li.active > a {
background: #FFF;
}
#global-engage-header ul.main-nav li.show-sub-menu > a {
background: #e1ecc3;
}
.templeMember #global-engage-header ul.main-nav li.nav-temple-link .templeInfoChecked .nav-item.temple {
display: block !important;
}
#global-engage-header + .wikiContainer {
top: 0;
}
body > #content {
margin-top: 64px;
}
body > #mw-navigation > #mw-head {
top: 64px;
}
form.bodySearch >.bodySearchWrap > input[name="go"] {
display: none;
}
/* Fix for collapsible menus */
#toc.toc .toctoggle {
display: none;
}
#toc.toc ul {
display: block;
}
#mw-panel.collapsible-nav .portal.collapsed h3 {
color: #4d4d4d;
background-image: url(https://familysearch.org/wiki/en/skins/vector/images/arrow-expanded.png?2016-03-13T02:55:00Z);
background-image: -webkit-linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij48cGF0aCBkPSJNMTMuMDAyIDYuMDAxbC01IDUuMDAxLTUtNS4wMDF6IiBmaWxsPSIjNzk3OTc5Ii8+PC9zdmc+);
background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij48cGF0aCBkPSJNMTMuMDAyIDYuMDAxbC01IDUuMDAxLTUtNS4wMDF6IiBmaWxsPSIjNzk3OTc5Ii8+PC9zdmc+);
}
#mw-panel.collapsible-nav .portal.collapsed .body {
display: block;
}