[Freeswitch-docs] Black background in code snippets

Bote Man bote_radio at botecomm.com
Mon Jun 15 17:57:11 MSD 2015


I don't know what fonts we have available. 

 

Plus, each operating system and browser family has its own different set of
fonts only some of which intersect.

 

Confluence limits what we can do, so don't get your hopes too high. It's a
blunt instrument.

 

Bote

 

 

From: freeswitch-docs-bounces at lists.freeswitch.org
[mailto:freeswitch-docs-bounces at lists.freeswitch.org] On Behalf Of Mario
Sent: Sunday, 14 June, 2015 14:44
To: FreeSWITCH Docs Team
Subject: Re: [Freeswitch-docs] Black background in code snippets

 

Another possibility to provide better reading is to use a thicker font
without serifs for the white letters. Keep in mind that on terminal sessions
the letters are typically monospaced. Below are what it looks like now and a
a couple of samples to demonstrate, I kept the point since the same (14) but
notice how they still take the same space. I wrote many computer books for
classes and had a lot of experience testing fonts and found non-serif best
for commands/etc.

 

Current what I see now in Confluence - Courier New (note serifs):

sudo chown -R yourname:yourgroup local    # Modify the owner of the
/usr/local directory to yours

 

Andale Mono (no serifs):

sudo chown -R yourname:yourgroup local    # Modify the owner of the
/usr/local directory to yours

 

Monaco (I use this a lot in books for this purpose):

sudo chown -R yourname:yourgroup local    # Modify the owner of the
/usr/local directory to yours

 

Mario G

 





On Jun 14, 2015, at 11:24 AM, Stanislav Sinyagin <ssinyagin at gmail.com>
wrote:

 

the problem is, that the black code snippets pop out and my eyes have
difficulty to actually detect the text on the page -- especially if
there are lots of code snippets. The brain gets too much distraction
and it's difficult to find the desired part on the screen.

The old wiki had a light-grey background for source code, and that was
quite perfect.


On Sun, Jun 14, 2015 at 6:00 PM, Bote Man <bote_radio at botecomm.com> wrote:



Really, it is the contrast between white characters and black background. I
simply chose that emacs theme to emulate a "glass tty", and Anthony is a
huge emacs fan.

All the other choices are either black or white background, so not much
choice. It's nice to make it stand out from narrative text, however.

We could change the style sheet if I can ever figure out how. I haven't
pursued it because there is a warning in the help about superseding
everything else. I don't know if they mean it supersedes the affected
element across the whole Confluence site or if it wipes out the entire style
sheet except for the changes. Knowing how stupid Confluence can be in other
areas I wouldn't be surprised if it's the latter.

I'll see about a soft charcoal color, or maybe a baby blue. :-)

Bote







-----Original Message-----
From: freeswitch-docs-bounces at lists.freeswitch.org [mailto:freeswitch-
docs-bounces at lists.freeswitch.org] On Behalf Of Stanislav Sinyagin
Sent: Sunday, 14 June, 2015 10:35
To: FreeSWITCH Docs Team
Subject: [Freeswitch-docs] Black background in code snippets

Maybe we change the default black background to something less
annoying? it really distracts from reading.

_______________________________________________
Freeswitch-docs mailing list
Freeswitch-docs at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs



_______________________________________________
Freeswitch-docs mailing list
Freeswitch-docs at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs


_______________________________________________
Freeswitch-docs mailing list
Freeswitch-docs at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-docs/attachments/20150615/eb374128/attachment.html 


Join us at ClueCon 2014 Aug 4-7, 2014
More information about the Freeswitch-docs mailing list