From: Mike N. <mh...@us...> - 2004-05-26 03:46:56
|
Update of /cvsroot/phpwebsite-comm/themes/debug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27667 Modified Files: blue-style.css theme.php Added Files: core-style.css orange-style.css Log Message: Got alternate theme sample working properly Index: theme.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/themes/debug/theme.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** theme.php 25 May 2004 19:19:06 -0000 1.6 --- theme.php 26 May 2004 03:46:31 -0000 1.7 *************** *** 4,8 **** header("Content-Language: en-US"); $THEME["XML"] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; ! $THEME["XML_STYLE"] = "<?xml-stylesheet alternate=\"yes\" title=\"Blue\" href=\"./themes/Default/blue-style.css\" type=\"text/css\"?>\n<?xml-stylesheet title=\"Orange\" href=\"./themes/Default/style.css\" type=\"text/css\"?>"; $THEME["DOCTYPE"] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"; $THEME["XHTML"] = "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en-US\">"; --- 4,8 ---- header("Content-Language: en-US"); $THEME["XML"] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; ! $THEME["XML_STYLE"] = "<?xml-stylesheet alternate=\"yes\" title=\"Blue\" href=\"./themes/Default/blue-style.css\" type=\"text/css\"?>\n<?xml-stylesheet title=\"Orange\" href=\"./themes/Default/orange-style.css\" type=\"text/css\"?>\n<?xml-stylesheet href=\"./themes/Default/core-style.css\" type=\"text/css\"?>"; $THEME["DOCTYPE"] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"; $THEME["XHTML"] = "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en-US\">"; --- NEW FILE: core-style.css --- BODY { font-size : 1em; font-family : Arial, Helvetica, sans-serif; font-weight : normal; color : #000000; background-color : white; margin : 0 0 0 0; padding : 0 0 0 0; width : auto; } H1 { font-family : Arial, Helvetica, sans-serif; font-style : normal; font-variant : normal; font-weight : bold; font-size : 1.2em; color : #000000; background-color : transparent; } p { font-size : .9em; font-family : Arial, Helvetica, sans-serif; } .smalltext { font-family : Arial, Helvetica, sans-serif; font-style : normal; font-variant : normal; font-weight : normal; font-size : .9em; } .smalltext a:link{ font-family : Arial, Helvetica, sans-serif; font-style : normal; font-variant : normal; font-weight : normal; } .smalltext a:visited{ font-family : Arial, Helvetica, sans-serif; font-style : normal; font-variant : normal; font-weight : normal; } .noline a:link{ text-decoration : none; } .noline a:visited{ text-decoration : none; } .largetext { font-family : Arial, Helvetica, sans-serif; font-style : normal; font-variant : normal; font-weight : normal; font-size : 1.2em; } .largetext a:link{ font-family : Arial, Helvetica, sans-serif; font-style : normal; font-variant : normal; font-weight : normal; font-size : 1.2em; } .largetext a:visited{ font-family : Arial, Helvetica, sans-serif; font-style : normal; font-variant : normal; font-weight : normal; font-size : 1.2em; } .errortext { font-family : Arial, Helvetica, sans-serif; font-size : .9em; color : red; font-weight : bold; } .grid { border : #efb240 .05em solid; } --- NEW FILE: orange-style.css --- .white { background-color : white; } .black { background-color : black; } .bg_dark { background-color : #d8860a; } .bg_medium { background-color : #efb240; } .bg_light { background-color : #f7ca88; } .alt_bg_dark { background-color : #066fa0; } .alt_bg_medium { background-color : #2794d8; } .alt_bg_light { background-color : #5fb0d8; } Index: blue-style.css =================================================================== RCS file: /cvsroot/phpwebsite-comm/themes/debug/blue-style.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** blue-style.css 24 May 2004 16:49:03 -0000 1.1 --- blue-style.css 26 May 2004 03:46:31 -0000 1.2 *************** *** 1,96 **** - BODY { - font-size : 1em; - font-family : Arial, Helvetica, sans-serif; - font-weight : normal; - color : #000000; - background-color : white; - margin : 0 0 0 0; - padding : 0 0 0 0; - width : auto; - } - - H1 { - font-family : Arial, Helvetica, sans-serif; - font-style : normal; - font-variant : normal; - font-weight : bold; - font-size : 1.2em; - color : #000000; - background-color : transparent; - } - - p { - font-size : .9em; - font-family : Arial, Helvetica, sans-serif; - - } - - .smalltext { - font-family : Arial, Helvetica, sans-serif; - font-style : normal; - font-variant : normal; - font-weight : normal; - font-size : .9em; - } - - - .smalltext a:link{ - font-family : Arial, Helvetica, sans-serif; - font-style : normal; - font-variant : normal; - font-weight : normal; - } - - .smalltext a:visited{ - font-family : Arial, Helvetica, sans-serif; - font-style : normal; - font-variant : normal; - font-weight : normal; - } - - .noline a:link{ - text-decoration : none; - } - - .noline a:visited{ - text-decoration : none; - } - - - .largetext { - font-family : Arial, Helvetica, sans-serif; - font-style : normal; - font-variant : normal; - font-weight : normal; - font-size : 1.2em; - } - - .largetext a:link{ - font-family : Arial, Helvetica, sans-serif; - font-style : normal; - font-variant : normal; - font-weight : normal; - font-size : 1.2em; - } - - .largetext a:visited{ - font-family : Arial, Helvetica, sans-serif; - font-style : normal; - font-variant : normal; - font-weight : normal; - font-size : 1.2em; - } - - .errortext { - font-family : Arial, Helvetica, sans-serif; - font-size : .9em; - color : red; - font-weight : bold; - } - - .grid { - border : #efb240 .05em solid; - } - .white { background-color : white; --- 1,2 ---- |