From 375ba6e52b26f135cb7d5d2a5e23fd9cc81dbb06 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 18 Mar 2008 18:58:29 +0000 Subject: [PATCH] MDL-13968 - Use h2 tag for the question number, as it is better for accessibility --- question/type/question.html | 6 +++--- theme/standard/styles_fonts.css | 4 ++-- theme/standard/styles_layout.css | 14 ++++++++++---- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/question/type/question.html b/question/type/question.html index 416e9ddede..9a076528ae 100644 --- a/question/type/question.html +++ b/question/type/question.html @@ -5,10 +5,10 @@ ?>
- Question - +

Question -

diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index 92aeb01483..5cc0b75500 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -692,8 +692,8 @@ body#grade-index .grades .header { *** Question ***/ -.que .no { - font-size: 1.2em; +.que .info h2 { + font-size: 1.25em; font-weight: bold; } .que .grade { diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 28479819c7..76a8156275 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -2547,13 +2547,19 @@ body.notes .notesgroup { } .que .info { float: left; - margin: 0.5em 0 0.5em 1.2em; - width: 8%; + margin: 0.5em 0; + width: 11.9%; +} +.que .info h2 { + margin: 0 0 0 0.64em; +} +.que .info div { + margin-left: 1em; } .que .content { float: left; - margin: 0.5em 1.2em 0.5em 0; - width: 85%; + margin: 0.5em 0; + width: 88%; } .que.description .info { display: none; -- 2.39.5