From 986f093fefb6c93b5f93e286cea1fa9f564eb76e Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 2 Feb 2007 07:39:40 +0000 Subject: [PATCH] Fixing some alignment of categry boxes on front page --- index.php | 8 ++++---- theme/standard/styles_layout.css | 13 +++++++++++++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 43b6618744..760522be15 100644 --- a/index.php +++ b/index.php @@ -229,18 +229,18 @@ case FRONTPAGECATEGORYNAMES: print_heading_block(get_string('categories')); - print_simple_box_start('center', '100%', '', 5, 'categorybox'); + print_box_start('generalbox categorybox'); print_whole_category_list(NULL, NULL, NULL, -1, false); - print_simple_box_end(); + print_box_end(); print_course_search('', false, 'short'); break; case FRONTPAGECATEGORYCOMBO: print_heading_block(get_string('categories')); - print_simple_box_start('center', '100%', '', 5, 'categorybox'); + print_box_start('generalbox categorybox'); print_whole_category_list(NULL, NULL, NULL, -1, true); - print_simple_box_end(); + print_box_end(); print_course_search('', false, 'short'); break; diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 530636f796..1b850e7187 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -235,6 +235,11 @@ img.grouppicture { margin-left:3em; } +#help .closewindow, +#help .helpindex { + text-align: center; +} + .tabledivider { border-width:1px; border-style:solid; @@ -328,6 +333,10 @@ form.popupform { vertical-align: top; } +.groupmanagementtable p { + text-align: center; +} + .groupmanagementtable select { width:200px; } @@ -1558,6 +1567,10 @@ body#course-index .singlebutton { padding-bottom:10px; } +#coursesearch { + text-align:center; +} + .addcoursebutton { text-align:center; } -- 2.39.5