Skip to content

Instantly share code, notes, and snippets.

@xn
Created September 5, 2013 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xn/6457070 to your computer and use it in GitHub Desktop.
Save xn/6457070 to your computer and use it in GitHub Desktop.
/* standard css for master page tables */
table.master {
width: 100%; /* Fill <div> */
}
table.master > tr > th,
table.master > tr > td,
table.master > * > tr > th,
table.master > * > tr > td {
vertical-align: top; /* Set valign variable */
}
table.master th {
width: 28em; /* Set width for standard columns */
}
table.master th#thin {
width: 20em; /* Set width for narrow image columns */
}
/* standard css for treatise page tables */
table.treatise th#page {
width: 8em; /* Set width for page column */
}
table.treatise th#section {
min-width: 22em; /* Set width for section column */
}
@xn
Copy link
Author

xn commented Sep 5, 2013

you can get rid of the wide class and make it the default. the thin class would override.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment