MediaWiki: Common.css: Difference between revisions

From Psalms: Layer by Layer
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 54: Line 54:
align-items: flex-end;
align-items: flex-end;
justify-content: center;
justify-content: center;
padding: 10px;
}
}
.page-welcome .nav-boxes .nav-box:nth-child(even) {
.page-welcome .nav-boxes .nav-box:nth-child(even) {

Revision as of 20:03, 15 January 2021

/* 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;
}

/* 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;
}