Sublime Forum

Bad visible preformatted text on this forum

#1

In my previous post I make a preformatted text (Ctrl+Shift+C) phrases Chernykh, Sasha Chernykh and Sasha Chernykh, forward. But it is badly visible that these phrases were allocated as preformatted text.

I offer that colors differed more accurately.

I tested on:

  • Windows 10.0.14393
  • Firefox 49.0
  • Chrome 52.0.2743.116

Thanks.

2 Likes

API web page: add a side bar!
#2
4 Likes

#3

Thank you! This problem will be solved? Perhaps the problem is solved by Stylish, but I think it is good discernible color should be by default.

(I’m sorry, I always used Google, but sometimes I don’t find thread, which you find. Example of my queries:

bad code visible site:forum.sublimetext.com
bad preformatted text site:forum.sublimetext.com)

Thanks.

0 Likes

#4

I searched on the forums directly for: “code block color”, and I remembered the user that mentioned it before :slight_smile: https://forum.sublimetext.com/search?q=code%20block%20color%20user%3Afico

1 Like

#5

If you don’t glad this problem, you may add your own styles. Example of Stylish styles:

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("forum.sublimetext.com") {
    code,
    pre code,
    p > code,
    li > code,
    pre > code {
        background: linen;
    }
}

Demonstration:

You may change linen to your preferable color.

But I think, that we need solve this problem in a forum engine.

Thanks.

1 Like

#6

I love this solution! I’ve often got something to tweak on websites. But I’m using Google Chrome. So here’s what I’ve come up with:

User css

Live changes, emmet completions, different color schemes.

Oh, and if anyone is interested:

code {
  background: #eee !important;
  padding: 2px;
  border-radius: 3px;
}

pre > code {
  background: #F8F8F8 !important;
}
0 Likes

#7

@math2001,

I think, blockqoute on this forum also have a bad color, that’s better:

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("forum.sublimetext.com") {
    code,
    pre code,
    p > code,
    li > code,
    pre > code {
        background: linen;
    }
    blockquote {
        background: honeydew;
    }
    aside.quote .title {
        background: oldlace;
    }
}

Thanks.

1 Like