Content found in this wiki may not reflect official Church information. See Terms of Use for more information.

MediaWiki:Common.css

From TechWiki
Jump to navigationJump to search

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.
/* CSS placed here will be applied to all skins */

body {
	font-family: var(--sans);
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
	font-family: inherit;
}
.mw-category, .multi-column {
	column-count: 8;
	column-width: 24em;
}

#mw-subcategories h3, #mw-pages h3, .multi-column h3 {
	background: #dcdcdc;
	padding-left: 0.3em;
	padding-top: 0.2em;
}

.firstHeading {
	text-align: center;
}
.no-column-break, .mw-category-group {
	overflow: hidden;
    break-inside: avoid-column;
}

.collapseButton {		/* 'show'/'hide' buttons created dynamically by the        */
	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised.              */
	text-align: right;
	width: auto;
}

/* wikitable class for skinning normal tables */
table.wikitable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption {
    font-weight: bold;
}

.next-event {
    color:blue;
    font-weight:bold;
}

div#indent140 p {margin-left:140px;}
div#indent140 h2 {margin-left:140px;}
div#indent140 table {margin-left:140px;}

.sidebar2 {
    background-color: #F2F3E5;
    border: 1px solid #999999;
    border-radius: 4px 4px 4px 4px;
    float: right;
    font-size: 0.9em;
    margin: 0 0 1em 1em;
    position: relative;
    width: 255px;
}

.sidebar2 .heading {
    font-family: "Georgia","Times New Roman",serif;
    font-size: 1.15em;
    color: #FFF;
    background: #717161; /* Old browsers */
    background: -moz-linear-gradient(top,  #717161 0%, #646458 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#717161), color-stop(100%,#646458)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #717161 0%,#646458 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #717161 0%,#646458 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #717161 0%,#646458 100%); /* IE10+ */
    background: linear-gradient(top,  #717161 0%,#646458 100%); /* W3C */
    filter: "progid:DXImageTransform.Microsoft.gradient( startColorstr='#717161', endColorstr='#646458',GradientType=0 )"; /* IE6-9 */
    margin-top: 0;
    margin-bottom: 0.5em;
    padding: 0.5em 0.9em;
}

.sidebar2body {
    padding: 0 1em;
}

.sidebar2body p {
    font-family: "Georgia","Times New Roman",serif;
    font-size: 1.1em;
    margin-bottom: 0;
}

.sidebar2body li {
    margin-top: 0;
    margin-bottom: 0;
}

.sidebar2body ul {
    margin-top: 0;
    margin-bottom: 0.8em;
    padding-left: 1.5em;
}

.sidebar2 .editsidebar {
    font-size: 0.85em;
    margin: 0;
    position: absolute;
    right: 1em;
    top: 1em;
}

.sidebar2 .editsidebar a {
    color: #FFFFFF;
}

body.ns-0 span.subpages {
    display:none;
}