Question
Having upgraded to 4.2 and tweaked default
PatternSkin fonts and sizes a bit most users are very happy with the new look. Some users, however are adamant they want smaller fonts.
Is there a sensible way to set a variable (DEFAULT_OVERALL_FONT_SIZE for example) that users could then vary in their preferences and have it picked up in the patternPage section of pub/TWiki/PatternSkin/style.css?
(My naive attempts of creating the variable and giving it a value (in TWiki/TWikiPreferences) and substituting %DEFAULT_OVERALL_FONT_SIZE% for 105 do not appear to work.
Any suggestions?
Environment
--
IanCollier - 07 May 2008
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
After digging even further realised we could use USERSTYLEURL
--
IanCollier - 07 May 2008
A TWiki variable inside an attached file won't work. But you can create a simple css file where you set the size, and let the variable
USERSTYLEURL link to that file. See
PatternSkinCssCookbook for info.
--
ArthurClemens - 07 May 2008