Jump to content

Documentation site : CSS suggestion


jerome
 Share

Recommended Posts

Hello,

 

Imho, it would be nice that, in the documentation site, all the code parts would be displayed with some fixed size fonts.

It would be more readable and would look like the code we write or read in our editors.

In-line syntaxic coloration would be great too.

 

example : I personnaly like the style in Temechon's folders http://pixelcodr.com/tutos/physics/physics.html

or the github coloration also

both are easliy readable

Link to comment
Share on other sites

Hi,

 

Consolas is used in the source code, and it's a fixed size font (https://en.wikipedia.org/wiki/Consolas)

Actually it should be Inconsolata displayed... hmm might be a bug here. Anyway, Inconsolata is also a fixed size font.

 

Inline syntaxic coloration is here too, but maybe the theme used is not visible enough... 

 

But I can change everything :) Feel free to suggest. (The font used on my website for the code is monospace fyi)

Link to comment
Share on other sites

I'm talking only about the tutorial docs (not the API, classes, etc, which are right)

 

Here's a screenshot from my browsers (FF, Chromium or Chrome) with Ubuntu :post-5453-0-43783800-1446796346.png

 

 

 

As you can see, the code parts in the tutorial text don't use a fixed size font.

 

However the Consala font is well displayed in my system if I check somewhere else.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...