Tyche asked:

Why are comments in code examples barely readable?

Can you change the background color on the code examples here at Oxyliquit? It's almost impossible to read comments. In your /css/syntax.css...

div.code .comment {
color: #5f5960; /* dark greyish */
font-style: italic;
}

You could change it to #f7f27f light yellow or something, or not...
*shrug*

(3 attempts)

manveru answered:

# i have no idea...

class Manveru
  def clueless?
    !!@clue
  end
end

Manveru.new.clueless?
# => true

# but i think using < code ></ code > helps sometimes :)
# don't use the spaces in the tags, is only to fool the parser

Rating: 4

Tyche answered:

I noticed the proposed change above in the question only works for Syntax, but it didn't take because you are using CodeRay. The styles for comments are defined later in the css file...

/* CodeRay */
div.code .c {
    color: #5f5960; /* dark greyish */
    font-style: italic;
}

Rating: 0

Kashia answered:

Name's Grok, will work for food.

Would be my first reaction (meaning, give me a .css for the code and I will happily integrate it.) or

Duh...

Which was provided to me from #nitro on how to answer this question.

Please rename the question title to:

  • Why are the code examples unreadable?

And add tags:

  • oxyliquit code highlighting css

Thank you for adding a valuable question to the Nitro Q&A system.

Your friendly neighbourhood Oxywtf admin.

Kashia

Rating: 0