RDFLib / pyLODE

An OWL ontology documentation tool using Python and templating, based on LODE
BSD 3-Clause "New" or "Revised" License
169 stars 70 forks source link

CSS improvements - PYLODE logo, table of contents #211

Open fosterlynn opened 7 months ago

fosterlynn commented 7 months ago

Thank you so much for this tool!

I am on Ubuntu, Firefox, a medium-smallish laptop. I don't know if these issues are the same on all screen sizes, browsers, etc.

  1. The PYLODE logo is overlapping with the content.
  2. The table of contents on the right is too narrow for many class and property names. I see this also is #170 , but am including it to show suggested fix.

Currently, this is the situation: Screenshot from 2024-02-18 18-46-42

With these changes, I now see:

hoijui commented 7 months ago

for me, it looked right before and wrong after. :/

before:

2024-02-19-22-04-29-area

with these changes (the logo and version part are not visible anywhere):

2024-02-19-22-04-47-area

hoijui commented 7 months ago

My whole screen; Looks like text on my screen is much smaller, or I have more pixels or something ...

2024-02-19-22-11-23-area

fosterlynn commented 7 months ago

@hoijui put together a relative width scenario, and we fiddled until it worked ok for both of us. So that's at least 2 screen sizes.

pylode top: 15em;

pylode left: -13em;

toc width: 15%;

content width: 86%;

edmondchuc commented 7 months ago

Hi @fosterlynn and @hoijui. We've recently released a new version with a new profile named "supermodel". It has an improved styling based on asciidoctor. Do you mind trying that out and see if it works for you? Thanks in advance.

fosterlynn commented 7 months ago

Here is the supermodel from about a week ago, and it looks good for me, unless there is supposed to be a logo somewhere.

Screenshot from 2024-02-19 18-24-38

edmondchuc commented 7 months ago

No logo yet, but we will eventually add something to lead people back to pyLODE. We just want to get initial feedback from the community with the new supermodel mode. Thanks for trying it out.

hoijui commented 7 months ago

It is called Supermodel, cause it works for both OWL and SKOS?

Btw, I already ported all the PRs I made recently to your supermodel branch about a week ago. :-)

(I think one bug happened during this porting which I still need to fix, and will maybe only get it it next week.)