Use bold italic at 100% for sect4 titles, and bold 100% for sect5 titles
ClosedPublic

Authored by yurchor on Mar 26 2020, 11:28 AM.

Details

Summary

Now the titles are small and hard to distinguish.

BUG: 419256

Test Plan

Replace kde-docs.css in your system to see the results.

Before:


After:

Diff Detail

Repository
R238 KDocTools
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 24266
Build 24284: arc lint + arc unit
yurchor created this revision.Mar 26 2020, 11:28 AM
Restricted Application added projects: Frameworks, Documentation. · View Herald TranscriptMar 26 2020, 11:28 AM
Restricted Application added subscribers: kde-doc-english, kde-frameworks-devel. · View Herald Transcript
yurchor requested review of this revision.Mar 26 2020, 11:28 AM
yurchor edited the test plan for this revision. (Show Details)Mar 26 2020, 11:30 AM

I got the best result (imho) with this:
div.sect3 h4 {

font-size: 100%;
font-weight: bold;

}
div.sect4 h5 {

font-size: 100%;
font-weight: bold;

}

div.sect5 h6 {

font-size: 90%;
font-style: italic;

}

Note the 90% for sect5.
It seems h6 is almost the same as h5, but h7 is *much* smaller, even smaller than text.
Also suspect defult for sect3 id h5, so set it to h4.

yurchor updated this revision to Diff 78544.Mar 26 2020, 12:45 PM

Fixed definitions as suggested.

danders accepted this revision.Mar 26 2020, 12:52 PM
This revision is now accepted and ready to land.Mar 26 2020, 12:52 PM
This revision was automatically updated to reflect the committed changes.