Custom style.css Does Not Affect <seg> and <ref> Elements

Open
#1,405 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
css
Domain
frontend

Research direction

Start by comparing the attached style.css and 1080.html with the rendered output described for Xiphos 4.5.0 on Windows, focusing on the <seg> and <ref> elements. Trace how custom module styles are loaded and applied to those elements; done means the supplied styles affect both elements as expected in Xiphos.

Written by the indexing model from the issue text.

Description

I am trying to create a style.css file for my custom module (a translation of StrongsGreek) and noticed that some styles are being ignored or not applied.

Specifically, this affects the and tags.

Below is the output from Xiphos 4.5.0 on Windows when using my custom styles:

Image

However, I expected the output to look like this, based on a modified version of the HTML generated by:
"C:\Program Files\Crosswire\xiphos\bin\diatheke.exe" -b SlkStrongsGreek -e UTF-8 -f HTML -K 01080 >11080.html

Image

Am I doing something wrong, or is this a bug?

style.css
1080.html

Dominant language
Tree-sitter Query
Stars
271
Forks
68
Avg merge
3d 2h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from crosswire/xiphos

All issues in crosswire/xiphos

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.