@import 'h5bp/helpers'; @import 'compass/css3'; .topbar { padding: 1.5em 0; text-align: center; @media screen and (min-width: 701px) { padding: 1.5em 6em 1.5em 0; text-align: right; } } .topbar .footer { background-color: #336699; } .topbar p, .topbar .imgframe p { float: left; } //.topbar ul { // display: block; // margin: 3em 0; //} .topbar ul { position: relative; top: 1.8em; clear: left; } .topbar li { text-align: center; } .topbar ul li a, .topbar ul li .selflink { @include inline-block; width: 8em; padding: 1em .5em; background-color: #6699cc; color: white; &:hover { background-color: lightblue; color: #336699; } @media screen and (min-width: 701px) { width: 10em; padding: 1em; } } // FIXME: change topbar inline-block-list padding instead .topbar ul li { padding-left: 0; padding-right: 0; @media screen and (min-width: 701px) { padding-left: .2em; padding-right: .2em; } } #content { width: 96%; max-width: none; margin: 2%; } .inlinepage { position: relative; //set to make inline header position work border: 0; padding: 0; margin: 0 0 1em 0; background-color: transparent; height: 18em; overflow: hidden; } //set to annull style.css .inlinecontent { margin-top: 0; } .inlineheader { display: block; position: absolute; bottom: 0; left: 0; width: 100%; a { font-weight: normal; color: white; background-color: #6699cc; display: block; padding: 0.5em; opacity: 0.8; } } .inlinecontent p { margin-bottom: 0; margin-top: 0; } .inlinefooter, .inlineheader .author, .sidebar, .farbar { @include h5bp-hidden; } //Responsive design @media screen and (max-width: 480px) { #content { width: 100%; margin: 0; } .columns { @include column-count(1); } .inlinepage { margin: 0; } } @media screen and (min-width: 480px) and (max-width: 700px) { .columns { @include column-count(2); } } @media screen and (min-width: 701px) { .columns { @include column-count(3); } }