[tor-bugs] #2502 [Website]: Current CSS rules break code and tt elements

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Feb 7 08:14:11 UTC 2011


#2502: Current CSS rules break code and tt elements
---------------------+------------------------------------------------------
 Reporter:  rransom  |       Owner:  phobos
     Type:  defect   |      Status:  new   
 Priority:  normal   |   Milestone:        
Component:  Website  |     Version:        
 Keywords:           |      Points:        
   Parent:           |  
---------------------+------------------------------------------------------
 `css/reset.css` sets multiple font style attributes, including `font-
 family`, of many elements (including `code` and `tt`) to `inherit`, which
 causes them to inherit the value of that style attribute on their
 containing elements.  `css/typography.css` then undoes the damage for some
 elements (e.g. `em`, `strong`) by setting their font attributes
 appropriately, but does not fix the `code` and `tt` elements.

 Placing the following CSS rule in css/typography.css would make `code` and
 `tt` elements useful again:

 {{{
 code, tt {
     font-family: Inconsolata, "Lucida Console", "Droid Sans Mono",
 Cousine, Courier, monospace;
 }
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2502>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list