MediaWiki: Common.css: Difference between revisions

From Psalms: Layer by Layer
Jump to: navigation, search
(Add link-deemphasize class)
(Add nav boxes)
Line 38: Line 38:
}
}


/* Styles for specific pages */
/* STYLES FOR SPECIFIC PAGES */
 
/* Page: Welcome */
/* Page: Welcome */
/* Nav boxes linking to other CDBR sites */
.page-welcome .nav-boxes {
display: flex;
flex-wrap: wrap;
}
.page-welcome .nav-boxes .nav-box {
display: flex;
flex-direction: column;
text-align: center;
}
/* Index of psalms */
.page-welcome .index {
.page-welcome .index {
display: flex;
display: flex;

Revision as of 19:21, 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;
}
.page-welcome .nav-boxes .nav-box {
	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;
}