w3c / wai-website-design

WAI Website Design and Redesign
3 stars 7 forks source link

Spacing above h2/other headings #109

Closed yatil closed 6 years ago

yatil commented 6 years ago

Relevant to w3c/wai-intro-accessibility#5

@@link to wiki page@@

shawna-slh commented 6 years ago

[ link to wiki page: https://www.w3.org/WAI/EO/wiki/Redesign_-_October_Revisions#Visual_design ]

Spacing above h2s looks good now. Seems too much above h3s. e.g., see: https://w3c.github.io/wai-older-users/older-users/literature/#summary-of-impact-and-prevalence

yatil commented 6 years ago

@slhenry How much spacing would you like to have above

?

Currently we have these margins (click the assets tab on the bottom):

h1, h2, h3 {
  padding: 0;
  margin: 60px 0 20px;
}

h4, h5, h6 {
  padding: 0;
  margin: 20px 0 10px;
}
yatil commented 6 years ago

Changed to

h1, h2     { margin: 60px 0 20px; }
h3         { margin: 40px 0 20px; }
h4, h5, h6 { margin: 20px 0 10px; }