use <main>

This commit is contained in:
Adam Bradley
2013-08-24 20:48:37 -05:00
parent d9f1c23ee1
commit a1bc08b87e
6 changed files with 225 additions and 22 deletions

View File

@ -75,9 +75,9 @@
/* Pad top/bottom of content so it doesn't hide behind .bar-title and .bar-tab.
Note: For these to work, content must come after both bars in the markup */
.bar ~ .content {
.bar ~ main {
top: $barHeight;
}
.bar ~ .content {
.bar ~ main {
bottom: $barHeight;
}

View File

@ -21,7 +21,7 @@ a {
ul { margin: 0; padding: 0; }
.content {
main {
position: fixed;
top: 0;
right: 0;
@ -35,7 +35,7 @@ ul { margin: 0; padding: 0; }
/* Hack to force all relatively and absolutely positioned elements still render while scrolling
Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */
.content > * {
main > * {
-webkit-transform: translateZ(0px);
transform: translateZ(0px);
}