Code box font

Discuss issues and requests related with the forum software
just me
Posts: 9509
Joined: 02 Oct 2013, 08:51
Location: Germany

Code box font

10 Oct 2013, 23:55

CodeBox.PNG
CodeBox.PNG (6.47 KiB) Viewed 9269 times
Chrome on Win7.
User avatar
joedf
Posts: 8981
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: Code box font

11 Oct 2013, 00:12

seems fine, i have chrome, win7 also... hmm
2013-10-11_010940.png
2013-10-11_010940.png (13.96 KiB) Viewed 9265 times

Code: Select all

msgbox % A_scriptfullpath
Msgbox % "346*89 = " (346*89)
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
just me
Posts: 9509
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: Code box font

11 Oct 2013, 00:22

Do you use user-styles?
lexikos
Posts: 9629
Joined: 30 Sep 2013, 04:07
Contact:

Re: Code box font

11 Oct 2013, 02:22

Mine looks the same as shown by just me.

Looks like the rule is font-size: 0.6em; for .codecontent in stylesheet.css. That's a bit extreme. Inline code inherits its font size, and even that's smaller than ideal.
User avatar
smorgasbord
Posts: 493
Joined: 30 Sep 2013, 09:34

Re: Code box font

11 Oct 2013, 02:50

@lexikos same/alike on firefox on windows 7 ultimate
John ... you working ?
lexikos
Posts: 9629
Joined: 30 Sep 2013, 04:07
Contact:

Re: Code box font

11 Oct 2013, 03:15

@smorgasbord of course, it's designed to display this way.

There are some PHP code blocks in this thread which look more normal - because they have font-size: 200% in the inline styles.
User avatar
Blackholyman
Posts: 1293
Joined: 29 Sep 2013, 22:57
Location: Denmark
Contact:

Re: Code box font

11 Oct 2013, 03:23

ok same here

@joedf you seem to be using a user-style as you also have the [SELECT ALL] Option
Also check out:
Courses on AutoHotkey

My Autohotkey Blog
:dance:
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: Code box font

11 Oct 2013, 04:27

Same here.
Recommends AHK Studio
lexikos
Posts: 9629
Joined: 30 Sep 2013, 04:07
Contact:

Re: Code box font

11 Oct 2013, 04:38

Blackholyman wrote:@joedf you seem to be using a user-style as you also have the [SELECT ALL] Option
joedf is simply using the prosilver board style, which is an option in the User Control Panel, under Board Preferences. Anyone with small code font is using subsilver2, which was used on the old old forum.
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: Code box font

11 Oct 2013, 04:45

Then he's using both prosilver and cusiom user script.
Recommends AHK Studio
lexikos
Posts: 9629
Joined: 30 Sep 2013, 04:07
Contact:

Re: Code box font

11 Oct 2013, 06:37

Why do you say that?

[Select all] shows up when using prosilver. Code boxes are also expanded by default, not collapsed.
User avatar
Blackholyman
Posts: 1293
Joined: 29 Sep 2013, 22:57
Location: Denmark
Contact:

Re: Code box font

11 Oct 2013, 06:53

lexikos wrote:joedf is simply using the prosilver board style, which is an option in the User Control Panel, under Board Preferences. Anyone with small code font is using subsilver2, which was used on the old old forum.
oh i see thanks
Also check out:
Courses on AutoHotkey

My Autohotkey Blog
:dance:
User avatar
joedf
Posts: 8981
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: Code box font

11 Oct 2013, 07:47

No Lexikos is right! I'm not using user-styles, it is simply the prosilver theme.
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
User avatar
tank
Posts: 3129
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: Code box font

11 Oct 2013, 09:11

OK so the problem occurs when the code box is the default code box.

I will work on that today
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
tank
Posts: 3129
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: Code box font

11 Oct 2013, 13:39

ok codebox modifications should be done now

Code: Select all

msgbox autohotkey default language

Code: Select all

msgbox autohotkey selected language ; comment is green
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
kon
Posts: 1756
Joined: 29 Sep 2013, 17:11

Re: Code box font

11 Oct 2013, 14:07

The font size is fixed! It looks great now. Thanks tank! :D

Built in variables seems to have developed a bug:

Code: Select all

;Trying to display A_Index
A_Index
This seems to be the offending html:

Code: Select all

<a target="_blank" href="http://www.auto-<a target="_blank" href="http://www.auto-hotkey.com/docs/commands/Hotkey.htm"><span style="color: #FF00FF; font-style: italic;">hotkey</span></a>.com<span style="color: #000000; font-weight: italic;">/</span>docs<span style="color: #000000; font-weight: italic;">/</span>Variables.htm#A_Index"><span style="color: #88FF88;">A_Index</span></a>
It looks like it is linking to A_Index in the docs, but then it is mistaking "hotkey" in "http://www.auto-hotkey.com/docs/Variables.htm#A_Index" for a hotkey command and linking/highlighting that also.
User avatar
tank
Posts: 3129
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: Code box font

11 Oct 2013, 14:11

Code: Select all

;Trying to display A_Index
hotkey.com/docs/Variables.htm#A_Index">A_Index
thanks i disabled keyword_links for now which was the default. I had enabled that as an experiment
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
smorgasbord
Posts: 493
Joined: 30 Sep 2013, 09:34

Re: Code box font

11 Oct 2013, 14:13

code box is awesome now on firefox on windows 7 ultimate
John ... you working ?
lexikos
Posts: 9629
Joined: 30 Sep 2013, 04:07
Contact:

Re: Code box font

11 Oct 2013, 18:32

All that empty space is a bit unusual. Could you replace height with max-height? It appears to be set both in .codecontent and inline. Currently when you "expand" the box, the empty space disappears...

I'm not a fan of the dotted line between each code line. I think it makes the code look more "noisy".

Also, bright green on white is pretty terrible, but that can wait.
User avatar
tank
Posts: 3129
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: Code box font

11 Oct 2013, 21:18

i was waiting for any comment about the dotted line so i could remove it with a clean conscience
let me know what you think about the recent changes
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter

Return to “Forum Issues”

Who is online

Users browsing this forum: No registered users and 26 guests