From: mits Date: Sat, 24 May 2003 11:30:58 +0000 (+0000) Subject: text-decoration: underline problem fixed. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0c59a23c6792bd07c9a44ac9cf97f90160b8700f;p=moodle.git text-decoration: underline problem fixed. copy theme->standard->styles.php to theme->oceanblue->styles.php and changed a:link, a:visited, a:hover --- diff --git a/theme/oceanblue/styles.php b/theme/oceanblue/styles.php index 936bba2da6..07e4e559dc 100644 --- a/theme/oceanblue/styles.php +++ b/theme/oceanblue/styles.php @@ -1,10 +1,10 @@ -theme = $themename; @@ -12,228 +12,126 @@ $themeurl = "$CFG->wwwroot/theme/$CFG->theme"; -/// From here on it's nearly a normal stylesheet. +/// From here on it's nearly a normal stylesheet. /// First are some CSS definitions for normal tags, /// then custom tags follow. /// -/// Note that colours are all defined in config.php -/// in this directory +/// New classes always get added to the end of the file. +/// +/// Note that a group of standard colours are all +/// defined in config.php in this directory. The +/// reason for this is because Moodle uses the same +/// colours to provide oldstyle formatting for +/// browsers without CSS. +/// +/// You can hardcode colours in this file if you +/// don't care about this. ?> -a:link {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; - - text-decoration: none; - - color: 0000CC;} - -a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; - - text-decoration: none; - - color: 0000CC;} - -a:hover {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; - - text-decoration: none; - - color: FF0000;} - - - -body {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} - - - -p {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} - - - -h1 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} - - - -h2 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} - - - -h3 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} - - - -h4 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} - - - -th {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; - - font-weight: bold; - - background-color: cellheading?>;} - +body, td, th, li { + font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; +} -td {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} +th { + font-weight: bold; + background-color: cellheading?>; +} +a:link { + text-decoration: none; + color: 0000CC; +} +a:visited { + text-decoration: none; + color: 0000CC; +} -li {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} +a:hover { + text-decoration: underline; + color: FF0000; +} +form { + margin-bottom: 0; +} -form { margin-bottom: 0; } .highlight { - background-color: highlight?>; - } - - .headingblock { - background-image: url(/gradient.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; - } - - .navbar { - background-image: url(/gradient.jpg); - -} - - - -.generalbox { - - border-width: 1px; - - border-color: borders?>; - - border-style: solid; - } - - .generaltable { - } - - .generaltableheader { - background-image: url(/gradient.jpg); - } - - .generaltablecell { - } - - .sideblock { - border-width: 1px; - border-color: borders?>; - border-style: solid; - } - - .sideblockheading { - background-image: url(/gradient.jpg); - } - - .sideblockmain { - } - - .sideblocklinks { - } - - .sideblocklatestnews { - } - - .sideblockrecentactivity { - } - - .outlineheadingblock { - background-image: url(/gradient.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; - } - - .forumpost { - border-width: 1px; - border-color: borders?>; - border-style: solid; - } - - - .forumpostpicture { - } - - .forumpostside { - } - - .forumpostmessage { - } + .weeklyoutline { } @@ -318,22 +216,20 @@ form { margin-bottom: 0; } color: cellheading2?>; } - a.dimmed:link { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:visited { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:hover { text-decoration: underline; color: red; } - .dimmed_text { color: #AAAAAA; }