Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up the CSS dramatically #3

Open
zwettemaan opened this issue Mar 10, 2019 · 5 comments
Open

Clean up the CSS dramatically #3

zwettemaan opened this issue Mar 10, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@zwettemaan
Copy link
Collaborator

This entry will have to be split up dramatically ;-) into bite-size action points...

@zwettemaan zwettemaan self-assigned this Mar 10, 2019
@zwettemaan zwettemaan added the enhancement New feature or request label Mar 10, 2019
@LauraB7
Copy link

LauraB7 commented Mar 20, 2019

How about this: I will post two CSS file -- one raw from InDesign, and one cleaned-up from that raw file so that you can see the types of changes that would be great.

@zwettemaan
Copy link
Collaborator Author

That works for me! If you could also add some rough description (e.g.

  • step 1: moved yadi to yadiya
  • step 2: find and replace for 'blabla' into yadiya
    ...

) so I have a rough idea of the manual changes you've performed, that'd be great!

@LauraB7
Copy link

LauraB7 commented Apr 6, 2019

InDesign exports a full set of values for every style -- paragraph, character, cell, table, object, etc. There needs to be a way to design the base body text values and then define everything else against that set of values. So, body is 12/15 pt Minion Pro with a text indent of 15pt and no margins. The italic character style would only define font-style: italic;. At present it renders four or five lines (style, weight, size, colour). And then a header would something like:

h1.ahead {
	font-family:"Century Old Style Std", serif;
	font-size:1.2em;
	line-height:1.2;
	margin:2em 0 1em 0;
	text-align:center;
	text-indent:0;
}

@LauraB7
Copy link

LauraB7 commented Apr 6, 2019

Here are two CSS files from a fairly simple book. One is straight out of ID, the other has my fingerprints on it.
CSS.zip

@LauraB7
Copy link

LauraB7 commented Apr 29, 2019

Do you need anything else for this issue, @zwettemaan?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants