User:Billinghurst/styles for index css

class="work_TOC" edit

/* Index table: two columns, L-R aligned, with centred headings */
.work_TOC {
	margin: auto;
	max-width: 38em;
}

.work_TOC  td:nth-child(1) {
	vertical-align: top;
}

.work_TOC  td:nth-last-child(1) {
	text-align: right;
	vertical-align: bottom;
}


table edit

  • left column left
  • all others centred; and
  • shove some padding bw columns
.p8table  td:nth-child(1) {
	vertical-align: top;
    text-align: left;
}
.p8table  td:nth-child(n+1) {
	vertical-align: top;
    text-align: center;
    padding-left: 2em;
}

Tabular components edit

  • general for a table
.table {
	margin: auto;
	max-width: 38em;
}
  • top bottom lines
.horizborder {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-collapse: collapse;
}
  • last column align right
.collast  td:nth-last-child(1) {
	text-align: right;
}

thinking snippets edit

  • to kill mobile sidenotes body.minerva .wst-sidenote { display: none; }


Dump list edit

Help pages edit