[svn r38440] Made that the blue links are colored from the stylesheet.

--HG--
branch : trunk
This commit is contained in:
guido 2007-02-11 03:21:45 +01:00
parent a6fd3c241e
commit 8a60d6ee5c
2 changed files with 7 additions and 2 deletions

View File

@ -74,10 +74,11 @@ class H(html):
super(H.FunctionDescription, self).__init__(fd, ds, fi)
class FunctionDef(html.h2):
style = html.Style(cursor='pointer', color='blue')
style = html.Style(cursor='pointer')
def __init__(self, name, argdesc, **kwargs):
class_ = kwargs.pop('class_', 'funcdef')
super(H.FunctionDef, self).__init__('def %s%s:' % (name, argdesc),
**kwargs)
class_=class_, **kwargs)
class FunctionInfo(html.div):
def __init__(self, valuedesc, csource, callstack, **kwargs):

View File

@ -44,6 +44,10 @@ h2 {
padding-top: 0.5em;
}
h2.funcdef {
color: blue;
}
.code a {
color: blue;
font-weight: bold;