MediaWiki:Common.css

From Psalms: Layer by Layer
Revision as of 20:21, 15 January 2021 by James.Harris (talk | contribs)
Jump to: navigation, 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 */

.list-I li {
  list-style-type: upper-roman;
}

.list-A li {
  list-style-type: upper-alpha;
  margin-left: 40px; 
}

.list-1 li {
  list-style-type: decimal;
  margin-left: 80px; 
}

.list-a li {
  list-style-type: lower-alpha;
  margin-left: 120px; 
}

/* Enable PageForms spreadsheet-style grid to autogrow */
.jsgrid {
   height: unset !important;
   overflow: auto;
}
.jsgrid-grid-body { height: unset;   overflow: auto;
}
.jsgrid-grid-table { height: unset;   overflow: auto;
}

.outline > li {
  list-style-type: upper-roman;
}
.outline > li > li {
  list-style-type: upper-alpha;
  margin-left: 40px; 
}

/* STYLES FOR SPECIFIC PAGES */

/* Page: Welcome */

/* Nav boxes linking to other CDBR sites */
.page-welcome .nav-boxes {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
}
.page-welcome .nav-boxes .nav-box {
	flex-grow: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 10px;
}
.page-welcome .nav-boxes .nav-box:nth-child(even) {
	background: #E7F9F1;
}
.page-welcome .nav-boxes .nav-box p {
	display: flex;
	flex-direction: column;
	text-align: center;
}
.page-welcome .nav-boxes .nav-box img {
	max-width: 100%;
}

/* Index of psalms */
.page-welcome .index {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.page-welcome .index .index-item {
	width: 1.7em;
	font-size: 2em;
	text-align: right;
	padding: 0 .2em;
}
.page-welcome .index .link-deemphasize a {
	color: silver;
}