Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added styles and colour for autolink'ed text
  • Loading branch information
moodler committed Oct 16, 2003
1 parent 1a1370b commit d8ff63f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme/standard/config.php
Expand Up @@ -8,6 +8,7 @@
$THEME->borders = "#555555"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
$THEME->hidden = "#AAAAAA"; // To color things that are hidden
$THEME->autolink = "#EEEEEE"; // To color auto-generated links (eg glossary)

$THEME->custompix = false; // If true, then this theme must have a "pix"
// subdirectory that contains copies of all
Expand Down
17 changes: 17 additions & 0 deletions theme/standard/styles.php
Expand Up @@ -302,3 +302,20 @@
.coursename {
}

a.autolink:link {
text-decoration: none;
color: #000000;
background-color: <?PHP echo $THEME->autolink?>;
}

a.autolink:visited {
text-decoration: none;
color: #000000;
background-color: <?PHP echo $THEME->autolink?>;
}

a.autolink:hover {
text-decoration: underline;
color: red;
}

0 comments on commit d8ff63f

Please sign in to comment.