-
Notifications
You must be signed in to change notification settings - Fork 36
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
Further clean-up of the CETEIcean.css #35
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 :) |
test/CETEIcean.css
Outdated
|
||
/* 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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-table
rules into one;yi
to thertl
list;ru
andpl
to theltr
list;Removed overlooked uses of removed addStyle() from the examples.
resolves #34