MediaWiki: Common.css: Difference between revisions

From Psalms: Layer by Layer
Jump to: navigation, search
No edit summary
(Start "styles for specific pages" section with "index" for the Welcome page)
Line 36: Line 36:
   list-style-type: upper-alpha;
   list-style-type: upper-alpha;
   margin-left: 40px;  
   margin-left: 40px;  
}
/* Styles for specific pages */
/* Page: Welcome */
.page-welcome .index {
display: flex;
flex-wrap: wrap;
}
.page-welcome .index .index-item {
flex-grow: 1;
}
}

Revision as of 17:46, 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;
}
.page-welcome .index .index-item {
	flex-grow: 1;
}