[CWB] Monospace font in concordances
Hardie, Andrew
a.hardie at lancaster.ac.uk
Tue Jun 4 11:00:20 CEST 2019
The Libertine font is only used for generating Captchas.
The difference in fonts between concordances and elsewhere is merely down to tradition though I must admit I am quite fond of it as a visual distinction between running text and UI/stats tables.
The fonts are set via the class of the td that contains the text. The context before and after and the node each have a different dedicated class, while elsewhere you will find the concordgeneral/concordgrey classes for most text cells.
The fonts for classes are set in CQPweb-****.CSS
Be aware that changes to the CSS files may not be future proof as I eventually aim to bring rather more of the UI styling under programmatic control. Creating a user option for monospace font may be a good place to start.
Best
Andrew
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> on behalf of Scott Sadowsky <ssadowsky at gmail.com>
Sent: Tuesday, June 4, 2019 1:40:07 AM
To: Open source development of the Corpus WorkBench
Subject: [CWB] Monospace font in concordances
Hi all,
My entire CQPweb installation uses a sans serif font except for user-entered text, which seems to use LinLibertine_Mah.ttf as specified in /useracct-lib.php. (or maybe elsewhere, but that's the only mention of it I can find). This looks nice and I'm happy with it.
For some reason, however, concordances (and only concordances) are in some serif font or another. Personally, I don't like the look of it, but more objectively it doesn't jibe with the rest of the site.
Can anyone tell me what I have to edit to change this font? Ideally, I'd like a monospace font for concordances.
Cheers,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20190604/0c7ce8ca/attachment.html>
More information about the CWB
mailing list