[fossil-users] Theming in Fossil docs - edits

2018-08-03 Thread Joel Dueck
The "Theming" page in Fossil's docs
(https://www.fossil-scm.org/index.html/doc/trunk/www/customskin.md)
has a typo:

> log_image_url - A URL for the logo image for this project, as configured on 
> the Admin/Logo page.

This should be "logo_image_url". It's easy enough to guess once you
get it wrong, but the document should be changed!

In addition, it would be great if that page could include some
information I had to discover by trial/error/pure accident:

- The document seems to imply that the skin's header includes an HTML
 section. But, confusingly the "default" skin does not include a
 section (it starts with ). This strongly
implied to me that either it was not possible to change the 
part of the page, or that some special programming jiujitsu was needed
to do so. Ideally the page would clarify what I eventually figured
out: that if a  section is included in a skin's header, Fossil
will use it, and if not included Fossil will supply a default.

- The "here's a typical header" part of the document showing the TH1
variables is actually a kind of crucial starting point for making your
own  section; it includes a few tags+TH1 variables that might
badly break things if missing or altered (especially the 
and stylesheet tags). Ideally the "Theming" document (and/or some HTML
comments in the default skin itself) would alert you to this fact.

Anyways just some suggestions based on my limited experience. I'm new
to the list so there could be some background I'm missing.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] [UI] Increase font size in side-by-side page?

2018-08-03 Thread Joel Dueck
You can customize pretty much anything without plugins if you can
determine an appropriately specific CSS selector for it.

Assuming you use any modern browser, right click the diff and click
"Inspect Element" to see the see the HTML and CSS used to display it.
With some clicking and scrolling around, you'll find that the diff
text is inside a table with class "sbsdiffcols" and that the default
style includes "font-size: xx-small".

So in mine, I changed the size by adding the following CSS to my current skin:

table.sbsdiffcols {
  font-size: x-small;
  line-height: 1.3em;
}

When doing changes like this, be sure and look around to see if a rule
for that selector already exists in the CSS; if it does, modify that
one rather than making a new one. It's easier to debug your changes if
you don't have multiple rules potentially conflicting with each other.

Be sure and read this closely to learn more about changing Fossil's
web UI appearance:
https://www.fossil-scm.org/index.html/doc/trunk/www/customskin.md

On 8/3/18, Gilles  wrote:
> Hello,
>
> The UI seems the easiest way to diff versions and see what changes were
> made to a file between two revisions.
>
> Problem is, the font size is a bit small:
>
> https://postimg.cc/image/wm6lpynzx/
>
> I searched the archives* with "ui font size", but didn't find much.
>
> Is there a way to increase font size, or should I install "Fossil Skins
> Extra" (http://fossil.include-once.org/fossil-skins/index) add-on?
>
> Thank you.
>
> * https://www.mail-archive.com/fossil-users@lists.fossil-scm.org/
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users