Playmaker Forum

PlayMaker Feedback => Forum Suggestions => Topic started by: Murcho on April 01, 2011, 04:58:39 PM

Title: Better Code Font.
Post by: Murcho on April 01, 2011, 04:58:39 PM
When placing code snippets in like this :

Code: [Select]
//This is some code
int awesome = 42;

I find the currently used font very hard to read, especially at the current size.  Is there a way you guys can change this at all?
Title: Re: Better Code Font.
Post by: Alex Chouls on April 01, 2011, 07:05:42 PM
Me too! Denkiva...?  :P
Title: Re: Better Code Font.
Post by: Neural Echo on April 01, 2011, 07:24:19 PM
Agreed... same goes with the emoticons... many of them are almost indistinguishable.
Title: Re: Better Code Font.
Post by: Murcho on April 05, 2011, 04:05:17 PM
Bump.

Seriously, need to be able to read the code on this site.
Title: Re: Better Code Font.
Post by: denkiva on April 13, 2011, 09:30:05 AM
Bump.

Seriously, need to be able to read the code on this site.

Heya,  I totally agree with you guys... code font is waaaaaay small.  Looking for a way to address this one. So far I've only been able to add color to code fonts (yeah, not sure if that is useful...)  ... if anyone has some tips on how to do this (or any SMF add ons that help to modify code font size/provide more flexibility etc)  let me know!   this solution is a work in progress!

:-)

V
Title: Re: Better Code Font.
Post by: denkiva on April 13, 2011, 08:37:23 PM
I DID IT!!!

Made the code font bigger.  You see originally I assumed our userbase would consist of hummingbirds and ant-people... But I see that I misjudged you all.. Can everyone see it okay?  :o

Code: [Select]

color: #000000;
background-color: #dddddd;
font-family: "courier new", "times new roman", monospace;
font-size: small;
line-height: 1.3em;
/* Put a nice border around it. */
border: 1px solid #000000;
margin: 1px auto 1px auto;
padding: 1px;
width: 99%;
/* Don't wrap its contents, and show scrollbars. */
white-space: nowrap;
overflow: auto;
/* Stop after about 24 lines, and just show a scrollbar. */
max-height: 24em;

I can make it bigger if need be :-), like for dinosaurs and Titans...

Title: Re: Better Code Font.
Post by: Pleasuremaker on April 13, 2011, 08:49:31 PM
Still very small here, looks like it didnt change  :'(
Title: Re: Better Code Font.
Post by: denkiva on April 13, 2011, 08:53:41 PM
Still very small here, looks like it didnt change  :'(

hmm is it your cache?  I'll set a px size and see what happens. gimme a sec... hopefully forum won't explode
Title: Re: Better Code Font.
Post by: denkiva on April 13, 2011, 08:55:40 PM
hows that it's at 14 pixels, larger than the font size of the post I believe... perhaps if some others could let me know if they are seeing a difference that would be great :-)
Title: Re: Better Code Font.
Post by: Pleasuremaker on April 14, 2011, 04:22:38 AM
Now its much better. I can see some lines. Thanks  ;D
Title: Re: Better Code Font.
Post by: denkiva on April 14, 2011, 02:18:22 PM
Now its much better. I can see some lines. Thanks  ;D

Ah great!   ;D
Title: Re: Better Code Font.
Post by: Murcho on April 19, 2011, 05:11:55 PM
That reads much better now.  Thanks.

LET THE CODE SHARING COMMENCE!
 ;D