[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs