After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 745838 - Do not use highlight class on code snippets
Do not use highlight class on code snippets
Status: RESOLVED FIXED
Product: website
Classification: Infrastructure
Component: developer.gnome.org
current
Other Linux
: Normal normal
: ---
Assigned To: GNOME Web maintainers
GNOME Web maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-08 12:19 UTC by Emmanuele Bassi (:ebassi)
Modified: 2015-03-08 18:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emmanuele Bassi (:ebassi) 2015-03-08 12:19:06 UTC
The current .highlight class used on developer.gnome.org code examples is:

  .highlight { background: yellow; }

This is pretty terrible; the result is an unreadable, unholy flashy yellow background.

The background should either be toned down a bit, or the class should be dropped for the code examples.
Comment 1 Frederic Peters 2015-03-08 18:08:38 UTC
Do you have an URL at hand?
Comment 2 Emmanuele Bassi (:ebassi) 2015-03-08 18:10:38 UTC
https://developer.gnome.org/GtkApplication/ is one of the offending links: http://i.imgur.com/SnDn3uG.png
Comment 3 Emmanuele Bassi (:ebassi) 2015-03-08 18:15:22 UTC
It seems not *all* the HowDoI pages have acquired that tag, which makes the result even more unexpected.
Comment 4 Frederic Peters 2015-03-08 18:32:09 UTC
This should do it; it will be live once the update is run on the server.

commit 4d98b72562304ee5d025e7f888c80ad048163bee
Author: Frédéric Péters <fpeters@0d.be>
Date:   Sun Mar 8 19:29:51 2015 +0100

    skin: import codearea formatting from wiki.gnome.org CSS
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745838