MediaWiki: Common.css: Difference between revisions

From Psalms: Layer by Layer
Jump to: navigation, search
(Padding so numbers don't run together)
(Add link-deemphasize class)
Line 50: Line 50:
text-align: right;
text-align: right;
padding: 0 .2em;
padding: 0 .2em;
}
.page-welcome .index .link-deemphasize a {
color: silver;
}
}

Revision as of 18:11, 13 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 */
.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;
}