TAPAS CSS

We are working on a project with a student and have identified a number of elements for the personography TEI file that do not have defined (element) rule sets in the TAPAS and TEIbp CSS. The project can be found here: http://beta.tapasproject.org/documenting-indigenous-languages/documenting-indigenous-languages (but it is private at this time). You can find the TEI files and the updated TEIbp.css file here: https://drive.google.com/folderview?id=0Bzci7Qh_Ws1LN2tEdWNHTUROVUE&usp=sharing. The elements (rule sets) we would like to incorporate into the CSS so they display include: death, nationality, affiliation, idno, bibl (titles not displaying in italics). We've modified the TEIbp.css to display some of these elements listed above. We also have a few questions about hiding elements, such as coordinates (in the publication gazateer file) and the formatting (publication gazateer and dictionary entry). We are also having issues with the italics not displaying in the TEI (some of the ography files, when viewed in TAPAS), as well as how to keep italics without quotation marks around them (in dictionary file).
Syd_admin's picture

Hi, Anna! This Forum does not (AFAIK) permit more than one flowed paragraph in a response, so I am going to make a few posts responding to different parts of yours.

Syd_admin's picture

The TAPAS CSS for the Boilerplate view comes straight from John Walsh's TEI Boilerplate (with selectors modified to match what TAPAS does to the HTML, but nothing done to the property-value pairs, IIRC). And, as you noticed, there are a lot of TEI constructs, including <person> elements, that are not handled by Boilerplate. Because TAPAS gets the CSS from Boilerplate, it would be better to push improvements like yours directly to Boilerplate, rather than to TAPAS. That way a) everyone using Boilerplate gains, not just using TAPAS, and b) it's easier on the TAPAS team to install new versions of Boilerplate when they become available. Would you mind talking to me and John via e-mail about this? The first question, I can tell you in advance, will be “did you modify the CSS directly or did you modify the LESS source file and then generate the CSS?”. The latter makes things somewhat easier.

Syd_admin's picture

The TAPAS CSS for the Boilerplate view comes straight from John Walsh's TEI Boilerplate (with selectors modified to match what TAPAS does to the HTML, but nothing done to the property-value pairs, IIRC). And, as you noticed, there are a lot of TEI constructs, including <person> elements, that are not handled by Boilerplate. Because TAPAS gets the CSS from Boilerplate, it would be better to push improvements like yours directly to Boilerplate, rather than to TAPAS. That way a) everyone using Boilerplate gains, not just using TAPAS, and b) it's easier on the TAPAS team to install new versions of Boilerplate when they become available. Would you mind talking to me and John via e-mail about this? The first question, I can tell you in advance, will be “did you modify the CSS directly or did you modify the LESS source file and then generate the CSS?”. The latter makes things somewhat easier.

Syd_admin's picture

Can you be more specific (either here or via e-mail) about hiding elements, formatting, and the problem with italics? (Which element is or is not in italics, and what did you do to make it be the other way? :-)
rojas.castro.antonio's picture

Hi there,

I am currently bulding an edition on TAPAS and I was expecting to visualize the following TEI tags somehow -- for instance:

  • TEI:head --> font-size bigger than the body or/and in bold (like a h2 in html)
  • TEI:sic --> highlighted in red (like a span class="error" in html)
  • TEI:corr --> highlighted in green (like a span class="corr" in html)
  • TEI:title --> italics (like an emphasis in html)

I was wondering whether this is possible or it is expected to be in the near future.

Or I might use those tags with a specific attribute in order to render them as I suggest?

Many thanks!

ben_admin's picture

Thanks so much for you questions. Under our latest TAPAS Classroom grant, we will be rolling out some new stylesheets. I have added your desired styles to the development discussion, so look forward to more extended handling of such moments in the coming months. I hope your project building is going wonderfully! If you have any other questions or suggestions for us, let us know--thanks for building with TAPAS! Best, Ben
rojas.castro.antonio's picture

Great! Thank you!