Talk:Problems of Empire/The Finance of Federal Government for the United Kingdom
Latest comment: 3 years ago by Inductiveload in topic CSS
CSS
[edit]@Inductiveload: Pushing this page to css saves about 5k of characters, and unknown how many template calls (Index:Problems of Empire.djvu/styles.css). You can notice that I stopped pushing a max-width on the larger tables as it was crushing things, so you may wish to cast your eyes over it for export and think about some guidance that we can provide to the community (me??) of what is less impactful, as you see it. Yes in hindsight there is a little more that I can pull into the css, but now fussing that the moment. — billinghurst sDrewth
- @Billinghurst: Looks sensible enough. I would just suggest that for "non-generic" classes (i.e. ones that have a substantial dependency on the structure of the table):
- Make the class names either more descriptive of what's about to happen (e.g.
.vertthick_col5
rather than.vertthick
), or: - Make a class custom for that one table (e.g.
.poe_table1
).
- Make the class names either more descriptive of what's about to happen (e.g.
- Also note that comments in CSS look like
/* this */
. Inductiveload—talk/contribs 16:38, 9 June 2021 (UTC)
- The bigger export issue with this work is the margin for the sidenotes: phab:F34488480. Inductiveload—talk/contribs 16:43, 9 June 2021 (UTC)