Skip to content

Commit

Permalink
Accessibility: course .headingblock is now H2; .sideblock .header is …
Browse files Browse the repository at this point in the history
…now H2; .sideblock <table> is now <ul> (+ commented code for 'skip block link').
  • Loading branch information
nfreear committed Feb 28, 2006
1 parent 062f112 commit 72d7872
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
3 changes: 3 additions & 0 deletions theme/standard/styles_fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ table.minicalendar {
font-size:1.1em;
}

h2.headingblock {
font-size:1.1em;
}



Expand Down
33 changes: 30 additions & 3 deletions theme/standard/styles_layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -379,19 +379,45 @@ table.flexible th.c0 {
/***
*** Blocks
***/

/*TODO (nfreear): Initially make link 'invisible' to visual users. Breaks - why? */
a.skip-block, .skip-block {
font-weight:normal;
font-size:0.8em;
color:white;
background-color:white;
/*
display:block;
width:6em;
float:right;
*/
}
.skip-block-to {
font-size:1px;
}

ul.list, ul.list li {
list-style-type:none;
padding:0%;
margin:0%;
text-indent:0%;
}

.sideblock .content h3,
.sideblock .content h2 {
text-align: left;
margin:0%;
padding:0%;
}

.sideblock {
margin-bottom:1em;
width: 100%;
}

.sideblock .header {
.sideblock .header, .sideblock h2.header {
text-align: left;
margin:0%;
padding:4px;
border-width: 1px;
border-style: solid;
Expand Down Expand Up @@ -828,10 +854,11 @@ body#course-user .section h2 {
}


.headingblock {
.headingblock, h2.headingblock {
border-width:1px;
border-style:solid;
padding:5px;
padding:5px;
margin:0%;
}

.headingblock .link {
Expand Down

0 comments on commit 72d7872

Please sign in to comment.