Author: bugman Date: Thu Oct 12 08:58:43 2006 New Revision: 2627 URL: http://svn.gna.org/viewcvs/relax?rev=2627&view=rev Log: Modification of the CSS file for the API documentation (HTML version). The file 'docs/api/epydoc.css' is being modified so that the links are not underlined, change colour when the mouse is over them, are not in bold, and have the same colouring as the standard http://nmr-relax.com pages. This makes the API documentation pages fit better with the style of http://nmr-relax.com. Modified: 1.2/scons/manuals.py Modified: 1.2/scons/manuals.py URL: http://svn.gna.org/viewcvs/relax/1.2/scons/manuals.py?rev=2627&r1=2626&r2=2627&view=diff ============================================================================== --- 1.2/scons/manuals.py (original) +++ 1.2/scons/manuals.py Thu Oct 12 08:58:43 2006 @@ -270,6 +270,24 @@ # System call. system(epydoc_cmd) + + + # Modify the CSS file. + ###################### + + # Open the file. + css_file = open(target + '/epydoc.css', 'a') + + # Header. + css_file.write("\n\n\n\n/* Edward */\n\n") + + # Append the new link style to the end. + css_file.write("a { text-decoration:none; color:#0017aa; font-weight:normal; }\n") + css_file.write("a:hover { color:#316fff; }\n") + + # Close the file. + css_file.close() + # Final print out. print "\n\n\n"