Added LI tag (not cascading)
authormoodler <moodler>
Fri, 13 Dec 2002 17:01:16 +0000 (17:01 +0000)
committermoodler <moodler>
Fri, 13 Dec 2002 17:01:16 +0000 (17:01 +0000)
theme/standard/styles.php
theme/standardblue/styles.php
theme/standardgreen/styles.php
theme/standardlogo/styles.php
theme/standardred/styles.php

index 37ef74a..2500203 100644 (file)
 ?>\r
 \r
 \r
-body, td, th {\r
+body, td, th, li {\r
     font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
 }\r
 \r
+th {\r
+    font-weight: bold; \r
+    background-color: <?PHP echo $THEME->cellheading?>;\r
+}\r
+\r
 a:link {\r
     text-decoration: none; \r
     color: blue;\r
@@ -47,11 +52,6 @@ a:hover {
     color: red;\r
 }\r
 \r
-th {\r
-    font-weight: bold; \r
-    background-color: <?PHP echo $THEME->cellheading?>;\r
-}\r
-\r
 form { \r
     margin-bottom: 0;\r
 }\r
index 30cac48..2500203 100644 (file)
 \r
 /// From here on it's nearly a normal stylesheet.\r
 /// First are some CSS definitions for normal tags, \r
-/// then custom tags follow.\r
+/// then custom tags follow.  \r
 ///\r
-/// Note that colours are all defined in config.php\r
-/// in this directory\r
+/// New classes always get added to the end of the file.\r
+///\r
+/// Note that a group of standard colours are all \r
+/// defined in config.php in this directory.  The\r
+/// reason for this is because Moodle uses the same\r
+/// colours to provide oldstyle formatting for \r
+/// browsers without CSS.\r
+///\r
+/// You can hardcode colours in this file if you \r
+/// don't care about this.\r
 \r
 ?>\r
 \r
-body {\r
+\r
+body, td, th, li {\r
     font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture1.jpg);\r
 }\r
 \r
-td, th {\r
-    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
+th {\r
+    font-weight: bold; \r
+    background-color: <?PHP echo $THEME->cellheading?>;\r
 }\r
 \r
 a:link {\r
@@ -43,52 +52,34 @@ a:hover {
     color: red;\r
 }\r
 \r
-th {\r
-    font-weight: bold; \r
-    background-color: <?PHP echo $THEME->cellheading?>;\r
-}\r
-\r
-ul {\r
-   margin-bottom: 5px;\r
-   margin-top: 0px;\r
-}\r
-\r
 form { \r
     margin-bottom: 0;\r
 }\r
 \r
 \r
 \r
+\r
+\r
 .highlight {\r
     background-color: <?PHP echo $THEME->highlight?>;\r
 }\r
 \r
 .headingblock {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
 .navbar {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-}\r
-\r
-.generalbox {\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
-}\r
-\r
-.generalboxcontent {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .generaltable {\r
 }\r
 \r
 .generaltableheader {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .generaltablecell {\r
@@ -101,131 +92,98 @@ form {
 }\r
 \r
 .sideblockheading {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .sideblockmain {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblocklinks {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblocklatestnews {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblockrecentactivity {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
-.siteinfo {\r
+.outlineheadingblock {\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
-.siteinfocontent {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-}\r
-\r
-.outlineheadingblock {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+.forumpost {\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
+.forumpostheader {\r
+}\r
+\r
+.forumpostheadertopic {\r
+}\r
+\r
+.forumpostpicture {\r
+}\r
+\r
+.forumpostside {\r
+}\r
+\r
+.forumpostmessage {\r
+}\r
+\r
+\r
 .weeklyoutline {\r
 }\r
 \r
 .weeklyoutlineside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinesidehighlight {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinecontent {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinecontenthighlight {\r
-    background: #FDFBF1;\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
+\r
 .topicsoutline {\r
 }\r
 \r
 .topicsoutlineside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinesidehighlight {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinecontent {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinecontenthighlight {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 \r
-.forumpost {\r
+.siteinfo {\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
-.forumpostheader {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.siteinfocontent {\r
 }\r
 \r
-.forumpostheadertopic {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-}\r
 \r
-.forumpostpicture {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.generalbox {\r
+    border-width: 1px;\r
+    border-color: <?PHP echo $THEME->borders?>;\r
+    border-style: solid;\r
 }\r
 \r
-.forumpostside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.generalboxcontent {\r
 }\r
 \r
-.forumpostmessage {\r
-}\r
index 30cac48..2500203 100644 (file)
 \r
 /// From here on it's nearly a normal stylesheet.\r
 /// First are some CSS definitions for normal tags, \r
-/// then custom tags follow.\r
+/// then custom tags follow.  \r
 ///\r
-/// Note that colours are all defined in config.php\r
-/// in this directory\r
+/// New classes always get added to the end of the file.\r
+///\r
+/// Note that a group of standard colours are all \r
+/// defined in config.php in this directory.  The\r
+/// reason for this is because Moodle uses the same\r
+/// colours to provide oldstyle formatting for \r
+/// browsers without CSS.\r
+///\r
+/// You can hardcode colours in this file if you \r
+/// don't care about this.\r
 \r
 ?>\r
 \r
-body {\r
+\r
+body, td, th, li {\r
     font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture1.jpg);\r
 }\r
 \r
-td, th {\r
-    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
+th {\r
+    font-weight: bold; \r
+    background-color: <?PHP echo $THEME->cellheading?>;\r
 }\r
 \r
 a:link {\r
@@ -43,52 +52,34 @@ a:hover {
     color: red;\r
 }\r
 \r
-th {\r
-    font-weight: bold; \r
-    background-color: <?PHP echo $THEME->cellheading?>;\r
-}\r
-\r
-ul {\r
-   margin-bottom: 5px;\r
-   margin-top: 0px;\r
-}\r
-\r
 form { \r
     margin-bottom: 0;\r
 }\r
 \r
 \r
 \r
+\r
+\r
 .highlight {\r
     background-color: <?PHP echo $THEME->highlight?>;\r
 }\r
 \r
 .headingblock {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
 .navbar {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-}\r
-\r
-.generalbox {\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
-}\r
-\r
-.generalboxcontent {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .generaltable {\r
 }\r
 \r
 .generaltableheader {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .generaltablecell {\r
@@ -101,131 +92,98 @@ form {
 }\r
 \r
 .sideblockheading {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .sideblockmain {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblocklinks {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblocklatestnews {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblockrecentactivity {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
-.siteinfo {\r
+.outlineheadingblock {\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
-.siteinfocontent {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-}\r
-\r
-.outlineheadingblock {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+.forumpost {\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
+.forumpostheader {\r
+}\r
+\r
+.forumpostheadertopic {\r
+}\r
+\r
+.forumpostpicture {\r
+}\r
+\r
+.forumpostside {\r
+}\r
+\r
+.forumpostmessage {\r
+}\r
+\r
+\r
 .weeklyoutline {\r
 }\r
 \r
 .weeklyoutlineside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinesidehighlight {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinecontent {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinecontenthighlight {\r
-    background: #FDFBF1;\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
+\r
 .topicsoutline {\r
 }\r
 \r
 .topicsoutlineside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinesidehighlight {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinecontent {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinecontenthighlight {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 \r
-.forumpost {\r
+.siteinfo {\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
-.forumpostheader {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.siteinfocontent {\r
 }\r
 \r
-.forumpostheadertopic {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-}\r
 \r
-.forumpostpicture {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.generalbox {\r
+    border-width: 1px;\r
+    border-color: <?PHP echo $THEME->borders?>;\r
+    border-style: solid;\r
 }\r
 \r
-.forumpostside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.generalboxcontent {\r
 }\r
 \r
-.forumpostmessage {\r
-}\r
index 30cac48..2500203 100644 (file)
 \r
 /// From here on it's nearly a normal stylesheet.\r
 /// First are some CSS definitions for normal tags, \r
-/// then custom tags follow.\r
+/// then custom tags follow.  \r
 ///\r
-/// Note that colours are all defined in config.php\r
-/// in this directory\r
+/// New classes always get added to the end of the file.\r
+///\r
+/// Note that a group of standard colours are all \r
+/// defined in config.php in this directory.  The\r
+/// reason for this is because Moodle uses the same\r
+/// colours to provide oldstyle formatting for \r
+/// browsers without CSS.\r
+///\r
+/// You can hardcode colours in this file if you \r
+/// don't care about this.\r
 \r
 ?>\r
 \r
-body {\r
+\r
+body, td, th, li {\r
     font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture1.jpg);\r
 }\r
 \r
-td, th {\r
-    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
+th {\r
+    font-weight: bold; \r
+    background-color: <?PHP echo $THEME->cellheading?>;\r
 }\r
 \r
 a:link {\r
@@ -43,52 +52,34 @@ a:hover {
     color: red;\r
 }\r
 \r
-th {\r
-    font-weight: bold; \r
-    background-color: <?PHP echo $THEME->cellheading?>;\r
-}\r
-\r
-ul {\r
-   margin-bottom: 5px;\r
-   margin-top: 0px;\r
-}\r
-\r
 form { \r
     margin-bottom: 0;\r
 }\r
 \r
 \r
 \r
+\r
+\r
 .highlight {\r
     background-color: <?PHP echo $THEME->highlight?>;\r
 }\r
 \r
 .headingblock {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
 .navbar {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-}\r
-\r
-.generalbox {\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
-}\r
-\r
-.generalboxcontent {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .generaltable {\r
 }\r
 \r
 .generaltableheader {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .generaltablecell {\r
@@ -101,131 +92,98 @@ form {
 }\r
 \r
 .sideblockheading {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .sideblockmain {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblocklinks {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblocklatestnews {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblockrecentactivity {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
-.siteinfo {\r
+.outlineheadingblock {\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
-.siteinfocontent {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-}\r
-\r
-.outlineheadingblock {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+.forumpost {\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
+.forumpostheader {\r
+}\r
+\r
+.forumpostheadertopic {\r
+}\r
+\r
+.forumpostpicture {\r
+}\r
+\r
+.forumpostside {\r
+}\r
+\r
+.forumpostmessage {\r
+}\r
+\r
+\r
 .weeklyoutline {\r
 }\r
 \r
 .weeklyoutlineside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinesidehighlight {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinecontent {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinecontenthighlight {\r
-    background: #FDFBF1;\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
+\r
 .topicsoutline {\r
 }\r
 \r
 .topicsoutlineside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinesidehighlight {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinecontent {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinecontenthighlight {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 \r
-.forumpost {\r
+.siteinfo {\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
-.forumpostheader {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.siteinfocontent {\r
 }\r
 \r
-.forumpostheadertopic {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-}\r
 \r
-.forumpostpicture {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.generalbox {\r
+    border-width: 1px;\r
+    border-color: <?PHP echo $THEME->borders?>;\r
+    border-style: solid;\r
 }\r
 \r
-.forumpostside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.generalboxcontent {\r
 }\r
 \r
-.forumpostmessage {\r
-}\r
index 30cac48..2500203 100644 (file)
 \r
 /// From here on it's nearly a normal stylesheet.\r
 /// First are some CSS definitions for normal tags, \r
-/// then custom tags follow.\r
+/// then custom tags follow.  \r
 ///\r
-/// Note that colours are all defined in config.php\r
-/// in this directory\r
+/// New classes always get added to the end of the file.\r
+///\r
+/// Note that a group of standard colours are all \r
+/// defined in config.php in this directory.  The\r
+/// reason for this is because Moodle uses the same\r
+/// colours to provide oldstyle formatting for \r
+/// browsers without CSS.\r
+///\r
+/// You can hardcode colours in this file if you \r
+/// don't care about this.\r
 \r
 ?>\r
 \r
-body {\r
+\r
+body, td, th, li {\r
     font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture1.jpg);\r
 }\r
 \r
-td, th {\r
-    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
+th {\r
+    font-weight: bold; \r
+    background-color: <?PHP echo $THEME->cellheading?>;\r
 }\r
 \r
 a:link {\r
@@ -43,52 +52,34 @@ a:hover {
     color: red;\r
 }\r
 \r
-th {\r
-    font-weight: bold; \r
-    background-color: <?PHP echo $THEME->cellheading?>;\r
-}\r
-\r
-ul {\r
-   margin-bottom: 5px;\r
-   margin-top: 0px;\r
-}\r
-\r
 form { \r
     margin-bottom: 0;\r
 }\r
 \r
 \r
 \r
+\r
+\r
 .highlight {\r
     background-color: <?PHP echo $THEME->highlight?>;\r
 }\r
 \r
 .headingblock {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
 .navbar {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-}\r
-\r
-.generalbox {\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
-}\r
-\r
-.generalboxcontent {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .generaltable {\r
 }\r
 \r
 .generaltableheader {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .generaltablecell {\r
@@ -101,131 +92,98 @@ form {
 }\r
 \r
 .sideblockheading {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
 }\r
 \r
 .sideblockmain {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblocklinks {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblocklatestnews {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
 .sideblockrecentactivity {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
 }\r
 \r
-.siteinfo {\r
+.outlineheadingblock {\r
+    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
-.siteinfocontent {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-}\r
-\r
-.outlineheadingblock {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
+.forumpost {\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
+.forumpostheader {\r
+}\r
+\r
+.forumpostheadertopic {\r
+}\r
+\r
+.forumpostpicture {\r
+}\r
+\r
+.forumpostside {\r
+}\r
+\r
+.forumpostmessage {\r
+}\r
+\r
+\r
 .weeklyoutline {\r
 }\r
 \r
 .weeklyoutlineside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinesidehighlight {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinecontent {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .weeklyoutlinecontenthighlight {\r
-    background: #FDFBF1;\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
+\r
 .topicsoutline {\r
 }\r
 \r
 .topicsoutlineside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinesidehighlight {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-    border-width: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinecontent {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 .topicsoutlinecontenthighlight {\r
-    border-width: 0px;\r
-    border-top: 1px;\r
-    border-bottom: 1px;\r
-    border-color: <?PHP echo $THEME->borders?>;\r
-    border-style: solid;\r
 }\r
 \r
 \r
-.forumpost {\r
+.siteinfo {\r
     border-width: 1px;\r
     border-color: <?PHP echo $THEME->borders?>;\r
     border-style: solid;\r
 }\r
 \r
-.forumpostheader {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.siteinfocontent {\r
 }\r
 \r
-.forumpostheadertopic {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
-}\r
 \r
-.forumpostpicture {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.generalbox {\r
+    border-width: 1px;\r
+    border-color: <?PHP echo $THEME->borders?>;\r
+    border-style: solid;\r
 }\r
 \r
-.forumpostside {\r
-    background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
+.generalboxcontent {\r
 }\r
 \r
-.forumpostmessage {\r
-}\r