Index:Star Lore Of All Ages, 1911.pdf/styles.css

/* class for use in inline (frameless) images to scale their size with the text*/ .inline-img-1em-h { width:auto; height:1em; }

/* Align second column contents right (from w:Template:Table alignment) */ .col2right td:nth-child(2) { text-align:right; }

/* Set every cell in the second column to vertical-align:top */ .col2top td:nth-child(2) { vertical-align:top; }

/* Reset font-variant for every cell in the second column */ .col2normal td:nth-child(2) { font-variant:normal; }

/* Chapter heading spacing */ .wst-heading { font-size:120%; text-align:center; margin-top:2em; margin-bottom:1em; text-transform:uppercase; }

/* TOC */ .table-of-contents { font-variant:small-caps; margin:auto; } .table-of-contents th:first-child { min-width:16em; } .table-of-contents caption { font-size:120%; } .table-of-contents th:last-child { min-width:4em; font-variant:all-small-caps; font-size:83%; font-weight:normal; } .table-of-contents tr > :last-child { text-align:right; }

/* Bibliography */ .bibliography { width:35em; padding-top:0; padding-bottom:0; border-spacing:0; border-collapse:separate; line-height:1em; vertical-align:top; } .bibliography td:first-child { font-variant:small-caps; } .bibliography td:last-child { text-align:right; }

.constellations caption { font-size:120%; } .constellations td { min-width:13em; }

/* Appendix */ .appendix { margin:auto; } .appendix th { font-variant:all-small-caps; font-weight:normal; } .appendix th:first-child { padding-left:0.5em; } .appendix tr > :last-child { text-align:right; } .appendix td { border-spacing:4em; } .appendix td:last-child { padding-left:4em; padding-right:1em; }

/* Double appendix */ .double-appendix { margin:auto; } .double-appendix th { font-variant:all-small-caps; font-weight:normal; text-align:center; } .double-appendix td:nth-child(2), td:nth-child(5) { text-align:right; } .double-appendix td:nth-child(3) { width:8em; }

/* Star distances */ .star-distances { border-collapse:collapse; margin:auto; border-bottom:1px solid; } .star-distances caption { margin-bottom:1em; } .star-distances th { font-weight:normal; padding-top:0.1em; padding-bottom:0.1em; } .star-distances th[scope="col"] { text-align:center; border-bottom:1px solid; } .star-distances th, .star-distances td { border-right:1px solid; padding-left:0.5em; padding-right:0.5em; } .star-distances tr:first-child th { border-right:none; } .star-distances tr :last-child { border-right:none; } .star-distances td { text-align:right; }

/* Star numbers */ .star-numbers caption { font-size:120%; } .star-numbers td:first-child { padding-right:4em; } .star-numbers td:nth-child(2) { text-align:right; } .star-numbers td:last-child { padding-left:1em; }