mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
TODO (other moodlers): propagate change through header.html in other themes.
This commit is contained in:
parent
91247b891f
commit
9fdbbcf768
@ -17,16 +17,17 @@
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
|
||||
if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
@ -230,8 +230,10 @@ form.popupform {
|
||||
#header {
|
||||
}
|
||||
|
||||
.headermain {
|
||||
.headermain, h1.headermain {
|
||||
float:left;
|
||||
margin:0%;
|
||||
padding:0%;
|
||||
}
|
||||
|
||||
.headermenu {
|
||||
|
Loading…
x
Reference in New Issue
Block a user