Further clean-up of the CETEIcean.css#35
Further clean-up of the CETEIcean.css#35raffazizzi merged 1 commit intoTEIC:masterfrom opentorah:css-cleanup
Conversation
(which includes one small change I asked for and removal of the `table` behaviour) *and* my pull request TEIC/CETEIcean#35: - style TEI tables using `display` values `table`, `table-row`, `table-cell`; - added `.js` extension to the imported module names; my custom `tei.scss`: - lower-cased TEI element names; - style TEI tables as HTML tables are styled by `minima`; - semicolon cleanup; - do not use removed addStyle(); - names aligned with CETEIcean;
|
@hcayless @raffazizzi I left only uncontroversial cleanup in this pull request; please review :) |
|
|
||
| /* styles for HTML shell and HTML elements in TEI (e.g.,<a> and <img>) */ | ||
| html > body { | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
| html { | ||
| margin: 0; | ||
| padding: 0; | ||
| margin-left: 2em; | ||
| margin-right: 4em; | ||
| padding: 2.5em; | ||
| font-family: "Lucida Grande", "Cardo", "Arial Unicode MS","Galilee Unicode Gk", "New Athena Unicode", "Athena Unicode", "Palatino Linotype", "Titus Cyberbit Basic", "Vusillus Old Face", "Alphabetum", "Galatia SIL", "Code 2000", "GentiumAlt", "Gentium", "Minion Pro", "GeorgiaGreek", "Vusillus Old Face Italic", "Everson Mono", "Aristarcoj", "Porson", "Legendum", "Aisa Unicode", "Hindsight Unicode", "Caslon", "Verdana", "Tahoma"; | ||
| font-size: 12pt; | ||
| background-color: white; | ||
| color: #292929; | ||
| } |
There was a problem hiding this comment.
I know (from experience) that having this is frustrating, but this CSS file is mostly meant as an example style that works out of the box. I would slightly prefer to keep it here so that a CETEI rendering with default settings looks good and have advanced users either modify this file for themselves or override in a separate CSS.
There was a problem hiding this comment.
Or to work with your solution of splitting this into two CSS files: we could make CETEIcean.css include html.css and tei.css (replaces CETEIcean.css). @hcayless thoughts?
`CETEIcean.css`: - added `yi` to the `rtl` list; - added `ru` and `pl` to the `ltr` list; - lower-cased overlooked TEI element names; - added `tei-` prefix to the overlooked TEI element names; - removed spurious space; - merged two `tei-table` rules into one;
|
@raffazizzi Rolled back splitting of the |
(which includes one small change I asked for and removal of the `table` behaviour) *and* my pull request TEIC/CETEIcean#35: - style TEI tables using `display` values `table`, `table-row`, `table-cell`; - added `.js` extension to the imported module names; my custom `tei.scss`: - lower-cased TEI element names; - style TEI tables as HTML tables are styled by `minima`; - semicolon cleanup; - do not use removed addStyle(); - names aligned with CETEIcean;
tei-prefix to some TEI element names that were overlooked;tei-tablerules into one;yito thertllist;ruandplto theltrlist;Removed overlooked uses of removed addStyle() from the examples.
resolves #34